llvm-project/lldb/test/breakpoint_ignore_count
Johnny Chen d61816b5b8 Add TestTargetAPI.py:
// When stopped on breakppint 1, and then 2, we can get the line entries using
// SBFrame API SBFrame.GetLineEntry().  We'll get the start addresses for the
// two line entries; with the start address (of SBAddress type), we can then
// resolve the symbol context using the SBTarget API
// SBTarget.ResolveSymbolContextForAddress().
//
// The two symbol context should point to the same symbol, i.e., 'a' function.


Add two utility functions to lldbutil.py:

o get_stopped_threads(process, reason):

  return the list of threads with the specified stop reason or an empty list if not found

o get_stopped_thread(process, reason):

  return the first thread with the given stop reason or None if not found

llvm-svn: 126916
2011-03-03 01:41:57 +00:00
..
Makefile Add TestBreakpointIgnoreCount.py to exercise the breakpoint ignore count features, 2010-12-13 21:49:58 +00:00
TestBreakpointIgnoreCount.py Add TestTargetAPI.py: 2011-03-03 01:41:57 +00:00
main.c Add TestBreakpointIgnoreCount.py to exercise the breakpoint ignore count features, 2010-12-13 21:49:58 +00:00