From fc7a7f3b75f988b628672a4cb50cbdc8be9405bf Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Fri, 8 Jul 2011 02:51:01 +0000 Subject: 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 --- lldb/source/Interpreter/CommandObject.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lldb/source/Interpreter/CommandObject.cpp') diff --git a/lldb/source/Interpreter/CommandObject.cpp b/lldb/source/Interpreter/CommandObject.cpp index 95c0ad689e4..4449007db6f 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, -- cgit v1.2.3