[lldb-dev] qHostInfo proposal to add breakpoint pc offset
Todd Fiala
tfiala at google.com
Thu Jun 5 14:00:10 PDT 2014
Might that value be dependent on the type of code that is getting executed?
(e.g. ARM thumb vs. ARM32)? IOW is it really stable for a given host?
On Thu, Jun 5, 2014 at 1:49 PM, Ted Woodward <ted.woodward at codeaurora.org>
wrote:
> 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
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>
>
--
Todd Fiala | Software Engineer | tfiala at google.com | 650-943-3180
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140605/de951118/attachment.html>
More information about the lldb-dev
mailing list