public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
* sidcpuutil.h patch
@ 2001-05-30 12:31 Frank Ch. Eigler
  0 siblings, 0 replies; only message in thread
From: Frank Ch. Eigler @ 2001-05-30 12:31 UTC (permalink / raw)
  To: sid

Hi -

I just committed a few-liner patch to sid/include/sidcpuutil.h,
into the common step_pin_handler() routine.  (That's the one
that calls your favorite target CPU's step_insn() virtual
function.)

The modified routine now checks for pending triggerpoints
(e.g., gdb (hardware) breakpoints) *before* the instruction
evaluation loop is entered.  In the various step_insn()
functions, this is only done *after* every instruction.
This fixes the case of ignored breakpoints when silly gdb
ports insert (hardware) breakpoints at the next PC.

Sorry, all your CPU build trees will feel the deep impact of
recompilation. :-(

- FChE
-- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7FUprVZbdDOm/ZT0RAuHXAJ9FaJuZRU8treZsZuYaZnpgfwdkdACeNML/
4wZjLFWmf3VvyzQotRsRvcM=
=g733
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-05-30 12:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-30 12:31 sidcpuutil.h patch Frank Ch. Eigler

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).