summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2010-07-06 16:12:53 +0000
committer Aaron Giles <aaron@aarongiles.com>2010-07-06 16:12:53 +0000
commitf7ce43f8fb08bf472451292f4dcba16f20da06b4 (patch)
tree001ac0d2f0825d61048258e1e1dcafbda5923f86 /src/osd
parent16f14bc5f9192c523e7f1d7bb47e77cb8a2e82ee (diff)
Cleanup debugger interface some more.
Diffstat (limited to 'src/osd')
-rw-r--r--src/osd/sdl/debugosx.m10
-rw-r--r--src/osd/sdl/debugwin.c2
-rw-r--r--src/osd/windows/debugwin.c2
3 files changed, 7 insertions, 7 deletions
diff --git a/src/osd/sdl/debugosx.m b/src/osd/sdl/debugosx.m
index 155e137ea98..ec8130f3022 100644
--- a/src/osd/sdl/debugosx.m
+++ b/src/osd/sdl/debugosx.m
@@ -872,9 +872,9 @@ void console_create_window(running_machine *machine)
@implementation MAMEDisassemblyView
-- (debug_cpu_breakpoint *)findBreakpointAtAddress:(offs_t)address inAddressSpace:(const address_space *)space {
+- (device_debug::breakpoint *)findBreakpointAtAddress:(offs_t)address inAddressSpace:(const address_space *)space {
cpu_debug_data *cpuinfo = cpu_get_debug_data(space->cpu);
- debug_cpu_breakpoint *bp;
+ device_debug::breakpoint *bp;
for (bp = cpuinfo->bplist; (bp != NULL) && (address != bp->address); bp = bp->next) {}
return bp;
}
@@ -946,7 +946,7 @@ void console_create_window(running_machine *machine)
SEL action = [item action];
BOOL inContextMenu = ([item menu] == [self menu]);
BOOL haveCursor = NO, isCurrent = NO;
- debug_cpu_breakpoint *breakpoint = NULL;
+ device_debug::breakpoint *breakpoint = NULL;
if (view->cursor_visible()) {
if (debug_cpu_get_visible_cpu(machine) == view->source()->device()) {
@@ -1078,7 +1078,7 @@ void console_create_window(running_machine *machine)
const address_space *space = downcast<const debug_view_disasm_source *>(view->source())->space();
if (!useConsole || (debug_cpu_get_visible_cpu(machine) == space->cpu)) {
offs_t address = downcast<debug_view_disasm *>(view)->selected_address();
- debug_cpu_breakpoint *bp = [self findBreakpointAtAddress:address inAddressSpace:space];
+ device_debug::breakpoint *bp = [self findBreakpointAtAddress:address inAddressSpace:space];
// if it doesn't exist, add a new one
if (useConsole) {
@@ -1104,7 +1104,7 @@ void console_create_window(running_machine *machine)
const address_space *space = downcast<const debug_view_disasm_source *>(view->source())->space();
if (!useConsole || (debug_cpu_get_visible_cpu(machine) == space->cpu)) {
offs_t address = downcast<debug_view_disasm *>(view)->selected_address();
- debug_cpu_breakpoint *bp = [self findBreakpointAtAddress:address inAddressSpace:space];
+ device_debug::breakpoint *bp = [self findBreakpointAtAddress:address inAddressSpace:space];
if (bp != NULL) {
NSString *command;
diff --git a/src/osd/sdl/debugwin.c b/src/osd/sdl/debugwin.c
index 883575aa360..8585371319b 100644
--- a/src/osd/sdl/debugwin.c
+++ b/src/osd/sdl/debugwin.c
@@ -1011,7 +1011,7 @@ on_set_breakpoint_at_cursor_activate(GtkWidget *win)
{
offs_t address = downcast<debug_view_disasm *>(disasm->view)->selected_address();
device_debug *cpuinfo = disasm->view->source()->device()->debug();
- debug_cpu_breakpoint *bp;
+ device_debug::breakpoint *bp;
INT32 bpindex = -1;
/* first find an existing breakpoint at this address */
diff --git a/src/osd/windows/debugwin.c b/src/osd/windows/debugwin.c
index 7e15e47e2c7..23dce31ac0b 100644
--- a/src/osd/windows/debugwin.c
+++ b/src/osd/windows/debugwin.c
@@ -2255,7 +2255,7 @@ static int disasm_handle_command(debugwin_info *info, WPARAM wparam, LPARAM lpar
INT32 bpindex = -1;
/* first find an existing breakpoint at this address */
- for (debug_cpu_breakpoint *bp = debug->breakpoint_first(); bp != NULL; bp = bp->next())
+ for (device_debug::breakpoint *bp = debug->breakpoint_first(); bp != NULL; bp = bp->next())
if (address == bp->address())
{
bpindex = bp->index();