summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/debugger
Commit message (Collapse)AuthorAgeFilesLines
* debugger/qt: Fixed build with Qt 6 on AArch64. Vas Crabb2026-04-073-6/+18
|
* Move build system adjusttment and fixes: Vas Crabb2026-04-055-30/+10
| | | | | | | | | * Bumped minimum clang version to 13 - clang 12 is just too buggy. * Assume Qt 6 will be used, dropped Qt 5 support. * Fixed finding Qt headers on Fedora and hopefully other distros. * Always use static SDL2 on Windows. * debugger/qt/debuggerview.cpp: Fixed build with Qt < 6.6. * imgtool/modules/vzdos.cpp: Fixed build with Linux GCC 11.
* Fix up more stuff for upgraded tools, etc. Vas Crabb2026-04-041-1/+1
| | | | | | | | | | | docs: It's no longer possible to get a working Qt 5 setup with MSYS2, and there's no 32-bit Qt 6 package. Updated docs to reflect this. Use Qt 6 on Windows, use qmake to find moc. Fixed linking on Windows with static SDL3. input/input_dinput.cpp: Support SDL3.
* frontend/mame/luaengine_debug.cpp: Got rid of another wannabe std::span. Vas Crabb2026-04-031-2/+2
| | | | | debugger/qt/deviceinformationwindow.cpp: Fixed another C++20 thing that apparently only breaks with some compiler/OS/Qt version combinations.
* Fixed things C++20 doesn't allow: Vas Crabb2026-03-292-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ui/info.cpp, imagedev/cassette.cpp: Deal with UTF-8 strings as a distint type. ui/inputmap.cpp, debugger/qt/dasmwindow.cpp, debugger/qt/mainwindow.cpp, sound/coreaudio_sound.cpp, cpu/drcbec.cpp, mit/tx0_v.cpp, konami/3dom2.cpp: machine/mc68328.cpp, cpu/mips/mips1.cpp, cpu/mips/r4000.cpp, cpu/romp, machine/cammu.cpp, machine/ns32081.cpp: Avoid arithmetic between different enum types. dec/pdp1.cpp, konami/firebeat.cpp, mit/tx0.cpp, sound/lc7535.cpp, sound/spkrdev.cpp: Avoid arithmetic between enum and floating point. gaelco/gaelco3d_m.cpp: Fixed deprecated uses of volatile variables. sound/discrete.h: Avoid comparing enum to floatint point. ui/toolbar.ipp: Don't use UTF-8 qualifier on pure ASCII strings, just assume char is ASCII-like. cpu/unsp: Use default constructor for compiler_state. sgi/pm2_mmu.cpp: Avoid conflict between file static access and identically named function in unistd.h. osd/interface/audio.h: Provide an explicit constructor. util/server_http_impl.hpp: Fixed uninitialised class member warning.
* debugger/osx: add Edit menu with clipboard shortcuts (#15134) Matt Furniss2026-03-221-1/+10
| | | | | | The macOS Cocoa debugger only adds Debug and Run menus to the menu bar, so standard Cmd+X/C/V shortcuts are never routed through the responder chain to the command input NSTextField. Add an Edit menu with Cut, Copy, and Paste items to enable clipboard operations.
* Stop the windows debugger from crashing when using a widescreen monitor yz70s2026-03-091-4/+7
| | | | Happened with text windows wider that 256 characters
* debugger/win, debugger/osx: Check that you have a memory interface before ↵ Vas Crabb2026-01-307-15/+29
| | | | trying to use it (MT09377).
* -scripts: Cleaned up devices build scripts a bit: Vas Crabb2026-01-081-0/+0
| | | | | | | | | | | | | | | | * Lua considers anything other than null or false to be "truthy". The tests against "null" were comparing to a non-existent global called "null" that evaluated to nil. * Got bus.lua back in alphabetical order and got at least most of the trigger variables aligned with paths. * At least don't put random stuff in the middle of the Acorn devices in machine.lua. -cpu/adsp2100: Corrected some tabulaton that had rotted. -cpu/tms32032: Got rid of some superfluous parentheses. -apple/lisa*.cpp: Added ATTR_COLD on stuff.
* lisa: Massive updates Olivier Galibert2026-01-076-12/+20
| | | | | | | | core: Better support for external mmus Note: I didn't expect to push that one right now, it's missing documentation among other things, but since some people seems to be interested to work on that driver I don't want to hold them.
* Fix up various things: Vas Crabb2025-08-013-8/+6
| | | | | | | * kim1_cass.xml: Hopefully fix checked-in DOS line endings. * cpu/m68000/m68010.cpp: Use constructor delegation. * debugger/debugwin.cpp: Don't repeatedly get the focussed window in a loop.
* Windows: Do not drop into debugger when no MAME window has focus (#13902) npwoods2025-07-123-7/+20
| | | | | | | On Windows, the debugger has a special Windows-specific feature that drops the user into the debugger if the key sequence is pressed. This seems to be present so that the key sequence triggers dropping into the debugger not just from the main window, but also from debugger windows. This has also created an oddity where pressing the debugger key sequence from a MAME window will cause a "User-initiated break" but pressing it from a debugger window will cause "Internal breakpoint" to be displayed. However, while this logic has a check to not apply when to a MAME window, it seems to also activate even if MAME itself is not in focus. This change ensures that a stray debugger sequence in a completely unrelated application won't cause the user to be dropped in the debugger.
* debugger/qt/debuggerview.cpp: Used DCA_SELECTED color friendly for ↵ holub2025-07-041-1/+1
| | | | Light/Dark theme (#13909)
* Clean up various stuff. Vas Crabb2025-07-0111-63/+65
| | | | | | | | | | | | | | | | | | | | | | | | docs: Explicitly state that installing a read/write tap returns the pass-through handler. cpu/mb86235: Using lowercas integer literal suffixes hurts readability, especially when it's 1ll (compare to 1LL, especially in a Courier-like font). video/ppu2c0x_vt.cpp: Look for the patterns. mame.lst: Expunge comments that started creeping back in. taito/taitotz.cpp: Use versions as printed on Taito's hard disk labels in descriptions. debug/win: Requiring every debugger window class to care about the console window's views is bad design. That's a clear case of unnecessary coupling. posix/posixptty.cpp: Testing for glibc does not guarantee pty.h is available. It's possible to build glibc for targets where its PTY wrapper functions are not implemented.
* qt/debuggerview.cpp: QPalette:Accent doesn't exist in Qt5 angelosa2025-05-151-1/+7
|
* qt/debuggerview.cpp: style over system colors angelosa2025-05-151-10/+13
|
* Cocoa debugger: debug view scroll workarounds (#13673) Antonio Malara2025-05-141-16/+24
| | | * debugger-osx: workaround to fix bottom scrolling and scrollbars the first time the debug window overflows
* debugger cleanup: use enums for m_views indices (#13687) dave-br2025-05-108-47/+75
| | | | | | | For the wininfos that participate as individual panes in the main console window, their viewinfos are referenced via the m_views[] array with hard-coded indices of 0, 1, and 2. - Define & use enums for those indices (VIEW_IDX_DISASM, VIEW_IDX_STATE, VIEW_IDX_CONSOLE) - Change MAX_VIEWS from a hard-coded constant of 4 to the last enum in that list, which changes it to 3. (I don't think it should have been 4 in the first place.) - wininfos that NEVER appear as panes in the main console window (e.g., logwin_info, pointswin_info, etc.) continue to use m_views[0]
* debugimgui.cpp: Fix obsolete callback; simplify modifier key reading AJR2025-04-201-16/+6
|
* debugger/qt: Fix Qt6 deprecation warning (see GitHub #13207). Vas Crabb2025-04-011-2/+7
|
* -cpu/e132xs.cpp: Improved exception emulation: Vas Crabb2025-04-016-6/+120
| | | | | | | | | | * Fixed behaviour of exceptions in delay slots, and fixed recompiler not updating ILC and P for some exceptions. * Implemented privilege error exception on setting L in user mode for interpreter. -emu/debug, osd/modules/debugger: Added an option to show exceptionpoints in breakpoints windows.
* debugger/debugwin.cpp: Fixed clang build. Vas Crabb2025-03-021-2/+2
|
* debugger/win: Added option to disable window grouping. Vas Crabb2025-03-027-2/+24
| | | | | Option is in debugger console window Settings menu. Changes apply on hard reset or restarting MAME. Setting is saved to default.cfg.
* Added support for multiple features in the gdb stub, and added support for ↵ smf-2025-02-131-371/+546
| | | | PlayStation CPUs [smf]
* m6502: rename m65c02 to w65c02 as well hap2024-12-141-1/+1
|
* debugger/osx: Don't use uninitialised NSRect when creating pop-up button. Vas Crabb2024-11-191-3/+1
| | | | | | | | | | | | The initial size doesn't really matter because the pop-up button is resized before being added to the container that holds it and the expression field. The disassembly viewer apparently wasn't updated properly like the memory viewer when the auto-sizing code was refactored. Hopefully this will fix the debugger crashing when restoring window positions from configuration (although I would have thought this would cause crashes in more situations if it was the cause of that).
* Added gdbstub support for MC68030 (#12906) kms12122024-10-251-0/+28
|
* emu/debug, osd/modules/debugger/qt: Clean up #includes a bit AJR2024-09-307-9/+4
|
* Cleaned up the mess from #12610: Vas Crabb2024-08-271-6/+6
| | | | | | | * Command line options need to be documented. * Don't assume C strings returned as option values remain valid indefinitely. * Fixed wording for option description.
* emu/debug/dvdisasm.cpp: Fixed bad display if view is scrolled horizontally. ↵ dave-br2024-08-241-2/+1
| | | | | (#12679) debugger/win/debugwininfo.cpp: Don't restrict maximum window sizes.
* gdbstub: add -debugger_host option (#12610) Ramiro Polla2024-08-081-3/+6
| | | | * This allows setting the host to 0.0.0.0 to accept connections from outside of localhost.
* -debugger/debugqt.cpp: Don't sleep waiting for events on debugger update. Vas Crabb2024-08-031-1/+1
| | | | | | -metro/metro.cpp: Fixed build, simplified DIP switch matrix. -sanyo/phc25.cpp: Conventional header #include order.
* -debugger/qt: Fixed crash on hard reset. Vas Crabb2024-07-312-2/+4
| | | | -ui/selmenu.cpp: Dismiss error messages on pressing left or right.
* New WORKING - sinclair/specnext.cpp: ZX Spectrum Next (known as tbblue) (#11918) holub2024-06-121-0/+1
| | | | | | | New Working Machines ----------------------- ZX Spectrum Next: TBBlue [holub]
* -heathzenith: Removed trivia file - content should be on wiki, etc. Vas Crabb2024-05-291-4/+4
| | | | -Fixed various warnings.
* -merit/mtouchxl.cpp: Added touch-enabled layout. Vas Crabb2024-05-091-1/+1
| | | | | | -ui/tapectrl.cpp: Ensure device monitored for media change is up-to-date. -osd/windows: Changed a pointer to a const reference in an API.
* debugger/debugimgui.cpp: Refuse to break if unable to take over UI input. Vas Crabb2024-04-121-8/+12
|
* Initial touch input support: Vas Crabb2024-04-121-96/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Feed mouse/pen/touch pointer events through UI input manager with Win32 and SDL. * Started migrating UI code to use new API and reworking mouse/touch interaction. * emu/render.cpp: Support pressing multiple clickable layout items simultaneously. * emu/render.cpp: Allow UI elements to be drawn in any window. * emu/rendlay.cpp, luaengine_render.cpp: Added layout view events for pointer input. * ui/ui.cpp: Allow the UI handler to control pointer display. * ui/analogipt.cpp: Added mouse/touch and more keys for navigating field state list. * ui/menu.cpp: Use vertical swipe to scroll and horizontal swipe to adjust. * ui/menu.cpp: Draw after processing input - greatly improves responsiveness. * ui/menu.cpp: Ignore keyboard/gamepad input during pointer actions. * ui/selmenu.cpp: Made left/right info pane arrows repeat when held. * ui/selmenu.cpp: Use middle click to move keyboard focus. * ui/selmenu.cpp: Let filter list scroll if it's too tall, and use a bit of horizontal padding. * ui/selmenu.cpp: Improved divider sizing. * ui/state.cpp: Don't allow clicks to pass through the confirm deletion prompt to the menu. * ui/simpleselgame.cpp: Fixed error message display and graphics/sound status not showing. * ui/simpleselgame.cpp: Allow tap/click to dismiss error message. * ui/utils.cpp: Show UI for choice filters when there are no choices - it's less confusing. * modules/input/input_sdl.cpp: Made scaling for mouse scroll better match RawInput and DirectInput. * modules/input/input_rawinput.cpp: Added support for horizontal scroll axis. * modules/input/input_win32.cpp: Added support for scroll axes and more buttons to mouse/lightgun. * modules/debugger/debugimgui.cpp: Don't fight over events with the UI manager - it breaks menus. * osd/windows/window.cpp: Translate mouse position to window cooridinates for scroll wheel events. * osd/sdl/window.cpp: Supply last mouse position for scroll wheel events if possible. * scripts/build/complay.py: Made zero input mask an error - it was only being used to block clicks.
* Drop support for GCC < 10.3, clang 6, SDL < 2.0.14 and Qt 5.10. Vas Crabb2024-03-282-8/+0
|
* -debugger/debuggdbstub.cpp: Don't write data to socket in text mode. Vas Crabb2024-03-251-24/+20
| | | | -mr/dribling.cpp, heathkit/h17_fdc.cpp: Tidy up a little.
* gdbstub: fix checksum on Windows (#12067) BartmanAbyss2024-02-271-4/+7
| | | gdbstub: fix m68000 register names
* debugimgui: fix lockup and debug assert Barry Rodewald2024-02-091-6/+10
|
* debugger/debuggdbstub.cpp: Added aliases for some MOS 6502-compatible CPUs. ↵ John Byrd2024-01-211-0/+5
| | | | | (#11953) Allows m6507, m6510, m65c02, m65ce02 and w65c02s to be debugged with GDB stub.
* Remove flopimg.h and fsmgr.h from floppy device header AJR2023-09-241-0/+2
|
* Allow the use of either Qt5 or Qt6 on Linux (#11413) Jindřich Makovička2023-07-144-2/+20
| | | | | | * Look for MOC in QT_HOME/libexec if not found in QT_HOME/bin * Use the Qt6* libraries if the Qt version is >= 6 * Switch the include paths for QAction & QActionGroup for Qt >= 6 * Replace the deprecated + operator for keys with |
* Miscellaneous cleanup Vas Crabb2023-06-247-67/+56
|
* osd/modules: Cleaned up most macOS deprecation warnings up to and including ↵ arbee2023-06-1011-68/+101
| | | | | | | | | 10.13. [R. Belmont] * This raises the hard minimum macOS and SDK versions to 10.13. * In practice, the minimum since 0.252 has been macOS 11 Big Sur. * 10.13/10.14/10.15 can be built and run with this unsupported patch: https://gist.github.com/rb6502/8a1736ee3775f998e8e71faa47ae4b59 The patch works for me, but no guarantees are offered and it may break at any time.
* sinclair/sprinter.cpp: Added Sprinter Sp2000 enhanced Spectrum clone. (#11018) holub2023-05-121-0/+1
| | | | | | | cpu/z80: Added support for variants with address translation and implemented Z84C015 chip selects. New working clones ------------------- Peters Plus, Ivan Mak Sprinter Sp2000
* Miscellaneous improvements: Vas Crabb2023-04-141-4/+8
| | | | | | | | | | | | | | infoxml.cpp: Thread device processing. Gives about a 10% speed improvement overall, and avoids the need to mess with the locale of the ultimate output stream. debugger/win/consolewininfo.cpp: Show image mount/create error messages on the console. emu/devdelegate.h, util/delegate.h: Added deduction guides for common delegate creation patterns (only used in sega/segas16a.cpp so far). More noexcept on things that have no business throwing exceptions.
* osd/windows: Create single-threaded COM apartment on main thread. Vas Crabb2023-04-081-3/+3
|