summaryrefslogtreecommitdiffstats
path: root/src/emu/debug/debugcmd.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Iterate over core classes C++11 style AJR2016-03-311-11/+10
| | | | | | | | 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).
* * Remove confusing method from vectorstreams that hide base_ios method ↵ Vas Crabb2016-03-181-0/+3
| | | | | | | | | | | | | (fixes disassembly view) * Allow std::string to pass through core_file unmolested (reduces temporary allocations) * Make zip/7z instances of same class with uniform interface * zippath browsing is broken at the moment This is another step towards transparent archive support. It's now possible to access zip and 7z archives with the same code. Nothing is taking advantage of it yet. There's now some very similar code in fileio.cpp and clifront.cpp that could be folded at some point.
* Make osd_file a polymorphic class that's held with smart pointers Vas Crabb2016-03-141-2/+2
| | | | | | | | | | | | | | | Make avi_file a class that's held with smart pointers, encapsulate various AVI I/O structures Make zip_file and _7z_file classes rather than having free functions everywhere Hide zip/7z class implementation behind an interface, no longer need to call close() to send back to the cache Don't dump as much crap in global namespace Add solaris PTY implementation Improve variable expansion for SDL OSD - supports ~/$FOO/${BAR} syntax Rearrange stuff so the same things are in file module for all OSDs Move file stuff into its own module 7z/zip open and destruct are still not thread-safe due to lack of interlocks around cache access Directory functions still need to be moved to file module SDL OSD may not initialise WinSock on Windows
* Fix some oversights in previous changes, sorry guys'n'gals Vas Crabb2016-03-031-9/+9
|
* Change field format to show leading zeros for debugger 'dasm' command as well Happy2016-03-011-2/+2
|
* Change field format to show leading zeros for debugger 'dump' command Happy2016-03-011-2/+2
|
* Get rid of most uses of core_i64_hex_format, all remaining uses are in ↵ Vas Crabb2016-03-011-43/+65
| | | | memory.cpp
* Replace strformat, strprintf and strcatprintf with type-safe steam_format ↵ Vas Crabb2016-02-281-15/+14
| | | | | | | | | and string_format Update MAME to use new function Instantiate ODR-used static constant members Make some of the UI code more localisable Remove use of retired functions in tools
* Small code cleanup: dankan18902016-01-291-2/+3
| | | | | | | | | - corealloc.h: added macro definition for global_alloc (nothrow) memory allocation. - textbuf.cpp / wavwrite.cpp: removed pointless cast. - debugcmd.cpp / luaengine.cpp / render.cpp: avoid strlen calls in a loop. - diimage.cpp: simplified "device_image_interface::set_image_filename" function. - miscmenu.cpp / selgame.h / video.cpp(h): replaced int with bool where applicable. - ui.cpp: removed unused code.