diff options
author | 2024-11-17 08:11:09 -0500 | |
---|---|---|
committer | 2024-11-17 08:11:39 -0500 | |
commit | b1181f86023746b912dfc93ed65122a4cac89f49 (patch) | |
tree | b145145294dd1eb328e2da0ffa85581ac5e93bd0 /src/devices/cpu/nec/v25.cpp | |
parent | 3c6e66e50f3645f619a16c0dc13836273046fc14 (diff) |
diexec: Add callback to allow debugger to break into the middle of wait-type instructions whose execution time is normally indefinite. When this happens, a special message may be printed to the debug console stating the location of the last actual instruction executed before the wait (if there was one).
Note that since the callback ignores the current value of the program counter, this special type of debugger break cannot be entered through breakpoints or instruction stepping commands. The callback also leaves no effect on PC history tracking or trace logs.
* cpu/hd61700, cpu/tms32031: Add standard IRQ callback
* cpu/m68000gen.py: Change name of invoked executable to bin/python3
* cpu/m6809: Eliminate PC "massaging" for SYNC and similar instructions
Diffstat (limited to 'src/devices/cpu/nec/v25.cpp')
-rw-r--r-- | src/devices/cpu/nec/v25.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/nec/v25.cpp b/src/devices/cpu/nec/v25.cpp index 502062a8d6d..fac9865dff7 100644 --- a/src/devices/cpu/nec/v25.cpp +++ b/src/devices/cpu/nec/v25.cpp @@ -784,8 +784,8 @@ void v25_common_device::execute_run() if (m_halted) { + debugger_wait_hook(); m_icount = 0; - debugger_instruction_hook((Sreg(PS)<<4) + m_ip); return; } |