sim: Ensure GDB interrupts the simulation at an instruction boundary.
Review Request #2540 - Created Nov. 25, 2014 and submitted
| Information | |
|---|---|
| Gabe Black | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 10568:140bd3e1bbc7 --------------------------- sim: Ensure GDB interrupts the simulation at an instruction boundary. Use the comInstEventQueue to ensure GDB interrupts the simulation at an instruction boundary and not in the middle of a macroop, memory access, etc.
Just minor stuff, no need to repost IMO
-
src/base/remote_gdb.cc (Diff revision 1) -
date?
-
src/base/remote_gdb.cc (Diff revision 1) -
I could use a comment here reminding me that, despite the names, this event is actually scheduled for the next committed instruction and not the next tick
Posted (Dec. 4, 2014, 10:59 a.m.)
-
src/base/remote_gdb.hh (Diff revision 1) -
I'd be tempted to rename the other Event class rather than have to disambiguate here, but I understand if you don't want to be that invasive
