diff options
author | 2008-06-26 14:51:23 +0000 | |
---|---|---|
committer | 2008-06-26 14:51:23 +0000 | |
commit | 68f3a9ab9e20b3737b18e2034f5f5b5a2b016506 (patch) | |
tree | 99695c99728052fd906c54a69fccf1744769ab3a /makefile | |
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 'makefile')
-rw-r--r-- | makefile | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -97,9 +97,6 @@ endif # for details #------------------------------------------------- -# uncomment next line to enable the debugger -# DEBUGGER = 1 - # uncomment next line to build a debug version # DEBUG = 1 @@ -205,8 +202,8 @@ RM = @rm -f # form the name of the executable #------------------------------------------------- -# debugger builds just get the 'd' suffix and nothing more -ifdef DEBUGGER +# debug builds just get the 'd' suffix and nothing more +ifdef DEBUG DEBUGSUFFIX = d endif @@ -265,11 +262,6 @@ ifdef PTR64 DEFS += -DPTR64 endif -# define ENABLE_DEBUGGER if we are a debugger-enabled build -ifdef DEBUGGER -DEFS += -DENABLE_DEBUGGER -endif - # define MAME_DEBUG if we are a debugging build ifdef DEBUG DEFS += -DMAME_DEBUG |