diff options
Diffstat (limited to 'lldb/source/Core/Debugger.cpp')
-rw-r--r-- | lldb/source/Core/Debugger.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/Core/Debugger.cpp b/lldb/source/Core/Debugger.cpp index 628d7600448..a25b789f1d4 100644 --- a/lldb/source/Core/Debugger.cpp +++ b/lldb/source/Core/Debugger.cpp @@ -2630,7 +2630,7 @@ DebuggerInstanceSettings::UpdateInstanceSettingsVariable (const ConstString &var if (new_value != UINT32_MAX) m_stop_source_before_count = new_value; else - err.SetErrorStringWithFormat("invalid unsigned string value '%s' for the '%s' setting", value, StopSourceContextAfterName ().GetCString()); + err.SetErrorStringWithFormat("invalid unsigned string value '%s' for the '%s' setting", value, StopSourceContextBeforeName ().GetCString()); } else if (var_name == StopSourceContextAfterName ()) { @@ -2638,7 +2638,7 @@ DebuggerInstanceSettings::UpdateInstanceSettingsVariable (const ConstString &var if (new_value != UINT32_MAX) m_stop_source_after_count = new_value; else - err.SetErrorStringWithFormat("invalid unsigned string value '%s' for the '%s' setting", value, StopSourceContextBeforeName ().GetCString()); + err.SetErrorStringWithFormat("invalid unsigned string value '%s' for the '%s' setting", value, StopSourceContextAfterName ().GetCString()); } else if (var_name == StopDisassemblyCountName ()) { @@ -2703,13 +2703,13 @@ DebuggerInstanceSettings::GetInstanceSettingsValue (const SettingEntry &entry, else if (var_name == StopSourceContextAfterName ()) { StreamString strm; - strm.Printf ("%u", m_stop_source_before_count); + strm.Printf ("%u", m_stop_source_after_count); value.AppendString (strm.GetData()); } else if (var_name == StopSourceContextBeforeName ()) { StreamString strm; - strm.Printf ("%u", m_stop_source_after_count); + strm.Printf ("%u", m_stop_source_before_count); value.AppendString (strm.GetData()); } else if (var_name == StopDisassemblyCountName ()) |