This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Fwd: Re: [patch] Add support for ARMv7M devices.
On 15/03/12 17:08, Pedro Alves wrote:
> On 03/15/2012 06:26 AM, Jonathan Larmour wrote:
>> So, just to be clear, if neither the user nor target supplies a tdesc, the
>> block in arm_gdbarch_init() starting with:
>> if (tdesc_has_registers (tdesc))
>> will never be run? If that's the case, no need to answer. Or is
>> arm_gdbarch_init() called a second time after the remote 'g' packet
>> guessing occurs (which has selected a tdesc)?
>
>
> It is called a second time. You can try putting a breakpoint
> there and see what happens.
[snip useful info]
Thanks for that. It'll help me in future (and from the mailing list
archives, hopefully others!).
So back to the topic in hand, is there agreement that the most recent
version of the patch is acceptable? As in the patch contained here:
http://sourceware.org/ml/gdb-patches/2012-03/msg00377.html
Let me know if I should commit it.
Jifl