summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2022-08-21 22:32:13 +1000
committer Vas Crabb <vas@vastheman.com>2022-08-21 22:32:13 +1000
commitddbaad1eb3336a465821b311ae8029a58a8f0da7 (patch)
tree62801567bf52e155222b3ec6c3e0c10697b6f228 /src/osd/modules
parentd42d13b81ee32ded159c852b2874231da6228089 (diff)
debugger/debuggdbstub.cpp: Fixed failure to find CPU.
Diffstat (limited to 'src/osd/modules')
-rw-r--r--src/osd/modules/debugger/debuggdbstub.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/modules/debugger/debuggdbstub.cpp b/src/osd/modules/debugger/debuggdbstub.cpp
index eaeb1df4cca..2aecd4bc6a6 100644
--- a/src/osd/modules/debugger/debuggdbstub.cpp
+++ b/src/osd/modules/debugger/debuggdbstub.cpp
@@ -644,7 +644,7 @@ void debug_gdbstub::wait_for_debugger(device_t &device, bool firststop)
if ( firststop && !m_initialized )
{
// find the "main" CPU, which is the first CPU (gdbstub doesn't have any notion of switching CPUs)
- m_maincpu = device_type_enumerator<cpu_device>(m_machine->root_device()).first();
+ m_maincpu = device_interface_enumerator<cpu_device>(m_machine->root_device()).first();
if (!m_maincpu)
fatalerror("gdbstub: cannot find any CPUs\n");