summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/debugger
Commit message (Collapse)AuthorAgeFilesLines
...
* | fixed some clang-tidy warnings (nw) (#6197) Oliver Stöneberg2020-01-225-16/+16
|/ | | | | | | | | | | | | | * fixed some bugprone-throw-keyword-missing clang-tidy warnings (nw) * fixed some modernize-use-nullptr clang-tidy warnings (nw) * fixed some readability-delete-null-pointer clang-tidy warnings (nw) * fixed some performance-faster-string-find clang-tidy warnings (nw) * fixed some performance-for-range-copy clang-tidy warnings (nw) * fixed some readability-redundant-string-cstr clang-tidy warnings (nw)
* mac: fix copy/paste error, get rid of allocWithZone as it's ignored on ↵ Vas Crabb2019-11-184-8/+8
| | | | 64-bit ABI (nw)
* missed a couple of Mac debugger things (nw) Vas Crabb2019-11-182-28/+24
|
* missed one Windows debugger thing (nw) Vas Crabb2019-11-181-1/+1
|
* misc cleanup: Vas Crabb2019-11-1823-87/+106
| | | | | | | * Got rid of some more simple_list in core debugger code * Fixed a buffer overrun in wavwrite (buffer half requried size) * Slightly reduced dependencies and overhead in wavwrite * Made new disassembly windows in Qt debugger default to current CPU
* (nw) misc cleanup: Vas Crabb2019-10-111-3/+3
| | | | | * imagedev/cassette: add bitwise operators for cassette_state so a lot of ugly casts can go away * audio/leland.cpp, cubeqst.cpp: make better use of loops in machine configuration
* Make osd_printf_* use util/strformat semantics. Vas Crabb2019-09-261-2/+2
| | | | | | | | | | | | | | | | | (nw) This has been a long time coming but it's here at last. It should be easier now that logerror, popmessage and osd_printf_* behave like string_format and stream_format. Remember the differences from printf: * Any object with a stream out operator works with %s * %d, %i, %o, %x, %X, etc. work out the size by magic * No sign extending promotion to int for short/char * No widening/narrowing conversions for characters/strings * Same rules on all platforms, insulated from C runtime library * No format warnings from compiler * Assert in debug builds if number of arguments doesn't match format (nw) Also removed a pile of redundant c_str and string_format, and some workarounds for not being able to portably format 64-bit integers or long long.
* A few files that got missed (nw) arbee2019-09-151-0/+4
|
* Fix QT debugger (nw) AJR2019-09-101-3/+3
|
* Use std::forward_list for breakpoint and registerpoint lists (nw) AJR2019-09-108-88/+32
|
* gdbstub: more improvements (#5569) Ramiro Polla2019-08-311-29/+155
| | | | | | | | | | | | | | | | | | | | | | | | | * gdbstub: small cleanup and clarification Old GDBs expected the regnum values for some registers to be hardcoded. This is no longer the case with GDB clients that support target.xml. We expect the GDB client to support target.xml (and won't support the 'g', 'G', 'p', and 'P' commands unless it is sent). * gdbstub: add mips (tested with indy_4610) * gdbstub: add m68k (tested with macii) * gdbstub: add support for executing MAME debugger commands from the GDB client It's now possible to send MAME debugger commands, such as "cheatinit", "snap", etc... Try not to use "bpset" and such commands, they may confuse the GDB client. Also don't use commands such as "step" and "go", they will definitely confuse the GDB client. * gdbstub: fatalerror() when socket can't be opened
* srcclean (nw) Vas Crabb2019-08-251-23/+23
| | | | I'm assuming atronic.cpp was supposed to be Windows-1252 with Euro currency symbol encoding. Everyone please use UTF-8 for source files.
* debuggdbstub: uncomment parameters (nw) Patrick Mackinlay2019-08-151-3/+3
| | | | These unused parameters don't cause any warnings, so I suggest they shouldn't be commented; make the implementations match their declarations.
* gdbstub: add z80 and m6502 Ramiro Polla2019-08-121-0/+53
| | | | | | | | | | | | z80 was tested with pacman and m6502 was tested with apple2e. Side-effects must be disabled before reading memory, otherwise apple2e starts failing after the first read to 0xc080. Since GDB doesn't support those processors, I made up the features name with "mame.<cpuname>". I also had to choose the registers to export in the target.xml file, and since I don't have any experience with these processors I don't know if I made the best choice.
* gdbstub: added new GDB stub debugger (#5456) Ramiro Polla2019-08-111-0/+1133
| | | | | | | | | | | | * gdbstub: added new GDB stub debugger This debugger can be used to connect to an external debugger that communicates using the GDB Remote Serial Protocol, such as GDB itself or many other GDB frontends. Currently i386 (ct486), arm7 (gba), and ppc (pmac6100) are supported. * gdbstub: enable GDB stub debugger in mac and windows builds
* (nw) updated debug media menu to latest version Robbbert2019-07-132-13/+34
|
* (nw) windebug: fixed bug: in error-log window, Debug,New Memory Window would ↵ Robbbert2019-07-132-4/+2
| | | | clear the log.
* OS X debugger: Update window titles when restoring configuration for ↵ AJR2019-03-272-0/+2
| | | | disassembly and memory viewers
* (nw) Clean up the mess on master Vas Crabb2019-03-262-2/+2
| | | | | | | | | | | | | This effectively reverts b380514764cf857469bae61c11143a19f79a74c5 and c24473ddff715ecec2e258a6eb38960cf8c8e98e, restoring the state at 598cd5227223c3b04ca31f0dbc1981256d9ea3ff. Before pushing, please check that what you're about to push is sane. Check your local commit log and ensure there isn't anything out-of-place before pushing to mainline. When things like this happen, it wastes everyone's time. I really don't need this in a week when real work™ is busting my balls and I'm behind where I want to be with preparing for MAME release.
* Revert "conflict resolution (nw)" andreasnaive2019-03-252-2/+2
| | | | | This reverts commit c24473ddff715ecec2e258a6eb38960cf8c8e98e, reversing changes made to 009cba4fb8102102168ef32870892438327f3705.
* Qt debugger: fix error in determining where clicks are in debugger views ↵ goldnchild2019-03-041-1/+1
| | | | [Golden Child] (#4705)
* Qt debugger: fix error in determining where clicks are in memory views ↵ R. Belmont2019-02-271-1/+1
| | | | [Golden Child]
* work around Qt crash, thanks mizapf (nw) Vas Crabb2018-12-251-9/+15
|
* 3rdparty: Updated bgfx, bimg, and bx to latest upstream. [Ryan Holtz] mooglyguy2018-12-051-3/+3
|
* Remove running_machine::device() call in QT debugger (nw) AJR2018-07-071-1/+1
|
* fix building with clang 6.0.1 (nw) smf-2018-07-071-2/+0
|
* How to remove unwanted macros, or: getting out of discovered "check" (nw) AJR2018-06-291-0/+2
| | | | This fixes the OS X build.
* Convert zippath directory to a C++ interface Vas Crabb2018-01-101-11/+11
|
* Eliminate machine().firstcpu (nw) AJR2018-01-041-1/+1
|
* rewind implementation fixes and improvements vadosnaprimer2017-12-222-1/+20
| | | | | | | | | | | | | - 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
* Updated GENie, BGFX, BX, added BIMG since it is separated now, updated all ↵ Miodrag Milanovic2017-12-011-10/+7
| | | | shader binaries and MAME part of code to support new interfaces [Miodrag Milanovic]
* Don't process every character individually when searching - this reduces Vas Crabb2017-08-101-1/+1
| | | | | | lag if you keep typing while a big list is searched. (nw) patch up German translation
* Revert "Attempted fix for QT debugger (nw)" Vas Crabb2017-08-011-2/+2
| | | | This reverts commit d8b1cb0191e530180995c5c9f0cb890cf96cf95c.
* Attempted fix for QT debugger (nw) AJR2017-08-011-2/+2
|
* In the windows debugger log window add a Log/Clear menu to remove all logged ↵ yz70s2017-07-304-1/+80
| | | | messages (nw)
* Merge tag 'mame0188' Vas Crabb2017-07-262-17/+18
|\ | | | | | | | | | | | | | | MAME 0.188 Conflicts: src/mame/video/wolfpack.cpp src/osd/modules/debugger/win/consolewininfo.cpp
| * scope stuff down again, rvalue on left of ==, fewer early exits (nw) Vas Crabb2017-07-241-16/+18
| |
| * In class consolewin_info method set_cpu does nothing if the cpu to be set is ↵ yz70s2017-07-242-1/+7
| | | | | | | | | | | | the current one (nw) This solves a problem in the windows debugger where the registers view would always return to the topafter being scrolled down.
| * stupid API, I'll fix this one day (nw) Vas Crabb2017-07-231-1/+1
| |
* | In class consolewin_info method set_cpu does nothing if the cpu to be set is ↵ yz70s2017-07-232-1/+7
|/ | | | | | the current one (nw) This solves a problem in the windows debugger where the registers view would always return to the topafter being scrolled down.
* cocoa debugger: save/restore console split positions Vas Crabb2017-07-213-2/+25
|
* Add a method for copying part of an XML tree into another tree and use it to ↵ Vas Crabb2017-07-211-5/+21
| | | | fix Cocoa debugger fatal error
* * Make XML file a class of its own managed with smart poitners Vas Crabb2017-07-213-7/+24
| | | | * Save/restore a little more of Cocoa debugger state
* * Save/restore more Cocoa debugger state Vas Crabb2017-07-2110-9/+111
| | | | | | * Fix some Cocoa debugger desync issues - Scroll to selection on gaining focus by keyboard (e.g. tab) only - Fixes jump on clicking a memory or disasm view that you've scrolled
* Added basic support for saving/restoring Cocoa debugger window state, ↵ Vas Crabb2017-07-2019-103/+413
| | | | compatible with Qt debugger where possible
* Misc fixes (nw) Olivier Galibert2017-07-031-1/+1
|
* dimemory: Lift the cap on the number of address spaces per device [O. Galibert] Olivier Galibert2017-07-032-2/+2
|
* srcclean (nw) Vas Crabb2017-06-251-1/+1
|
* Changed a few 'const char *' ==> 'const std::string &' in the MAME debugger ↵ npwoods2017-06-2411-13/+13
| | | | (#2170)
* (nw)Windows debugger: removed "Mount Item" for now due to bugs, also removed ↵ Robbbert2017-06-241-2/+10
| | | | internal media slots from images menu.