summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcpu.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Self-registering devices prep: Vas Crabb2017-02-271-4/+10
| | | | | | | | | | | | | | * Make device_creator a variable template and get rid of the ampersands * Remove screen.h and speaker.h from emu.h and add where necessary * Centralise instantiations of screen and speaker finder templates * Add/standardise #include guards in many hearers * Remove many redundant #includes * Order #includesr to help catch headers that can't be #included alone (nw) This changes #include order to be prefix, unit header if applicable then other stuff roughly in order from most dependent to least dependent library. This helps catch headers that don't #include things that they use.
* srcclean (nw) Vas Crabb2017-01-221-1/+1
|
* Merge pull request #1987 from npwoods/tracesym_debugger_command R. Belmont2017-01-171-2/+2
|\ | | | | Created a new debugger command 'tracesym'
| * Created a new debugger command 'tracesym' Nathan Woods2017-01-151-2/+2
| | | | | | | | '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/+19
|/ | | | As a consequence, the debugger 'trace' command was changed so that the third parameter is a list of '|' delimited options
* XML refactoring: Vas Crabb2016-12-111-12/+12
| | | | | | | * 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
* dimemory: Remove the magic bypass [O. Galibert] Olivier Galibert2016-12-101-43/+0
|
* sharc: Use standard memory maps [O. Galibert] Olivier Galibert2016-12-091-0/+4
|
* One more command that lacked an 'o' version (nw) AJR2016-12-021-0/+2
|
* Merge pull request #1317 from npwoods/disasm_stdstring Vas Crabb2016-11-211-6/+4
|\ | | | | Refactored device_disasm_interface::disassemble() and dasm_override_delegate to take string buffers as std::string
| * Eliminated 'device_disasm_interface::disassemble(std::string &buffer, ...' Nathan Woods2016-11-201-2/+4
| |
| * Changed disassembler infrastructure to not use char buffers internally Nathan Woods2016-11-201-6/+2
| |
* | Revert "moved debugger_access() from address space to machine & removed the ↵ Vas Crabb2016-11-211-2/+24
|/ | | | | | anti-patterns that updated cascading address spaces. [smf]" This reverts commit 5f05fbf61348c65204fde1e2aeed72de4cb56593.
* moved debugger_access() from address space to machine & removed the ↵ smf-2016-11-191-24/+2
| | | | anti-patterns that updated cascading address spaces. [smf]
* Introduce u8/u16/u32/u64/s8/s16/s32/s64 Vas Crabb2016-11-191-103/+104
| | | | | | | | | | | | * 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
* Turn xmlfile API into something that looks like C++ Vas Crabb2016-11-171-30/+30
| | | | It's still a bit quirky but it's far better encapsulated before, and it plays nice with const (nw)
* Do not use FUNC in delegate where applicable (nw) Miodrag Milanovic2016-11-061-1/+1
|
* more TRUE/FALSE cleanup (nw) Miodrag Milanovic2016-10-221-10/+10
|
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-95/+95
| | | | | 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
* use standard types uintptr_t, char16_t and char32_t instead of FPTR, ↵ Miodrag Milanovic2016-10-221-3/+3
| | | | utf16_char, unicode_char (nw)
* Make sure all cpu's export STATE_GENPCBASE and use safe_pcbase() for ↵ smf-2016-09-281-3/+3
| | | | everything in the debugger, which allows interruptible cpu's to work properly. [smf]
* fix disassembly if 6809 is interrupted mid-instruction [smf] Vas Crabb2016-09-281-1/+1
|
* Revert "fix disassembly if 6809 is interrupted mid-instruction [smf]" Lord-Nightmare2016-09-271-1/+1
| | | | This reverts commit 320121823c456f6a2a9f8ba37851aa13e0ab3011.
* Revert "Make sure all cpu's export STATE_GENPCBASE and use safe_pcbase() for ↵ Lord-Nightmare2016-09-271-3/+3
| | | | | | 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-3/+3
| | | | everything in the debugger, which allows interruptible cpu's to work properly. [smf]
* fix disassembly if 6809 is interrupted mid-instruction [smf] Vas Crabb2016-09-271-1/+1
|
* Fix -debug -cheat crash, nw therealmogminer@gmail.com2016-08-271-9/+9
|
* debugcpu: prevent nullptr exceptions when devices named in expressions lack ↵ AJR2016-07-251-22/+48
| | | | memory interfaces
* Make loop collation optional for debugger trace and traceover commands therealmogminer@gmail.com2016-07-141-25/+29
|
* Don't need debugcpu to translate (nw) AJR2016-07-031-37/+33
|
* Consolidate disassemble functions (nw) AJR2016-07-031-35/+9
|
* simplified memory management for save states and states (nw) Miodrag Milanovic2016-07-011-3/+3
|
* Merge pull request #994 from ajrhacker/dasm_override Miodrag Milanović2016-07-011-10/+5
|\ | | | | Move disasm overrides into interface, reducing driver-debugger depend…
| * Move disasm overrides into interface, reducing driver-debugger dependencies (nw) AJR2016-06-241-10/+5
| |
* | Cleanup and version bumpmame0175 Miodrag Milanovic2016-06-291-31/+31
|/
* Eliminate some unnecessary pass-through methods from debugcpu (nw) AJR2016-06-221-9/+7
|
* small debugger cleanup (nw) Miodrag Milanovic2016-06-171-14/+2
|
* Fixed debugger regression (nw) Miodrag Milanovic2016-06-171-0/+1
|
* Major refactoring of debugger core [Ryan Holtz] therealmogminer@gmail.com2016-06-081-644/+575
| | | | | | | | * 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
* Added comlist comment to debugger [Angelo Salese] angelosa2016-06-041-8/+16
| | | | Added notes wrt dangarj protection, nw
* MT6225 MT6226 MT6227 debugger may crash when validating expression with ↵ Vas Crabb2016-05-301-52/+52
| | | | non-existent memory space name
* Split UI and frontend part from core [Miodrag Milanovic] Miodrag Milanovic2016-04-231-2/+1
|
* Iterate over devices C++11 style AJR2016-04-181-12/+9
| | | | | | 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-3/+4
| | | | | | | | 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).
* Make osd_file a polymorphic class that's held with smart pointers Vas Crabb2016-03-141-4/+4
| | | | | | | | | | | | | | | 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
* Move more things to type-safe printf Vas Crabb2016-03-011-5/+2
|
* Replace strformat, strprintf and strcatprintf with type-safe steam_format ↵ Vas Crabb2016-02-281-8/+6
| | | | | | | | | 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
* Cleanups and version bump Miodrag Milanovic2016-02-241-1/+1
|
* Added plugins and boot.lua as startup script [Miodrag Milanovic] Miodrag Milanovic2016-02-141-0/+3
|