diff options
author | 2008-06-26 14:51:23 +0000 | |
---|---|---|
committer | 2008-06-26 14:51:23 +0000 | |
commit | 68f3a9ab9e20b3737b18e2034f5f5b5a2b016506 (patch) | |
tree | 99695c99728052fd906c54a69fccf1744769ab3a /src/emu/emuopts.c | |
parent | 2f6f4aed589190b041704a2994689ffb7c03622e (diff) |
Removed DEBUGGER flag from makefile and ENABLE_DEBUGGER
macro from the source code. All MAME builds now include
the debugger, and it is enabled/disabled exclusively by
the runtime command-line/ini settings. This is a minor
speed hit for now, but will be further optimized going
forward.
Changed the 'd' suffix in the makefile to apply to DEBUG
builds (versus DEBUGGER builds as it did before).
Changed machine->debug_mode to machine->debug_flags.
These flags now indicate several things, such as whether
debugging is enabled, whether CPU cores should call the
debugger on each instruction, and whether there are live
watchpoints on each address space.
Redesigned a significant portion of debugcpu.c around
the concept of maintaining these flags globally and a
similar, more complete set of flags internally for each
CPU. All previous functionality should work as designed
but should be more robust and faster to work with.
Added new debugger hooks for starting/stopping CPU
execution. This allows the debugger to decide whether
or not a given CPU needs to call the debugger on each
instruction during the coming timeslice.
Added new debugger hook for reporting exceptions.
Proper exception breakpoints are not yet implemented.
Added new module debugger.c which is where global
debugger functions live.
Diffstat (limited to 'src/emu/emuopts.c')
-rw-r--r-- | src/emu/emuopts.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/emu/emuopts.c b/src/emu/emuopts.c index 664a45e2974..342ef2f7b74 100644 --- a/src/emu/emuopts.c +++ b/src/emu/emuopts.c @@ -149,13 +149,8 @@ const options_entry mame_core_options[] = { "log", "0", OPTION_BOOLEAN, "generate an error.log file" }, { "verbose;v", "0", OPTION_BOOLEAN, "display additional diagnostic information" }, { "update_in_pause", "0", OPTION_BOOLEAN, "keep calling video updates while in pause" }, -#ifdef ENABLE_DEBUGGER { "debug;d", "1", OPTION_BOOLEAN, "enable/disable debugger" }, { "debugscript", NULL, 0, "script for debugger" }, -#else - { "debug;d", "1", OPTION_DEPRECATED, "(debugger-only command)" }, - { "debugscript", NULL, OPTION_DEPRECATED, "(debugger-only command)" }, -#endif /* misc options */ { NULL, NULL, OPTION_HEADER, "CORE MISC OPTIONS" }, |