summaryrefslogtreecommitdiffstats
path: root/src/osd/modules/debugger/qt/dasmwindow.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix crashes in Qt debugger caused by trying to select a nonexistent ↵ AJR2021-05-111-2/+5
| | | | disassembly or memory view
* -Qt debugger updates: Vas Crabb2021-01-281-43/+42
| | | | | | | | * Added context menu with Copy Visible and Paste commands to debug views (partially addresses #6066). * Made memory view last PC display a context menu item. * Fixed crash on right-clicking a memory view showing something other than an address space. -debugger: Fixed commas in dumpkbd output.
* Debugger expression and memory access overhaul AJR2020-05-251-4/+5
| | | | | | | | | | | | | - 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.
* misc cleanup: Vas Crabb2019-11-181-6/+19
| | | | | | | * Got rid of some more simple_list in core debugger code * Fixed a buffer overrun in wavwrite (buffer half requried size) * Slightly reduced dependencies and overhead in wavwrite * Made new disassembly windows in Qt debugger default to current CPU
* Use std::forward_list for breakpoint and registerpoint lists (nw) AJR2019-09-101-19/+6
|
* Remove emu.h from headers (nw) Olivier Galibert2017-02-111-0/+1
| | | | | | | | | | | | Per Vas' request. If the compile fails for you (i'm thinking osx and windows native debuggers here in particular), add '#include "emu.h"' as first include of the cpp files that fail. Due to our use of precompilation and forced inclusion, emu.h must be included as the very first non-comment thing we do if we want to be sure msvc compiles are identical to gcc/clang ones. Doing it directly instead of through an include increases the correctness probability by a magnitude.
* XML refactoring: Vas Crabb2016-12-111-2/+2
| | | | | | | * move stuff to namespace util::xml * scope down some enums * split config load/save delegate types * make config load take const so it can't mangle data
* patch up Qt debugger for new xmlfile API (nw) Vas Crabb2016-11-171-6/+6
|
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-2/+2
| | | | | Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
* Fix keyboard shortcus for disassembly comments pane [Vas Crabb] Vas Crabb2016-06-091-1/+1
| | | | | | * Win32 previously recognised Ctrl+N but menu incorrectly showed Ctrl+M * Qt showed Ctrl+C but it was swallowed by text editing and didn't work * Ctrl+N is now shown/used by Win32 and Qt (matches Cmd-N on OS X)
* Major refactoring of debugger core [Ryan Holtz] therealmogminer@gmail.com2016-06-081-3/+3
| | | | | | | | * Eliminate globals/file statics * Remove lots of stuff from global scope * Use std::function for custom command registration * Eliminate some trampolines * Build fixes from Vas Crabb and balr0g
* Various cleanups suggested by static analyzer (nw) Miodrag Milanovic2016-04-241-9/+9
|
* Iterate over core classes C++11 style AJR2016-03-311-4/+2
| | | | | | | | C++11 range-based for loops can now iterate over simple_list, tagged_list, core_options, device_t::subdevice_list, device_t::interface_list, render_primitive_list and all subclasses of the above, and much code has been refactored to use them. Most core classes that have these lists as members now have methods that return the lists themselves, replacing most of the methods that returned the object at an owned list's head. (A few have been retained due to their use in drivers or OSD.) device_t now manages subdevice and interface lists through subclasses, but has given up the work of adding and removing subdevices to machine_config. memory_manager has its tagged lists exposed, though the old rooted tag lookup methods have been removed (they were privatized already).
* put debug_view back in machine due to issues with QT (nw) Miodrag Milanovic2016-01-121-2/+2
|
* Fix linux compile Miodrag Milanovic2016-01-121-1/+1
|
* created debugger_manager, now this one owns debug_view_manager (nw) Miodrag Milanovic2016-01-121-4/+4
|
* remove usage of NO_MEM_TRACKING macro (nw) Miodrag Milanovic2016-01-081-2/+0
|
* qt5 debugger port [O. Galibert] Olivier Galibert2015-12-271-7/+13
|
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-0/+315