diff options
author | Caroline Tice <ctice@apple.com> | 2011-01-14 21:09:29 +0000 |
---|---|---|
committer | Caroline Tice <ctice@apple.com> | 2011-01-14 21:09:29 +0000 |
commit | 8f5b2eb1e21f37d8a470fda4c8d1741ceb8b6d81 (patch) | |
tree | c21f0aaa3ff9f64b08e68b3649d98444a1bc1f16 /lldb/source/Commands/CommandObjectSettings.cpp | |
parent | c6c7ca58e4ce298c4f1a9cfa192af3c2ad49a5c6 (diff) | |
download | bcm5719-llvm-8f5b2eb1e21f37d8a470fda4c8d1741ceb8b6d81.tar.gz bcm5719-llvm-8f5b2eb1e21f37d8a470fda4c8d1741ceb8b6d81.zip |
Recent modifications to the Python script interpreter caused some problems
when handling one-liner commands that contain escaped characters. In
order to deal with the new namespace/dictionary stuff, the command was
being embedded within a second string, which messed up the escaping.
This fixes the problem by handling one-liners in a different manner, so they
no longer need to be embedded within another string, and can still be
processed in the proper namespace/dictionary context.
llvm-svn: 123467
Diffstat (limited to 'lldb/source/Commands/CommandObjectSettings.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectSettings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectSettings.cpp b/lldb/source/Commands/CommandObjectSettings.cpp index 9e80fc5360a..0924b9cb231 100644 --- a/lldb/source/Commands/CommandObjectSettings.cpp +++ b/lldb/source/Commands/CommandObjectSettings.cpp @@ -355,10 +355,10 @@ CommandObjectSettingsShow::Execute (Args& command, } else { + StreamString tmp_str; char *type_name = (char *) ""; if (var_type != eSetVarTypeNone) { - StreamString tmp_str; tmp_str.Printf (" (%s)", UserSettingsController::GetTypeString (var_type)); type_name = (char *) tmp_str.GetData(); } |