Henrik Rydgård
ab37b8dea9
Rename a couple of types to avoid clashes with a Mac header, sigh.
2023-04-28 13:38:16 +02:00
Henrik Rydgård
2814668cf5
Show a MIPS stack trace on crash screen ( #17211 )
...
* Print simple stack traces to log on crashes.
* Display stack traces on crash screen
* Show the in-function offset in the printed callstacks.
* Libretro buildfix attempt
2023-03-31 10:08:12 +02:00
Henrik Rydgård
436a3e0d61
Cleaner exit from emuthread, as used by OpenGL. Don't know how it worked before...
2023-01-30 11:49:31 +01:00
Henrik Rydgård
aa80659530
Memory exception: Add facility to track size
...
Might theoretically help in tracking some things down.
Not fully utilized yet, the fault handler needs to extract the
information from the faulting instruction. But we can use it for
GetPointerRange etc.
2023-01-01 20:30:29 +01:00
Henrik Rydgård
97fadbcecb
Show bluescreen properly on memory errors that we failed to ignore.
...
Previously we just wouldn't draw it but still would be in the error
state.
2022-12-30 12:29:23 +01:00
Unknown W. Brackets
8e7847f6d9
UI: Show return address for exec crashes.
2022-08-21 14:49:34 -07:00
Unknown W. Brackets
90517ace59
irjit: Validate alignment in slow memory mode.
2022-08-21 13:24:10 -07:00
Unknown W. Brackets
fc2efe5dff
Debugger: Add reason to cpu.stepping event.
2021-10-23 22:08:15 -07:00
Unknown W. Brackets
2bd13c5d9d
Debugger: Track reason for entering stepping.
2021-10-23 16:56:15 -07:00
Unknown W. Brackets
32c7ff8436
SaveState: Allow loading save state in exception.
...
And allow saving as well, since we can maybe resume.
2021-08-08 23:15:27 -07:00
Henrik Rydgård
8c38d7305e
Crash: Show disassembly of the instruction causing the crash, and the symbol name.
2020-07-15 12:38:05 +02:00
Henrik Rydgård
6f97c3d422
Various platform buildfixes
2020-07-14 09:25:59 +02:00
Henrik Rydgård
a56f391713
Make fastmem memory exceptions report the exceptions to Core correctly.
2020-07-14 09:25:45 +02:00
Unknown W. Brackets
940066db68
Core: Track exception on bad jumps.
2020-07-12 21:59:08 -07:00
Henrik Rydgård
7dcd708fac
Address some feedback
2020-07-12 15:25:27 +02:00
Henrik Rydgard
873c11d7f9
Draw a minimal crash dump on the emu screen after a caught crash.
2020-07-12 15:25:21 +02:00
Henrik Rydgård
a722dfe0fb
Formalize "core excpetions" as a concept
2020-07-12 15:25:21 +02:00
Henrik Rydgård
8461ea19b1
Centralize handling of memory exceptions a bit
2020-07-12 15:25:20 +02:00
Unknown W. Brackets
0ed2c03350
GE Debugger: Prevent hang on shutdown.
...
Since we're blocking the Emu thread, we can't use a hook from the Emu
thread to wake up.
The change to lifecycle callbacks caused this.
2018-06-11 14:54:42 -07:00
Unknown W. Brackets
3193772e78
Debugger: Use a lock for memory reallocs.
...
Simpler this way, no need to remember to lock memory.
2018-06-08 06:59:18 -07:00
Unknown W. Brackets
c15ade3b1b
Core: Refactor stepping and locking.
...
This should fix some race conditions with the cond vars.
2018-06-06 17:31:56 -07:00
Unknown W. Brackets
6fbd0e27bb
Core: Remove some unused coreState funcs.
2018-06-06 05:58:50 -07:00
Unknown W. Brackets
e313a9bf6c
Debugger: Lock startup/shutdown for threadsafety.
...
Otherwise things can get freed while we're trying to inspect them.
2018-06-06 05:58:49 -07:00
Unknown W. Brackets
77609bbea2
Debugger: Track a counter when entering stepping.
...
This allows us to poll coreState and know if a new stepping needs to be
sent. This is useful to allow e.g. regs to show changes per step.
2018-06-06 05:58:49 -07:00
Henrik Rydgård
42f2312030
Remove the old CPU threading remains, start redesigning interfaces.
2018-01-27 15:10:17 +01:00