This is the mail archive of the sid@sources.redhat.com mailing list for the SID project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

sidcpuutil.h patch


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]