* [ARM] Thumb-2 breakpoint size for remote protocol
@ 2010-03-08 13:34 Matthew Gretton-Dann
2010-03-08 13:43 ` Jonas Maebe
0 siblings, 1 reply; 3+ messages in thread
From: Matthew Gretton-Dann @ 2010-03-08 13:34 UTC (permalink / raw)
To: gdb
Hi,
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?
Thanks,
Matt
--
Matthew Gretton-Dann
Principal Engineer - Tools, PD Software
ARM Limited
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [ARM] Thumb-2 breakpoint size for remote protocol
2010-03-08 13:34 [ARM] Thumb-2 breakpoint size for remote protocol Matthew Gretton-Dann
@ 2010-03-08 13:43 ` Jonas Maebe
2010-03-08 15:20 ` Daniel Jacobowitz
0 siblings, 1 reply; 3+ messages in thread
From: Jonas Maebe @ 2010-03-08 13:43 UTC (permalink / raw)
To: Matthew Gretton-Dann; +Cc: gdb
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ARM] Thumb-2 breakpoint size for remote protocol
2010-03-08 13:43 ` Jonas Maebe
@ 2010-03-08 15:20 ` Daniel Jacobowitz
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Jacobowitz @ 2010-03-08 15:20 UTC (permalink / raw)
To: Jonas Maebe; +Cc: Matthew Gretton-Dann, gdb
On Mon, Mar 08, 2010 at 02:43:11PM +0100, Jonas Maebe wrote:
> 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
Yes, that's the one. Matthew, if there's somewhere else you looked
for this that could use a cross-reference, let us know (or feel free
to post a patch :-).
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-03-08 15:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-08 13:34 [ARM] Thumb-2 breakpoint size for remote protocol Matthew Gretton-Dann
2010-03-08 13:43 ` Jonas Maebe
2010-03-08 15:20 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox