Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <dan@codesourcery.com>
To: Jonas Maebe <jonas.maebe@elis.ugent.be>
Cc: Matthew Gretton-Dann <matthew.gretton-dann@arm.com>, gdb@sourceware.org
Subject: Re: [ARM] Thumb-2 breakpoint size for remote protocol
Date: Mon, 08 Mar 2010 15:20:00 -0000	[thread overview]
Message-ID: <20100308152028.GA5701@caradoc.them.org> (raw)
In-Reply-To: <57297D7B-BB5C-4E0C-ABDA-A306FCB33F07@elis.ugent.be>

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


      reply	other threads:[~2010-03-08 15:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-08 13:34 Matthew Gretton-Dann
2010-03-08 13:43 ` Jonas Maebe
2010-03-08 15:20   ` Daniel Jacobowitz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100308152028.GA5701@caradoc.them.org \
    --to=dan@codesourcery.com \
    --cc=gdb@sourceware.org \
    --cc=jonas.maebe@elis.ugent.be \
    --cc=matthew.gretton-dann@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox