From: Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
To: pgilliam@us.ibm.com
Cc: gdb@sources.redhat.com, Daniel Jacobowitz <drow@false.org>,
amit bhor <amit.bhor@codito.com>
Subject: Re: RFC : Handling breakpoints on archs. with imprecise exceptions.
Date: Thu, 24 Mar 2005 20:23:00 -0000 [thread overview]
Message-ID: <424321B8.1080004@codito.com> (raw)
In-Reply-To: <200503241153.01472.pgilliam@us.ibm.com>
Hi,
> Isn't this usually handled by the kernel?
How could this be handled by the kernel ? The point is that
one needs to insert 4 instructions in the place of one for a
software breakpoint and the mechanism mentioned in my
earlier mail is possibly one of the methods . (The point is
one cannot ignore the next 3 instructions in the pipeline
since one of them could be a branch to some location , so a
simple DECR_PC_AFTER_BREAK would not necessarily work always )
Addr to set breakpoint: someinsn
b bar
Having said that, could you point me to any kernel that does
this ?
cheers
Ramana
--
Ramana Radhakrishnan
GNU Tools
codito ergo sum (www.codito.com)
next prev parent reply other threads:[~2005-03-24 20:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-24 19:46 Ramana Radhakrishnan
2005-03-24 19:57 ` Paul Gilliam
2005-03-24 20:23 ` Ramana Radhakrishnan [this message]
2005-03-24 21:46 ` Paul Gilliam
2005-03-24 20:37 ` Daniel Jacobowitz
2005-03-24 22:46 ` Ramana Radhakrishnan
2005-03-24 21:30 ` Kevin Buettner
2005-03-24 23:31 Decker, Paul
2005-03-24 23:32 ` 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=424321B8.1080004@codito.com \
--to=ramana.radhakrishnan@codito.com \
--cc=amit.bhor@codito.com \
--cc=drow@false.org \
--cc=gdb@sources.redhat.com \
--cc=pgilliam@us.ibm.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).