diff options
author | 2016-09-27 14:24:33 +0100 | |
---|---|---|
committer | 2016-09-27 14:26:27 +0100 | |
commit | 1a186c8a3a16a7ce99d7df2dd217a7552b696c92 (patch) | |
tree | db6f7a7442ccc924049e3354c8cded6d62071ecd /src/devices/cpu/tms32082 | |
parent | 3957d89e4466d87f86a42597a49db12a7c040520 (diff) |
Make sure all cpu's export STATE_GENPCBASE and use safe_pcbase() for everything in the debugger, which allows interruptible cpu's to work properly. [smf]
Diffstat (limited to 'src/devices/cpu/tms32082')
-rw-r--r-- | src/devices/cpu/tms32082/tms32082.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/devices/cpu/tms32082/tms32082.cpp b/src/devices/cpu/tms32082/tms32082.cpp index baf444dd064..3d788a19aa2 100644 --- a/src/devices/cpu/tms32082/tms32082.cpp +++ b/src/devices/cpu/tms32082/tms32082.cpp @@ -206,7 +206,8 @@ void tms32082_mp_device::device_start() state_add(MP_TCOUNT, "tcount", m_tcount).formatstr("%08X"); state_add(MP_TSCALE, "tscale", m_tscale).formatstr("%08X"); - state_add(STATE_GENPC, "curpc", m_pc).noshow(); + state_add(STATE_GENPC, "GENPC", m_pc).noshow(); + state_add(STATE_GENPCBASE, "CURPC", m_pc).noshow(); m_program = &space(AS_PROGRAM); m_direct = &m_program->direct(); @@ -503,7 +504,8 @@ void tms32082_pp_device::device_start() // Register state for debugger state_add(PP_PC, "pc", m_pc).formatstr("%08X"); - state_add(STATE_GENPC, "curpc", m_pc).noshow(); + state_add(STATE_GENPC, "GENPC", m_pc).noshow(); + state_add(STATE_GENPCBASE, "CURPC", m_pc).noshow(); m_program = &space(AS_PROGRAM); m_direct = &m_program->direct(); |