From: Richard Earnshaw <rearnsha@gcc.gnu.org>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb-patches@sourceware.org
Subject: Re: [rfa] Use a different breakpoint instruction for EABI GNU/Linux
Date: Sun, 13 Nov 2005 17:49:00 -0000 [thread overview]
Message-ID: <1131801657.9711.0.camel@pc960.cambridge.arm.com> (raw)
In-Reply-To: <20051111220241.GA30323@nevyn.them.org>
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.
R.
next prev parent reply other threads:[~2005-11-12 13:21 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 [this message]
2005-11-13 18:17 ` Daniel Jacobowitz
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=1131801657.9711.0.camel@pc960.cambridge.arm.com \
--to=rearnsha@gcc.gnu.org \
--cc=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