summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/debug/debugcmd.c')
-rw-r--r--src/emu/debug/debugcmd.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/emu/debug/debugcmd.c b/src/emu/debug/debugcmd.c
index 51c4ccfa95f..6d5771430eb 100644
--- a/src/emu/debug/debugcmd.c
+++ b/src/emu/debug/debugcmd.c
@@ -1044,7 +1044,7 @@ static void execute_ignore(running_machine &machine, int ref, int params, const
/* special message for none */
if (!buffer)
buffer.printf("Not currently ignoring any devices");
- debug_console_printf(machine, "%s\n", buffer.cstr());
+ debug_console_printf(machine, "%s\n", buffer.c_str());
}
/* otherwise clear the ignore flag on all requested CPUs */
@@ -1109,7 +1109,7 @@ static void execute_observe(running_machine &machine, int ref, int params, const
/* special message for none */
if (!buffer)
buffer.printf("Not currently observing any devices");
- debug_console_printf(machine, "%s\n", buffer.cstr());
+ debug_console_printf(machine, "%s\n", buffer.c_str());
}
/* otherwise set the ignore flag on all requested CPUs */
@@ -1332,7 +1332,7 @@ static void execute_bplist(running_machine &machine, int ref, int params, const
buffer.catprintf(" if %s", bp->condition());
if (astring(bp->action()) != astring(""))
buffer.catprintf(" do %s", bp->action());
- debug_console_printf(machine, "%s\n", buffer.cstr());
+ debug_console_printf(machine, "%s\n", buffer.c_str());
printed++;
}
}
@@ -1502,7 +1502,7 @@ static void execute_wplist(running_machine &machine, int ref, int params, const
buffer.catprintf(" if %s", wp->condition());
if (astring(wp->action()) != astring(""))
buffer.catprintf(" do %s", wp->action());
- debug_console_printf(machine, "%s\n", buffer.cstr());
+ debug_console_printf(machine, "%s\n", buffer.c_str());
printed++;
}
}
@@ -1641,7 +1641,7 @@ static void execute_rplist(running_machine &machine, int ref, int params, const
buffer.catprintf("if %s", rp->condition());
if (rp->action() != NULL)
buffer.catprintf(" do %s", rp->action());
- debug_console_printf(machine, "%s\n", buffer.cstr());
+ debug_console_printf(machine, "%s\n", buffer.c_str());
printed++;
}
}
@@ -2605,7 +2605,7 @@ static void execute_trace_internal(running_machine &machine, int ref, int params
/* do it */
cpu->debug()->trace(f, trace_over, action);
if (f)
- debug_console_printf(machine, "Tracing CPU '%s' to file %s\n", cpu->tag(), filename.cstr());
+ debug_console_printf(machine, "Tracing CPU '%s' to file %s\n", cpu->tag(), filename.c_str());
else
debug_console_printf(machine, "Stopped tracing on CPU '%s'\n", cpu->tag());
}
@@ -3100,9 +3100,9 @@ static void execute_dumpkbd(running_machine &machine, int ref, int params, const
// and output it as appropriate
if (file != NULL)
- fprintf(file, "%s\n", buffer.cstr());
+ fprintf(file, "%s\n", buffer.c_str());
else
- debug_console_printf(machine, "%s\n", buffer.cstr());
+ debug_console_printf(machine, "%s\n", buffer.c_str());
// cleanup
if (file != NULL)