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

_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to