summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debughlp.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Debugger-related feature removals and cleanup AJR2021-08-151-31/+0
| | | | | | | | - 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.
* debug: add cls command to clear console buffer hap2021-02-161-0/+1
|
* Eliminate ARRAY_LENGTH template in favor of C++17's std::size AJR2021-02-141-2/+2
| | | | | | | | | | * osdcomm.h: Move definition of EQUIVALENT_ARRAY to coretmpl.h * sharc.cpp, gt64xxx.cpp, ym2413.cpp, gb_lcd.cpp, snes_ppu.cpp: Use STRUCT_MEMBER for save state registration * gio/newport.cpp, megadrive/svp.cpp, nes_ctrl/bcbattle.cpp, arm7.cpp, tms9995.cpp, pckeybrd.cpp, sa1110.cpp, sa1111.cpp, jangou_blitter.cpp, vic4567.cpp: Use std::fill(_n) instead of memset * emucore.h: Remove obsolete typedef
* Much more core std::string_view modernization AJR2021-01-201-0/+1
| | | | | | | | | | | | | | | - Remove corestr.h from emu.h; update a few source files to not use it at all - Change strtrimspace, strtrimrightspace and core_filename_extract_* to be pure functions taking a std::string_view by value and returning the same type - Change strmakeupper and strmakelower to be pure functions taking a std::string_view and constructing a std::string - Remove the string-modifying version of zippath_parent - Change tag-based lookup functions in device_t to take std::string_view instead of const std::string & or const char * - Remove the subdevice tag cache from device_t (since device finders are now recommended) and replace it with a map covering directly owned subdevices only - Move the working directory setup method out of device_image_interface (only the UI seems to actually use the full version of this) - Change output_manager to use std::string_view for output name arguments - Change core_options to accept std::string_view for most name and value arguments (return values are still C strings for now) - Change miscellaneous other functions to accept std::string_view arguments - Remove a few string accessor macros from romload.h - Remove many unnecessary c_str() calls from logging/error messages
* debughlp.cpp: document loadr and saver debugger commands Ivan Vangelista2020-12-151-1/+34
|
* Add strdump debugger command for dumping memory as ASCII strings AJR2020-11-181-0/+22
|
* Document rowsize parameter for dump command in debugger help AJR2020-08-081-4/+4
|
* Add 'fill' command to debugger. Syntax and operation are similar to 'find' ↵ AJR2020-08-011-0/+17
| | | | command.
* emu: correct some file headers (nw) hap2020-06-191-1/+1
|
* Add optional condition parameter to debugger gex command AJR2020-05-031-1/+1
|
* Fix two cases where debugger can crash mame ("cheatlist" command before ↵ quasiscroto2020-03-131-8/+3
| | | | "cheatinit", long strings after "help")
* use C++ library includes (nw) firewave2020-01-221-1/+1
|
* Add cpulist command to debugger AJR2019-12-071-0/+1
|
* -debugcon: Added CMDFLAG_CUSTOM_HELP, in order to flag custom ↵ MooglyGuy2019-07-071-0/+1
| | | | device-specific commands that have custom help text. [Ryan Holtz]
* debugger: add command for go_exception (#3682) Patrick Mackinlay2018-06-231-0/+1
|
* debughlp.cpp: replaced references to 'decrypted opcodes' with 'opcodes', as ↵ Ivan Vangelista2018-05-021-5/+5
| | | | suggested (nw)
* debughlp.cpp: document dumpo command (nw) Ivan Vangelista2018-04-201-10/+11
|
* Added suspend and resume debugger commands (#3411) GavinAndrews2018-04-021-0/+2
|
* More docs work: escapes, debugger update (nw) (#3168) Firehawke2018-02-051-75/+79
| | | | | | | | | | * Missed a couple escape sequences. (nw) * A little more escaping, acronym fixes, fix oddity in symlist (nw) * Update debugger internal help to match docs (nw) * Lowercasing for CPU in command parameters, fix casing on ASCII. (nw)
* rewind implementation fixes and improvements vadosnaprimer2017-12-221-1/+1
| | | | | | | | | | | | | - reset scheduler savestate to what it was for years before rewind -- changing saved variables should be done after thorough testing. right now, adding some vars breaks some machines, adding other vars breaks others - switch to megabyte-wise capacity -- savestate size greatly differs between machines, relying on state count is unstable - switch to internal indexing -- no longer depends on inaccurate machine time - rewind accelerator key in debugger (Ctrl+F11) - report capacity hit (once), with some useful info - make error reports saner - mention rewind and rewind_capacity in the docs
* Revert "Command to print all debugger help to html file" Vas Crabb2017-12-151-400/+296
|
* debughlp - fix gcc build vadosnaprimer2017-12-121-2/+2
|
* add command to print all debugger help to html file vadosnaprimer2017-12-111-296/+400
| | | | tweak static_help_list spacing to always pad commands and never pad explanations
* (nw) fixed typo, and rewind off by default. Robbbert2017-12-081-1/+1
|
* explain the rewind command in debughlp vadosnaprimer2017-12-061-1/+15
| | | | fix a typo in the stateload description
* Made the debugger 'load' length field be optional, C++-ification Nathan Woods2017-06-251-4/+4
|
* Merge pull request #1987 from npwoods/tracesym_debugger_command R. Belmont2017-01-171-0/+17
|\ | | | | Created a new debugger command 'tracesym'
| * Augmenting help file Nathan Woods2017-01-161-0/+17
| |
* | Augmenting help file Nathan Woods2017-01-161-6/+13
|/
* Introduce u8/u16/u32/u64/s8/s16/s32/s64 Vas Crabb2016-11-191-1/+1
| | | | | | | | | | | | * New abbreviated types are in osd and util namespaces, and also in global namespace for things that #include "emu.h" * Get rid of import of cstdint types to global namespace (C99 does this anyway) * Remove the cstdint types from everything in emu * Get rid of U64/S64 macros * Fix a bug in dps16 caused by incorrect use of macro * Fix debugcon not checking for "do " prefix case-insensitively * Fix a lot of messed up tabulation * More constexpr * Fix up many __names
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-1/+1
| | | | | 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 various spelling fixes. Jordi Mallach2016-09-291-1/+1
|
* Make loop collation optional for debugger trace and traceover commands therealmogminer@gmail.com2016-07-141-18/+29
|
* Cleanup and version bumpmame0175 Miodrag Milanovic2016-06-291-1/+1
|
* Added commit command to debugger. [Angelo Salese] angelosa2016-06-051-0/+18
|
* Update help file, the whole help string parser is so 90s, nw angelosa2016-06-041-0/+5
|
* Added comlist comment to debugger [Angelo Salese] angelosa2016-06-041-0/+8
| | | | Added notes wrt dangarj protection, nw
* clang-modernize part 1 (nw) Miodrag Milanovic2015-12-031-1/+1
|
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-0/+1508