summaryrefslogtreecommitdiff
path: root/debug.c
AgeCommit message (Collapse)Author
2020-05-03More correct implementation of byte printing in builtin debugger. Fix GDB ↵Michael Pavone
debugger to use helper in backend.c for reading bytes
2020-04-28Add support for printing a byte from memory in native debugger. Add stubs ↵Eric Fry
for GDB commands qThreadExtraInfo and qP
2020-04-13Added implementation of printing PC in 68K debuggerMichael Pavone
2020-04-10Added soft reset command to debugger. Added more debugger helpEric Fry
2020-04-10Added help commands to debuggerEric Fry
2020-04-11Use proper memory map in Z80 debugger for memory printingMichael Pavone
2019-02-10Initial attempt at interrupts in new Z80 core and integrating it into main ↵Michael Pavone
executable
2018-11-04Added a 68K debugger command for setting a registerMichael Pavone
2018-11-01Forcefully update the display when entering the 68K debugger so you can see ↵Michael Pavone
it update in realtime as you step through the code
2017-07-06Fix s(tep) debug command for the case of dbra with an expired counter regMichael Pavone
2017-04-24Fix interaction between 68K debugger and instruction retranslation due to ↵Michael Pavone
self modifying code or bank switching
2017-04-04Allow a .l suffix to a memory print command to allow fetching and printing a ↵Michael Pavone
longword
2017-04-03Improved printing of word at absolute address to support reading from all ↵Michael Pavone
address types. Implemented support for printing the value pointed to by a register. Removed abuse of read_dma_value in internal debugger.
2017-03-31Allow adding .w or .b to select just the low word or byte of a register in a ↵Michael Pavone
68K debugger print command
2017-03-31Allow printing current frame number in 68K debuggerMichael Pavone
2017-03-31Fix accidental fallthrough on com debugger commandMichael Pavone
2017-01-04Don't lock up CPU if performing a read with writes configured when in PBC ↵Michael Pavone
mode. Allow access to VDP debug commands from Z80 debugger in PBC mode. Handle Mode 4 in VDP debug print functions
2016-12-28Remove memory map assumptions from Z80 core and move a little bit of logic ↵Michael Pavone
to the generic backend.c so it can be shared between CPU cores
2016-12-28Enabled Z80 debugger in PBC modeMichael Pavone
2016-12-19Mostly working changes to allow support for multiple emulated system types ↵Michael Pavone
in main blastem program
2016-12-09WIP split of ROM loading/argument parsing from Genesis emulation code. ↵Michael Pavone
Compiles and doesn't crash, but nothing works. Still a few too many globals as well.
2016-04-24Fix interrupt latency from STOP instruction status reg changes. Fix modified ↵Michael Pavone
code patching when non-standard aliases are used. This fixes the demo MDEM's First
2016-02-13Add yt debug command for printing YM-2612 timer info. Fix AMS shift values.Michael Pavone
2016-01-17Initialize commands field of breakpoint struct to NULL. Remove a debug printfMichael Pavone
2015-11-06Properly initialize commands when adding a new breakpointMichael Pavone
2015-11-06Allow 68K debug print to read from arbitrary memory regionsMichael Pavone
2015-11-01Fix some debug commands that got broken when I added support for the command ↵Michael Pavone
command
2015-10-19Fix handling of formatting character for 68K debug command pMichael Pavone
2015-10-14Add support for executing a list of debugger commands when a breakpoint is hitMichael Pavone
2015-09-25WIP debugger improvements. Partial support for display command in 68K ↵Michael Pavone
debugger. Minor refactor to support commands on a breakpoint.
2015-07-26Spawn a terminal for the debugger when needed if we are not already attached ↵Michael Pavone
to one
2015-07-25Use a new fatal_error function instead of calling fprintf and exit for fatal ↵Michael Pavone
errors. This new function more gracefully handles the case in which BlastEm was not started from a terminal or disconnected from ther terminal (Windows).
2015-05-28MergeMichael Pavone
2015-05-28Get windows build compiling again post-mergeMichael Pavone
2015-05-27Add a basic YM-2612 command to the debugger. Fix negative detune values and ↵Michael Pavone
get the correct precision for the multiplication step of phase inc calculation
2015-05-21Process events while waiting for 68K debugger input. This prevents "not ↵Michael Pavone
responsive" dialogs when sitting in the debugger
2015-05-14Sync machine state before entering debuggerMichael Pavone
2014-12-30MergeMichael Pavone
2014-06-17Partially working switch to having a vcounter and hslot counter in the ↵Michael Pavone
context rather than trying to derive them from the cycle count. This should allow for more accurate handling of mid screen mode switches. Interrupt timing is broken currently though
2014-03-02Add backtrace (bt) command to 68K debuggerMichael Pavone
2014-03-01Add a separate flag/define for disabling the Z80 at compile time to ease ↵Michael Pavone
refactoring
2014-02-18Initial work on the x86-32 targetMichael Pavone
2014-02-11Support single stepping in gdb remote debuggerMike Pavone
2014-02-11Move debugging code outside of main source fileMike Pavone