[lldb-dev] gdb-remote to android gdbserver

Jason Molenda jmolenda at apple.com
Mon Aug 26 18:58:58 PDT 2013

On Aug 26, 2013, at 6:34 PM, Virgile Bello <virgile.bello at gmail.com> wrote:

> From what I remember when I tested, hard-coding the ARM registers temporarily + the runtime-length encoding patch (that I will commit soon) was enough to to have a simple address breakpoint working.
> Backtrace didn't, but I didn't bother investigate further.

On Darwin, r7 is used as the frame pointer.  I think other platforms typically use r11?  That could explain the backtracing problems right there.  The g_register_infos table in the ABIMacOSX_arm.cpp ABI plugin and ABIMacOSX_arm::CreateDefaultUnwindPlan().

More information about the lldb-dev mailing list