aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectSettings.cpp
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-09-08 22:54:46 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-09-08 22:54:46 +0000
commit30ee4ef3089c97061a2b8d5fc1e0a369682d2a27 (patch)
treee9fd4601c2cd47f05a68d240190944a77691be30 /lldb/source/Commands/CommandObjectSettings.cpp
parent67da50e18dbc93dbc8b70c4270379ea7ca30067f (diff)
downloadllvm-30ee4ef3089c97061a2b8d5fc1e0a369682d2a27.zip
llvm-30ee4ef3089c97061a2b8d5fc1e0a369682d2a27.tar.gz
llvm-30ee4ef3089c97061a2b8d5fc1e0a369682d2a27.tar.bz2
Added a lldbutil.py module, which contains utility functions which can be used
from scripting applications. An example usage from TestConditionalBreak.py is: import lldbutil lldbutil.PrintStackTrace(thread) ./dotest.py -v conditional_break ---------------------------------------------------------------------- Collected 2 tests test_with_dsym (TestConditionalBreak.ConditionalBreakTestCase) Exercise some thread and frame APIs to break if c() is called by a(). ... Stack trace for thread id=0x2e03 name=None queue=com.apple.main-thread: frame #0: a.out`c at main.c:39 frame #1: a.out`b at main.c:34 frame #2: a.out`a at main.c:25 frame #3: a.out`main at main.c:44 frame #4: a.out`start Stack trace for thread id=0x2e03 name=None queue=com.apple.main-thread: frame #0: a.out`c at main.c:39 frame #1: a.out`b at main.c:34 frame #2: a.out`main at main.c:47 frame #3: a.out`start Stack trace for thread id=0x2e03 name=None queue=com.apple.main-thread: frame #0: a.out`c at main.c:39 frame #1: a.out`a at main.c:27 frame #2: a.out`main at main.c:50 frame #3: a.out`start ok test_with_dwarf (TestConditionalBreak.ConditionalBreakTestCase) Exercise some thread and frame APIs to break if c() is called by a(). ... Stack trace for thread id=0x2e03 name=None queue=com.apple.main-thread: frame #0: a.out`c at main.c:39 frame #1: a.out`b at main.c:34 frame #2: a.out`a at main.c:25 frame #3: a.out`main at main.c:44 frame #4: a.out`start Stack trace for thread id=0x2e03 name=None queue=com.apple.main-thread: frame #0: a.out`c at main.c:39 frame #1: a.out`b at main.c:34 frame #2: a.out`main at main.c:47 frame #3: a.out`start Stack trace for thread id=0x2e03 name=None queue=com.apple.main-thread: frame #0: a.out`c at main.c:39 frame #1: a.out`a at main.c:27 frame #2: a.out`main at main.c:50 frame #3: a.out`start ok ---------------------------------------------------------------------- Ran 2 tests in 7.803s OK llvm-svn: 113432
Diffstat (limited to 'lldb/source/Commands/CommandObjectSettings.cpp')
0 files changed, 0 insertions, 0 deletions