From 8f5b2eb1e21f37d8a470fda4c8d1741ceb8b6d81 Mon Sep 17 00:00:00 2001 From: Caroline Tice Date: Fri, 14 Jan 2011 21:09:29 +0000 Subject: 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 --- lldb/source/Commands/CommandObjectSettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Commands/CommandObjectSettings.cpp') 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(); } -- cgit v1.2.3