[Lldb-commits] [PATCH] Implemented "thread jump" built-in command.

Richard Mitton richard at codersnotes.com
Tue Aug 20 14:11:40 PDT 2013


This patch adds a 'jump' command, similar to GDBs.

This allows the PC to be directly changed to a different line.
It's similar to the example python script in examples/python/jump.py, except implemented as a builtin.

Also this version will track the current function correctly even if the target line resolves to multiple addresses. (e.g. debugging a templated function)


http://llvm-reviews.chandlerc.com/D1452

Files:
  source/Commands/CommandObjectThread.cpp
  source/Interpreter/CommandInterpreter.cpp
  test/functionalities/thread/jump/Makefile
  test/functionalities/thread/jump/TestThreadJump.py
  test/functionalities/thread/jump/main.cpp
  test/functionalities/thread/jump/other.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1452.1.patch
Type: text/x-patch
Size: 15513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20130820/fe61fecc/attachment.bin>


More information about the lldb-commits mailing list