sidcpuutil.h patch

Frank Ch. Eigler fche@redhat.com
Wed May 30 12:31:00 GMT 2001


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


More information about the Sid mailing list