summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2012-12-12 19:58:40 +0000
committerJim Ingham <jingham@apple.com>2012-12-12 19:58:40 +0000
commitc627682ef7b5c67222c3a08f3e982697feb564d7 (patch)
tree947414007c0eac254436c8e952ac3e00243da590 /lldb/scripts/Python/interface
parente11ab3aafedc9fdaecc5ed5e91741897bd0009cf (diff)
downloadbcm5719-llvm-c627682ef7b5c67222c3a08f3e982697feb564d7.tar.gz
bcm5719-llvm-c627682ef7b5c67222c3a08f3e982697feb564d7.zip
Fixed a few bugs in the "step in" thread plan logic.
Added a "step-in-target" flag to "thread step-in" so if you have something like: Process 28464 stopped * thread #1: tid = 0x1c03, function: main , stop reason = breakpoint 1.1 frame #0: 0x0000000100000e08 a.out`main at main.c:62 61 -> 62 int A6 = complex (a(4), b(5), c(6)); // Stop here to step targetting b and hitting breakpoint. 63 and you want to get into "complex" skipping a, b and c, you can do: (lldb) step -t complex Process 28464 stopped * thread #1: tid = 0x1c03, function: complex , stop reason = step in frame #0: 0x0000000100000d0d a.out`complex at main.c:44 41 42 int complex (int first, int second, int third) 43 { -> 44 return first + second + third; // Step in targetting complex should stop here 45 } 46 47 int main (int argc, char const *argv[]) llvm-svn: 170008
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r--lldb/scripts/Python/interface/SBThread.i3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBThread.i b/lldb/scripts/Python/interface/SBThread.i
index 0401ec13a42..e597c07d2db 100644
--- a/lldb/scripts/Python/interface/SBThread.i
+++ b/lldb/scripts/Python/interface/SBThread.i
@@ -124,6 +124,9 @@ public:
StepInto (lldb::RunMode stop_other_threads = lldb::eOnlyDuringStepping);
void
+ StepInto (const char *target_name, lldb::RunMode stop_other_threads = lldb::eOnlyDuringStepping);
+
+ void
StepOut ();
void
OpenPOWER on IntegriCloud