Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: gdb-patches@sourceware.org
Subject: Re: [rfa] Use a different breakpoint instruction for EABI GNU/Linux
Date: Sun, 13 Nov 2005 18:17:00 -0000	[thread overview]
Message-ID: <20051113181014.GC2635@nevyn.them.org> (raw)
In-Reply-To: <1131801657.9711.0.camel@pc960.cambridge.arm.com>

On Sat, Nov 12, 2005 at 01:20:57PM +0000, Richard Earnshaw wrote:
> On Fri, 2005-11-11 at 22:02, Daniel Jacobowitz wrote:
> > Patches have been posted recently for the Linux kernel to use a different
> > interface for system calls, in which r7 holds the syscall number instead of
> > embedding it in the SWI.  With old-ABI compatibility mode disabled, the
> > kernel never looks in the SWI at all.  Which means that using a SWI
> > to set a breakpoint doesn't work very well.
> > 
> > Since 2003 the kernel has supported these particular undefined instructions
> > (in the reserved space) as breakpoints.  So if we see an EABI binary, assume
> > we have a recent vintage of kernel, and use them.
> > 
> > Tested on arm-none-linux-gnueabi.  OK for HEAD and 6.4?
> 
> OK.

Thanks, committed.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


      reply	other threads:[~2005-11-13 18:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-12  3:18 Daniel Jacobowitz
2005-11-13 17:49 ` Richard Earnshaw
2005-11-13 18:17   ` 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=20051113181014.GC2635@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    /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