summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/Options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Interpreter/Options.cpp')
-rw-r--r--lldb/source/Interpreter/Options.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/Options.cpp b/lldb/source/Interpreter/Options.cpp
index 60ab1202853..a5896646ed0 100644
--- a/lldb/source/Interpreter/Options.cpp
+++ b/lldb/source/Interpreter/Options.cpp
@@ -362,11 +362,13 @@ Options::GenerateOptionUsage
(
Stream &strm,
CommandObject *cmd,
+ const char *debugger_instance_name,
const char *program_name)
{
lldb::SettableVariableType var_type;
const char *screen_width_str =
- Debugger::GetSettingsController()->GetVariable ("term-width", var_type).GetStringAtIndex(0);
+ Debugger::GetSettingsController()->GetVariable ("term-width", var_type,
+ debugger_instance_name).GetStringAtIndex(0);
uint32_t screen_width = atoi (screen_width_str);
if (screen_width == 0)
screen_width = 80;
OpenPOWER on IntegriCloud