Commit Graph

18 Commits

Author SHA1 Message Date
Lephe 7ac2ae25f2
gdb: stdout/err redirect + support swbreak + optional bridge logs 2024-04-13 09:20:01 +02:00
Lephe d065a17063
gdb: add icons on mono (bypassing video intf for now) 2024-04-10 08:29:28 +02:00
Lephe 0afd05848a
gdb, video, r61524: gdb visual feedback + start video intf on CG
- Define a draft of the video interface
- Implement that dragt for CG for a single mode
  * Includes stub of brightness setting from disassembling 3.60
- Use the video interface to show visual feedback on GDB on CG

Using the video interface avoids directly linking into a driver, which
will serve modularity in gint 3.
2024-04-09 08:57:46 +02:00
Lephe b4c0fc7cea
gdb: support 'C' packet for resuming with signals
It's not super useful as a feature but it means that a naive "continue"
after e.g. a segfault will kill the program and not confusingly go into
an infinite loop.
2024-04-01 00:50:07 +02:00
Lephe ab528b27a8
gdb: provide more accurate stop reasons 2024-03-30 21:42:34 +01:00
Lephe d9414bb6f2
gdb: allow gdb stub to automatically start when a crash occurs
The user can still gdb_start() + gdb_main(NULL) manually, which allows
e.g. early setup of breakpoints. The start_on_except mechanism is the
lazier method where we just run the add-in normally and start fxsdk gdb
on the PC *after* a crash occurs.
2024-03-30 21:41:35 +01:00
redoste 6f53fa7842
gdb: move recv buffer to the heap to support fx-9860G III smaller .data 2023-06-04 23:20:42 +02:00
redoste 5087a91101
gdb: make memory map XML more generic to ensure fx-9860G III support 2023-06-04 23:20:42 +02:00
redoste 7d3663483f
gdb: break before panicking in user code 2023-06-04 23:20:42 +02:00
redoste 9c22ecea8d
gdb: prevent TLB misses during arbitrary memory RW operations 2023-05-30 01:03:38 +02:00
redoste 02a97719ac
gdb: break when a message is recived during execution
This behaviour implements support for breaking the add-in during
execution by pressing ^C in GDB without setting a breakpoint beforehand.
2023-05-27 19:06:29 +02:00
redoste eca05ec64c
gdb: send memory map XML to GDB to enforce hw-breakpoints 2023-05-27 17:50:44 +02:00
redoste 2f6ee59d43
gdb: add memory write support 2023-05-24 23:30:29 +02:00
redoste 3aa11b4252
gdb: add register write support 2023-05-24 23:07:41 +02:00
redoste eab3184dbb
gdb: add "kill request" packet support by abort()ing the add-in 2023-05-24 22:22:54 +02:00
redoste 238bccddbe
gdb: add hw-breakpoint and single step support using the UBC 2023-05-24 22:21:01 +02:00
redoste aa0ff7b10b
ubc: basic User Break Controller driver 2023-05-24 22:21:01 +02:00
redoste 0bea485f4b
gdb: first implementation with basic memory and register read support 2023-05-21 19:49:23 +02:00