[ARM] Thumb-2 breakpoint size for remote protocol
Jonas Maebe
jonas.maebe@elis.ugent.be
Mon Mar 8 13:43:00 GMT 2010
Hi Matthew :)
On 08 Mar 2010, at 14:33, Matthew Gretton-Dann wrote:
> arm_remote_breakpoint_from_pc (in gdb/arm-tdep.c around line 5121)
> contains the following comment:
>
> if (arm_pc_is_thumb (*pcptr) && *kindptr == 4)
> /* The documented magic value for a 32-bit Thumb-2 breakpoint, so
> that this is not confused with a 32-bit ARM breakpoint. */
> *kindptr = 3;
>
> I can't find the documentation which gives the magic value. Could
> someone direct me to it please?
I guess this is what that comment refers to: http://sourceware.org/gdb/current/onlinedocs/gdb/Architecture_002dSpecific-Protocol-Details.html
Jonas
More information about the Gdb
mailing list