diff options
author | 2022-08-28 13:27:35 -0400 | |
---|---|---|
committer | 2022-08-28 13:31:50 -0400 | |
commit | d8d588262de1f11a529b208e470cff9b89a4cba6 (patch) | |
tree | fbeff8d28cb8538d527b8e3cc6c3df572d495189 /src/emu/debug/dvrpoints.cpp | |
parent | f52b402f2416ddfd646afe2d132c16d78c6fe9c3 (diff) |
Debugger changes
- Added exception points as a new class of "points" triggering on specific exception numbers, with a similar set of commands to breakpoints and registerpoints.
- Removed the per-instruction callback hook from device_debug. Only one driver was using this (rmnimbus.cpp), and what it was doing with it could be done more cleanly with exception points.
- Change the type of the action string parameter for "points"-creating methods and make some parameters optional for those.
- Change trace file logging to use a std::ostream instead of FILE * to take better advantage of strformat.
Diffstat (limited to 'src/emu/debug/dvrpoints.cpp')
-rw-r--r-- | src/emu/debug/dvrpoints.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/dvrpoints.cpp b/src/emu/debug/dvrpoints.cpp index 3ecadaec8e5..7295a1b2170 100644 --- a/src/emu/debug/dvrpoints.cpp +++ b/src/emu/debug/dvrpoints.cpp @@ -62,7 +62,7 @@ bool cConditionDescending(std::pair<device_t *, debug_registerpoint const *> con bool cActionAscending(std::pair<device_t *, debug_registerpoint const *> const &a, std::pair<device_t *, debug_registerpoint const *> const &b) { - return strcmp(a.second->action(), b.second->action()) < 0; + return a.second->action() < b.second->action(); } bool cActionDescending(std::pair<device_t *, debug_registerpoint const *> const &a, std::pair<device_t *, debug_registerpoint const *> const &b) |