diff options
Diffstat (limited to 'src/emu/debug')
| -rw-r--r-- | src/emu/debug/debugcmd.c | 4 | ||||
| -rw-r--r-- | src/emu/debug/debugcpu.c | 58 | ||||
| -rw-r--r-- | src/emu/debug/debugcpu.h | 26 | ||||
| -rw-r--r-- | src/emu/debug/dvwpoints.c | 6 |
4 files changed, 47 insertions, 47 deletions
diff --git a/src/emu/debug/debugcmd.c b/src/emu/debug/debugcmd.c index cf0d7f0b1ab..6f5940973ec 100644 --- a/src/emu/debug/debugcmd.c +++ b/src/emu/debug/debugcmd.c @@ -1495,8 +1495,8 @@ static void execute_wplist(running_machine &machine, int ref, int params, const { static const char *const types[] = { "unkn ", "read ", "write", "r/w " }; - debug_console_printf(machine, "Device '%s' %s space watchpoints:\n", device->tag(), - device->debug()->watchpoint_first(spacenum)->space().name()); + debug_console_printf(machine, "Device '%s' %s space watchpoints:\n", device->tag(), + device->debug()->watchpoint_first(spacenum)->space().name()); /* loop over the watchpoints */ for (device_debug::watchpoint *wp = device->debug()->watchpoint_first(spacenum); wp != NULL; wp = wp->next()) diff --git a/src/emu/debug/debugcpu.c b/src/emu/debug/debugcpu.c index 6ebcfd0f3ed..074de69dcc4 100644 --- a/src/emu/debug/debugcpu.c +++ b/src/emu/debug/debugcpu.c @@ -3279,18 +3279,18 @@ void device_debug::set_state(symbol_table &table, void *ref, UINT64 value) //------------------------------------------------- device_debug::breakpoint::breakpoint(device_debug* debugInterface, - symbol_table &symbols, - int index, - offs_t address, - const char *condition, - const char *action) + symbol_table &symbols, + int index, + offs_t address, + const char *condition, + const char *action) : m_debugInterface(debugInterface), - m_next(NULL), - m_index(index), - m_enabled(true), - m_address(address), - m_condition(&symbols, (condition != NULL) ? condition : "1"), - m_action((action != NULL) ? action : "") + m_next(NULL), + m_index(index), + m_enabled(true), + m_address(address), + m_condition(&symbols, (condition != NULL) ? condition : "1"), + m_action((action != NULL) ? action : "") { } @@ -3335,25 +3335,25 @@ bool device_debug::breakpoint::hit(offs_t pc) // watchpoint - constructor //------------------------------------------------- -device_debug::watchpoint::watchpoint(device_debug* debugInterface, - symbol_table &symbols, - int index, - address_space &space, - int type, - offs_t address, - offs_t length, - const char *condition, - const char *action) +device_debug::watchpoint::watchpoint(device_debug* debugInterface, + symbol_table &symbols, + int index, + address_space &space, + int type, + offs_t address, + offs_t length, + const char *condition, + const char *action) : m_debugInterface(debugInterface), - m_next(NULL), - m_space(space), - m_index(index), - m_enabled(true), - m_type(type), - m_address(space.address_to_byte(address) & space.bytemask()), - m_length(space.address_to_byte(length)), - m_condition(&symbols, (condition != NULL) ? condition : "1"), - m_action((action != NULL) ? action : "") + m_next(NULL), + m_space(space), + m_index(index), + m_enabled(true), + m_type(type), + m_address(space.address_to_byte(address) & space.bytemask()), + m_length(space.address_to_byte(length)), + m_condition(&symbols, (condition != NULL) ? condition : "1"), + m_action((action != NULL) ? action : "") { } diff --git a/src/emu/debug/debugcpu.h b/src/emu/debug/debugcpu.h index e4d3e8306f8..f767b205b29 100644 --- a/src/emu/debug/debugcpu.h +++ b/src/emu/debug/debugcpu.h @@ -80,11 +80,11 @@ public: public: // construction/destruction breakpoint(device_debug* debugInterface, - symbol_table &symbols, - int index, - offs_t address, - const char *condition = NULL, - const char *action = NULL); + symbol_table &symbols, + int index, + offs_t address, + const char *condition = NULL, + const char *action = NULL); // getters const device_debug *debugInterface() const { return m_debugInterface; } @@ -119,14 +119,14 @@ public: public: // construction/destruction watchpoint(device_debug* debugInterface, - symbol_table &symbols, - int index, - address_space &space, - int type, - offs_t address, - offs_t length, - const char *condition = NULL, - const char *action = NULL); + symbol_table &symbols, + int index, + address_space &space, + int type, + offs_t address, + offs_t length, + const char *condition = NULL, + const char *action = NULL); // getters const device_debug *debugInterface() const { return m_debugInterface; } diff --git a/src/emu/debug/dvwpoints.c b/src/emu/debug/dvwpoints.c index 0eed8c98179..19a5ad1a4d6 100644 --- a/src/emu/debug/dvwpoints.c +++ b/src/emu/debug/dvwpoints.c @@ -496,9 +496,9 @@ void debug_view_watchpoints::view_update() pad_astring_to_length(buffer, tableBreaks[2]); buffer.catprintf("%s", wp->space().name()); pad_astring_to_length(buffer, tableBreaks[3]); - buffer.catprintf("%s-%s", - core_i64_hex_format(wp->space().byte_to_address(wp->address()), wp->space().addrchars()), - core_i64_hex_format(wp->space().byte_to_address_end(wp->address() + wp->length()) - 1, wp->space().addrchars())); + buffer.catprintf("%s-%s", + core_i64_hex_format(wp->space().byte_to_address(wp->address()), wp->space().addrchars()), + core_i64_hex_format(wp->space().byte_to_address_end(wp->address() + wp->length()) - 1, wp->space().addrchars())); pad_astring_to_length(buffer, tableBreaks[4]); buffer.catprintf("%s", types[wp->type() & 3]); pad_astring_to_length(buffer, tableBreaks[5]); |
