aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Interpreter/CommandObject.cpp
diff options
context:
space:
mode:
authorEnrico Granata <granata.enrico@gmail.com>2011-07-08 02:51:01 +0000
committerEnrico Granata <granata.enrico@gmail.com>2011-07-08 02:51:01 +0000
commitfc7a7f3b75f988b628672a4cb50cbdc8be9405bf (patch)
tree3a462016bcc43bb52b2c512849aaa9599a1d2ccb /lldb/source/Interpreter/CommandObject.cpp
parent4d1ca96bfc439cc6d97242c81803f69b39a65e10 (diff)
downloadllvm-fc7a7f3b75f988b628672a4cb50cbdc8be9405bf.zip
llvm-fc7a7f3b75f988b628672a4cb50cbdc8be9405bf.tar.gz
llvm-fc7a7f3b75f988b628672a4cb50cbdc8be9405bf.tar.bz2
final fix for the global constructors issue
new GetValueForExpressionPath() method in ValueObject to navigate expression paths in a more bitfield vs slices aware way changes to the varformats.html document (WIP) llvm-svn: 134679
Diffstat (limited to 'lldb/source/Interpreter/CommandObject.cpp')
-rw-r--r--lldb/source/Interpreter/CommandObject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Interpreter/CommandObject.cpp b/lldb/source/Interpreter/CommandObject.cpp
index 95c0ad6..4449007 100644
--- a/lldb/source/Interpreter/CommandObject.cpp
+++ b/lldb/source/Interpreter/CommandObject.cpp
@@ -469,9 +469,9 @@ CommandObject::GetArgumentHelp (Stream &str, CommandArgumentType arg_type, Comma
StreamString name_str;
name_str.Printf ("<%s>", entry->arg_name);
- if (entry->help_function.help_callback)
+ if (entry->help_function)
{
- const char* help_text = (*entry->help_function.help_callback)();
+ const char* help_text = entry->help_function();
if (!entry->help_function.self_formatting)
{
interpreter.OutputFormattedHelpText (str, name_str.GetData(), "--", help_text,