summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcmd.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Changes to debugger memory address translation AJR2017-08-011-34/+33
| | | | | | - memory_translate now returns an address space number rather a boolean flag, permitting addresses in part of one space to map to an entirely different space. This is primarily intended to help MCUs which have blocks of internal memory that can be dynamically remapped, but may also allow for more accurate emulation of MMUs that drive multiple external address spaces, since the old limit of four address spaces per MAME device has been lifted. - memory_translate has also been made a const method, in spite of a couple of badly behaved CPU cores that can't honestly treat it as one. - The (read|write)_(byte|word|dword|qword|memory|opcode) accessors have been transferred from debugger_cpu to device_memory_interface, with somewhat modified arguments corresponding to the translate function it calls through to if requested.
* kill a trampoline (nw) Vas Crabb2017-07-131-1/+3
|
* Merge branch 'master' into debugger_load Nathan Woods2017-07-041-16/+16
|\
| * dimemory: Lift the cap on the number of address spaces per device [O. Galibert] Olivier Galibert2017-07-031-2/+2
| |
| * Rename AS_DECRYPTED_OPCODES to AS_OPCODES [O. Galibert] Olivier Galibert2017-07-031-14/+14
| |
* | Made the debugger 'load' length field be optional, C++-ification Nathan Woods2017-06-251-26/+34
|/
* Changed 'enum read_or_write' to be 'enum class' Nathan Woods2017-06-191-1/+1
|
* Fixed a crash in the 'symlist' debugger command (MT#6575) Nathan Woods2017-05-031-2/+1
|
* Make debugger 'dasm' command able to traverse virtual spaces with Happy2017-03-191-18/+25
| | | | | | | | unmapped holes. Previously, 'dasm' would enter an infinite loop if it hit an unmapped pc, continuing to grow the output file until the program was killed.
* Changed a few more 'const char *' ==> 'const std::string &' (#2111) npwoods2017-03-041-2/+2
|
* Merge pull request #2114 from npwoods/fix_more ajrhacker2017-03-031-4/+4
|\ | | | | Fixed a few more issues broken similarly to 'bpset'
| * Fixed a few more issues broken similarly to 'bpset' Nathan Woods2017-03-031-4/+4
| |
* | Fixing stupid error in the bpset command Nathan Woods2017-03-031-2/+2
|/
* C++-ification of debugger code (misc std::string/std::vector adoption mainly) Nathan Woods2017-03-031-416/+408
|
* srcclean (nw) Vas Crabb2017-01-221-1/+1
|
* Merge pull request #1987 from npwoods/tracesym_debugger_command R. Belmont2017-01-171-0/+37
|\ | | | | Created a new debugger command 'tracesym'
| * Created a new debugger command 'tracesym' Nathan Woods2017-01-151-0/+37
| | | | | | | | 'tracesym' is intended to be a shorthand of 'tracelog', whereby the user doesn't have to specify a format string; the default format string is used
* | Added a facility to allow logerror output to reside in traces Nathan Woods2017-01-161-3/+21
|/ | | | As a consequence, the debugger 'trace' command was changed so that the third parameter is a list of '|' delimited options
* Add 'o' variants to memory debugging commands to request decrypted opcodes space AJR2016-12-011-0/+10
|
* Moving disasm.clear()/disasm.seekp(0) out of if statement, so the stream is ↵ Nathan Woods2016-11-201-2/+2
| | | | always reset
* Eliminated 'device_disasm_interface::disassemble(std::string &buffer, ...' Nathan Woods2016-11-201-4/+8
|
* Changed disassembler infrastructure to not use char buffers internally Nathan Woods2016-11-201-3/+3
|
* Introduce u8/u16/u32/u64/s8/s16/s32/s64 Vas Crabb2016-11-191-141/+141
| | | | | | | | | | | | * 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
* Revert "Added IS_ENABLED, so we have compiler check for non used part, it is ↵ Miodrag Milanovic2016-11-121-1/+1
| | | | | | checked but not compiled in (nw)" This reverts commit c0407f073bf7afe26407c4add5cfeaf7104913c9.
* Added IS_ENABLED, so we have compiler check for non used part, it is checked ↵ Miodrag Milanovic2016-11-111-1/+1
| | | | | | but not compiled in (nw) false and true now used instead of integer where used as bool
* more TRUE/FALSE cleanup (nw) Miodrag Milanovic2016-10-221-19/+19
|
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-135/+135
| | | | | 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
* Add row size as sixth parameter to debug dump command AJR2016-10-161-7/+17
|
* Separate natural keyboard support from ioport.cpp (nw) AJR2016-10-021-0/+1
|
* Make sure all cpu's export STATE_GENPCBASE and use safe_pcbase() for ↵ smf-2016-09-281-1/+1
| | | | everything in the debugger, which allows interruptible cpu's to work properly. [smf]
* Revert "Make sure all cpu's export STATE_GENPCBASE and use safe_pcbase() for ↵ Lord-Nightmare2016-09-271-1/+1
| | | | | | everything in the debugger, which allows interruptible cpu's to work properly. [smf]" This reverts commit 1a186c8a3a16a7ce99d7df2dd217a7552b696c92.
* Make sure all cpu's export STATE_GENPCBASE and use safe_pcbase() for ↵ smf-2016-09-271-1/+1
| | | | everything in the debugger, which allows interruptible cpu's to work properly. [smf]
* Fixed trace command access a parameter beyond the list supplied, added an ↵ smf-2016-09-201-4/+7
| | | | error message if you provide an invalid boolean, allow boolean to be case-insensitive and skip empty strings when parsing booleans. [smf]
* The 'trace' and 'traceover' commands were registered as having three ↵ Nathan Woods2016-08-231-2/+2
| | | | | | arguments. This fixes it so there are four arguments This seems to have been broken a long time. My guess is that when the ability to disable loop detection was added, the argument count was not changed to continue allowing the existing command argument.
* Turn image init/validate into scoped enums to avoid accidental casts to/from ↵ Vas Crabb2016-08-011-1/+1
| | | | | | integer and boolean types The image error should also be turned into a scoped enum - the menus were assuming it was the same thing as an init result
* Make loop collation optional for debugger trace and traceover commands therealmogminer@gmail.com2016-07-141-2/+29
|
* Don't need debugcpu to translate (nw) AJR2016-07-031-5/+5
|
* Consolidate disassemble functions (nw) AJR2016-07-031-3/+8
|
* Cleanup and version bumpmame0175 Miodrag Milanovic2016-06-291-19/+19
|
* Eliminate some unnecessary pass-through methods from debugcpu (nw) AJR2016-06-221-5/+11
|
* Merge pull request #965 from ajrhacker/debugspace R. Belmont2016-06-181-2/+6
|\ | | | | Suppress 'no matching space' debugger error when disassembling CPUs w…
| * Suppress 'no matching space' debugger error when disassembling CPUs without ↵ AJR2016-06-181-2/+6
| | | | | | | | decrypted opcodes
* | tagged_list to unordered_map for debugger (nw) Miodrag Milanovic2016-06-181-3/+3
|/
* Major refactoring of debugger core [Ryan Holtz] therealmogminer@gmail.com2016-06-081-819/+647
| | | | | | | | * 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
* TODO note, nw angelosa2016-06-051-0/+13
|
* Added commit command to debugger. [Angelo Salese] angelosa2016-06-051-8/+21
|
* Added comlist comment to debugger [Angelo Salese] angelosa2016-06-041-0/+16
| | | | Added notes wrt dangarj protection, nw
* Various cleanups suggested by static analyzer (nw) Miodrag Milanovic2016-04-241-3/+3
|
* Iterate over devices C++11 style AJR2016-04-181-104/+75
| | | | | | Replace the old device_iterator and its specialized versions with functionally equivalent classes that use standard operators to yield references to devices/interfaces rather than pointers. With range-based for loops, they no longer have to be stored in named variables, though they can also be reused concurrently since the iteration state is now maintained by a subclass. Add a few more typical getters to device_t::subdevice_list.
* Typo fix: threshhold → threshold Jordi Mallach2016-04-011-1/+1
|