diff options
| author | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | 2013-10-18 10:04:33 +0000 |
|---|---|---|
| committer | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | 2013-10-18 10:04:33 +0000 |
| commit | 85a4daf4f609e28a075696ab0738f0e9728335ae (patch) | |
| tree | dbf80e1744aba79dc376cce565b153e932d921fe /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h | |
| parent | eb4003651d97066c55a23cd5fc5d8356beda0de7 (diff) | |
| download | bcm5719-llvm-85a4daf4f609e28a075696ab0738f0e9728335ae.tar.gz bcm5719-llvm-85a4daf4f609e28a075696ab0738f0e9728335ae.zip | |
Adjust PC after hitting breakpoint on remote target.
This commit adds an example python file that can be used with 'target-definition-file' setting for Linux gdbserver.
This file has an extra key 'breakpoint-pc-offset' that LLDB uses to determine how much to change the PC
after hitting the breakpoint.
llvm-svn: 192962
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h')
| -rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h index 86f051040a8..b18ac5b1723 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h @@ -338,6 +338,7 @@ protected: bool m_waiting_for_attach; bool m_destroy_tried_resuming; lldb::CommandObjectSP m_command_sp; + int64_t m_breakpoint_pc_offset; bool StartAsyncThread (); |

