[lldb-dev] qHostInfo proposal to add breakpoint pc offset

Ted Woodward ted.woodward at codeaurora.org
Thu Jun 5 13:49:51 PDT 2014


On some architectures, when a breakpoint is hit, the PC is set to a
different value and needs to be adjusted. This is handled in
ProcesGDBRemote.cpp by the variable m_breakpoint_pc_offset. The problem is
this variable is only set via a python target definition file.

 

I propose extending qHostInfo to add bp_pc_decr:<offset>.
m_breakpoint_pc_offset would be set to this signed integer.

 

Ted

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140605/57556950/attachment.html>


More information about the lldb-dev mailing list