summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/points.cpp
Commit message (Collapse)AuthorAgeFilesLines
* frontend: Exposed memory pass-through handlers (address space taps) to Lua. Vas Crabb2022-02-101-40/+44
|
* points.cpp: Minor correction to aef90f0db9ae60be5d03e86b4418c57f10f6b06b AJR2021-08-271-1/+1
|
* Octalize watchpoint hit message for memory spaces defined as octal AJR2021-08-271-9/+19
|
* Debugger-related feature removals and cleanup AJR2021-08-151-2/+3
| | | | | | | | - Remove the hotspot read tracker. This was never robustly implemented, but changes to the memory system made it much less useful, and the "speedup opportunities" which it aimed to determine are not very important from a current emulation standpoint. - Remove the CURSP/GENSP state symbol and the generic sp() getter. Stacking semantics vary too much between CPU architectures for this to be of much use. (A "SP" symbol has been added to a few CPU cores whose stack pointers were otherwise not being registered.) - Remove the cached pointer to device_state_interface and the state() fast accessor from device_t. Most users of device_state_interface either already had a pointer to the specific CPU device type or needed to check first for the presence of the interface. - Change the PC memory write tracker to use pcbase(), which works even when the instruction callback is masked out, instead of peeking at the PC history index. - Remove some obsolete watchpoint-related definitions from machine.h.
* Add 'wpsize' variable to access the data size from a watchpoint (#7837) Scott Percival2021-03-031-1/+1
|
* Eliminate space.device() in watchpoint code (nw) AJR2020-05-311-3/+3
|
* Debugger expression and memory access overhaul AJR2020-05-251-0/+441
- Memory references in expressions no longer default to the console's visible CPU if no device name was specified, except when entered through the console itself. Expressions in view windows now use the context of the currently selected device instead. - The pcatmem debug command and similar qt mouseover function now produce an error message if the initial address translation fails. Related internal changes (nw) - The debugger_cpu class no longer interprets memory accesses. The existing routines have been moved into symbol_table (which used to invoke them as callbacks), and reimplemented in most other places. Thecode duplication is a bit messy, but could be potentially improved in the future with new utility classes. - The cheat engine no longer needs to hook into the debugger_cpu class or instantiate a dummy instance of it. - The inclusion of debug/express.h within emu.h has been undone. Some debugging structures now need unique_ptr to wrap the resulting incomplete classes; hopefully the performance impact of this is negligible. Another direct consequence is that the breakpoint, watchpoint and registerpoint classes are no longer inside device_debug and have their own source file. - The breakpoint list is now a std::multimap, using the addresses as keys to hopefully expedite lookup. - The visible CPU pointer has been removed from the debugger_cpu class, being now considered a property of the console instead. - Many minor bits of code have been simplified.