summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcpu.h
Commit message (Collapse)AuthorAgeFilesLines
* watchpoint: prevent recursive multiple installs [O. Galibert] Olivier Galibert2018-12-061-0/+1
|
* debugger: add 'gp' command Sven Schnelle2018-11-061-1/+6
| | | | | | | | | | | | | | gp 'go privilege' starts execution until the privilege mode changes. This can be used to break on task switches. I.e on m68k, one could do: gp { ~sr & 0x2000 && crp_aptr == 0x1234567 } which would execute until the privilege mode changes to user mode and the CPU root pointer is 0x1234567. for cpu code, all that is needed to make this work is calling debugger_privilege_hook() when the execution level changes.
* debugcpu.cpp: Move scripting functions down into console (nw) AJR2018-07-261-9/+0
|
* emumem: Backend modernization [O. Galibert] Olivier Galibert2018-06-291-21/+27
|
* Added suspend and resume debugger commands (#3411) GavinAndrews2018-04-021-0/+5
|
* Reshuffle some stuff: Vas Crabb2018-03-281-24/+27
| | | | | | * Move around the debugger hooks to get a small but measurable performance increase * Remove emucore from external tools * Improve performance of DSP16 interpreter a little by generating six variants of execution loop
* (nw) misc cleanup: start replacing auto_alloc_* with smart pointers, get Vas Crabb2017-12-011-12/+10
| | | | | rid of reference constants in the debugger in favour of capturing the value in the bind/lambda (less ugly casting)
* dvdisasm: Overhaul [O. Galibert] Olivier Galibert2017-11-261-1/+0
| | | | | | | | Disassemblers are now independant classes. Not only the code is cleaner, but unidasm has access to all the cpu cores again. The interface to the disassembly method has changed from byte buffers to objects that give a result to read methods. This also adds support for lfsr and/or paged PCs.
* This is too contentious, please put it up for review Vas Crabb2017-08-011-0/+35
| | | | | | Revert "Changes to debugger memory address translation" This reverts commit bb0964f9a284b15851773f5428bd602ca01cc28b.
* Changes to debugger memory address translation AJR2017-08-011-35/+0
| | | | | | - 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.
* dimemory: Lift the cap on the number of address spaces per device [O. Galibert] Olivier Galibert2017-07-031-6/+7
|
* Changed a few 'const char *' ==> 'const std::string &' in the MAME debugger ↵ npwoods2017-06-241-2/+2
| | | | (#2170)
* general cleanup: Vas Crabb2017-05-231-5/+2
| | | | | | | | | | | * move rarely-used output and pty interfaces out of emu.h * consolidate and de-duplicate forward declarations, also remove some obsolete ones * clean up more #include guard macros * scope down a few more things (nw) Everyone, please keep forward declarations for src/emu in src/emu/emufwd.h - this will make it far easier to keep them in sync with declarations than having them scattered through all the other files.
* disable: reverse polarity (nw) Olivier Galibert2017-03-261-2/+2
|
* debugger: print octal addresses in the trace if CPU is octal. Sergey Svishchev2017-03-161-0/+1
|
* debugger_access: Refactor [O. Galibert] Olivier Galibert2017-03-021-3/+2
|
* srcclean (nw) Vas Crabb2017-01-221-1/+1
|
* Added a facility to allow logerror output to reside in traces Nathan Woods2017-01-161-2/+5
| | | | 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-5/+5
| | | | | | | * 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
* Revert "moved debugger_access() from address space to machine & removed the ↵ Vas Crabb2016-11-211-2/+0
| | | | | | 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-0/+2
| | | | anti-patterns that updated cascading address spaces. [smf]
* Introduce u8/u16/u32/u64/s8/s16/s32/s64 Vas Crabb2016-11-191-90/+90
| | | | | | | | | | | | * 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
* Fix Visual Studio build (nw) Miodrag Milanovic2016-11-161-1/+1
|
* Turn xmlfile API into something that looks like C++ Vas Crabb2016-11-171-1/+1
| | | | It's still a bit quirky but it's far better encapsulated before, and it plays nice with const (nw)
* more TRUE/FALSE cleanup (nw) Miodrag Milanovic2016-10-221-10/+10
|
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-81/+81
| | | | | 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
* some bool <-> int not needed conversions, also cleaned drivenum.* was using ↵ Miodrag Milanovic2016-10-211-2/+2
| | | | memset for clearing vector (nw)
* Cleanups and version bump Miodrag Milanovic2016-07-271-1/+1
|
* Make loop collation optional for debugger trace and traceover commands therealmogminer@gmail.com2016-07-141-2/+3
|
* Don't need debugcpu to translate (nw) AJR2016-07-031-3/+0
|
* Consolidate disassemble functions (nw) AJR2016-07-031-3/+0
|
* Merge pull request #994 from ajrhacker/dasm_override Miodrag Milanović2016-07-011-6/+0
|\ | | | | Move disasm overrides into interface, reducing driver-debugger depend…
| * Move disasm overrides into interface, reducing driver-debugger dependencies (nw) AJR2016-06-241-6/+0
| |
* | Cleanup and version bumpmame0175 Miodrag Milanovic2016-06-291-20/+19
|/
* Eliminate some unnecessary pass-through methods from debugcpu (nw) AJR2016-06-221-6/+1
|
* small debugger cleanup (nw) Miodrag Milanovic2016-06-171-2/+1
|
* Major refactoring of debugger core [Ryan Holtz] therealmogminer@gmail.com2016-06-081-56/+139
| | | | | | | | * 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-2/+2
| | | | Added notes wrt dangarj protection, nw
* Move more things to type-safe printf Vas Crabb2016-03-011-1/+7
|
* some handmade changes (nw) Miodrag Milanovic2015-12-211-1/+1
|
* clang-modernize part 1 (nw) Miodrag Milanovic2015-12-031-12/+12
|
* memory: Remove support for decrypted bases, use an address space instead [O. ↵ Olivier Galibert2015-06-241-1/+1
| | | | Galibert]
* Cleanups and version bumpmame0161 Miodrag Milanovic2015-04-291-1/+1
|
* moved all to std::string (nw) Miodrag Milanovic2015-04-221-6/+6
|
* Replace dynamic_array with std::vector [O. Galibert] Olivier Galibert2015-04-141-2/+2
|
* There is no implicit conversion to char* in std::string (nw) Miodrag Milanovic2015-04-121-3/+3
|
* Replace simple_set with std::set Vas Crabb2015-04-111-8/+9
|
* debug: better handling of duplicate memory access Fabrice Bellet2014-12-181-1/+4
| | | | | | Don't remove and reinsert nodes that correspond to a duplicate memory access, because tree rebalancing kills performances. Update the node's element content instead.
* Fix various typos Zoë Blade2014-11-301-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit 040fd169bfd6845b33d3f86fd66afb4a632605c6 Author: Zoë Blade <zoe@bytenoise.co.uk> Date: Sun Nov 30 22:24:30 2014 +0000 Fix more typos in comments commit 6121ae593008a574735427e047fdb7a16f4fa47f Author: Zoë Blade <zoe@bytenoise.co.uk> Date: Sun Nov 30 22:20:37 2014 +0000 Fix more typos Not all are in comments this time, but the vast majority are, and the rest are in printed text. None are variable or constant names. commit 84bc72573009bb46f5601f7257a7f7538f25cfc2 Author: Zoë Blade <zoe@bytenoise.co.uk> Date: Sun Nov 30 22:01:46 2014 +0000 Fix some typos
* more passing of attotime as const references (nw) Oliver Stöneberg2014-07-041-1/+1
|