llvm-project/lldb/source/Breakpoint
Greg Clayton 0c5cd90d63 Added function name types to allow us to set breakpoints by name more
intelligently. The four name types we currently have are:

eFunctionNameTypeFull       = (1 << 1), // The function name.
                                        // For C this is the same as just the name of the function
                                        // For C++ this is the demangled version of the mangled name.
                                        // For ObjC this is the full function signature with the + or
                                        // - and the square brackets and the class and selector
eFunctionNameTypeBase       = (1 << 2), // The function name only, no namespaces or arguments and no class 
                                        // methods or selectors will be searched.
eFunctionNameTypeMethod     = (1 << 3), // Find function by method name (C++) with no namespace or arguments
eFunctionNameTypeSelector   = (1 << 4)  // Find function by selector name (ObjC) names


this allows much more flexibility when setting breakoints:

(lldb) breakpoint set --name main --basename
(lldb) breakpoint set --name main --fullname
(lldb) breakpoint set --name main --method
(lldb) breakpoint set --name main --selector

The default:

(lldb) breakpoint set --name main

will inspect the name "main" and look for any parens, or if the name starts
with "-[" or "+[" and if any are found then a full name search will happen.
Else a basename search will be the default.

Fixed some command option structures so not all options are required when they
shouldn't be.

Cleaned up the breakpoint output summary.

Made the "image lookup --address <addr>" output much more verbose so it shows
all the important symbol context results. Added a GetDescription method to 
many of the SymbolContext objects for the more verbose output.

llvm-svn: 107075
2010-06-28 21:30:43 +00:00
..
Breakpoint.cpp Added function name types to allow us to set breakpoints by name more 2010-06-28 21:30:43 +00:00
BreakpointID.cpp Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
BreakpointIDList.cpp Move Args.{cpp,h} and Options.{cpp,h} to Interpreter where they really belong. 2010-06-15 19:49:27 +00:00
BreakpointList.cpp Add a "thread specification" class that specifies thread specific breakpoints by name, index, queue or TID. 2010-06-16 02:00:15 +00:00
BreakpointLocation.cpp Make an explicit GetThreadSpecNoCreate accessor so you don't have to get the const-ness right to ensure you are not making a copy of the owning breakpoint's ThreadSpec in a breakpoint location. Also change the name from NoCopy to NoCreate since that's clearer. 2010-06-22 21:12:54 +00:00
BreakpointLocationCollection.cpp Add a "thread specification" class that specifies thread specific breakpoints by name, index, queue or TID. 2010-06-16 02:00:15 +00:00
BreakpointLocationList.cpp Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
BreakpointOptions.cpp Added function name types to allow us to set breakpoints by name more 2010-06-28 21:30:43 +00:00
BreakpointResolver.cpp Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
BreakpointResolverAddress.cpp Added function name types to allow us to set breakpoints by name more 2010-06-28 21:30:43 +00:00
BreakpointResolverFileLine.cpp Added function name types to allow us to set breakpoints by name more 2010-06-28 21:30:43 +00:00
BreakpointResolverName.cpp Added function name types to allow us to set breakpoints by name more 2010-06-28 21:30:43 +00:00
BreakpointSite.cpp Add a "thread specification" class that specifies thread specific breakpoints by name, index, queue or TID. 2010-06-16 02:00:15 +00:00
BreakpointSiteList.cpp Add missing include. 2010-06-09 07:47:43 +00:00
Stoppoint.cpp Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
StoppointCallbackContext.cpp Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
StoppointLocation.cpp Add a "thread specification" class that specifies thread specific breakpoints by name, index, queue or TID. 2010-06-16 02:00:15 +00:00
WatchpointLocation.cpp Add a "thread specification" class that specifies thread specific breakpoints by name, index, queue or TID. 2010-06-16 02:00:15 +00:00