This is the mail archive of the
sid@sources.redhat.com
mailing list for the SID project.
sidcpuutil.h patch
- To: sid at sources dot redhat dot com
- Subject: sidcpuutil.h patch
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- Date: Wed, 30 May 2001 15:30:52 -0400
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
PGP signature