Commit Graph

50 Commits

Author SHA1 Message Date
Nav
a65be393be Tidying 2024-10-19 23:11:22 +01:00
Nav
338dd8b75b New wr GDB monitor command, for writing to target registers 2024-08-27 22:05:34 +01:00
Nav
b1db8196c0 Tidying 2024-08-27 22:04:59 +01:00
Nav
2adb679833 New mon lr GDB command, for listing target registers 2024-08-26 12:41:41 +01:00
Nav
a7ffc56d9b New mon rr GDB command for reading target registers 2024-08-26 12:40:39 +01:00
Nav
6cdbfbe950 Massive refactor to accommodate RISC-V targets
- Refactored entire codebase (excluding the Insight component) to accommodate multiple target architectures (no longer specific to AVR)
- Deleted 'generate SVD' GDB monitor command - I will eventually move this functionality to the Bloom website
- Added unit size property to address spaces
- Many other changes which I couldn't be bothered to describe here
2024-07-23 21:14:22 +01:00
Nav
b5df37ae9b Removed TargetProgramCounter type alias 2023-09-21 00:40:30 +01:00
Nav
7d4ce1050f - Implemented support for range stepping with GDB (vCont... packets)
- Refactored some bits of the generic GDB server class, along with the AVR-specific implementation
2023-09-11 03:32:58 +01:00
Nav
1c12200c18 Do not respond to GDB's interrupt requests, if we failed to interrupt target execution 2023-08-30 20:47:11 +01:00
Nav
5896306f1a Removed redundant 'Bloom' namespace from entire codebase 2023-08-13 15:47:51 +01:00
Nav
9734ba88e1 Removed TC suspension 2023-07-18 23:17:13 +01:00
Nav
9475a80cd0 Removed TC state code from insight and debug server components 2023-07-18 23:17:13 +01:00
Nav
d55756da72 New GDB monitor command for Insight activation.
Created GdbHelpMonitorInfo.txt.in template for conditional commands
2023-07-18 23:17:13 +01:00
Nav
ba03833325 Lots of tidying
- Removed generic `avr8` target
- Simplified AVR8 target construction
- Introduced register descriptor IDs
- Simplified GDB register mappings
- Simplified target interface contract
- Other bits of tidying
2023-07-18 23:16:06 +01:00
Nav
8a6f1e8659 Fixed bug with GDB interrupts not being serviced properly 2023-05-07 19:44:19 +01:00
Nav
2d934f7ea5 Removed breakpoint caching in GDB server - it's not needed!
GDB can be configured to avoid needlessly updating breakpoints on the target
2023-04-01 19:06:57 +01:00
Nav
3a74906541 Implemented support for breakpoint caching in the GDB server 2023-04-01 15:15:04 +01:00
Nav
4c25c85c36 Moved Process helper functions to service class 2023-02-20 21:55:55 +00:00
Nav
d353b55f9b Renamed TargetControllerConsole to TargetControllerService 2023-02-20 21:55:55 +00:00
Nav
6b7f0fd234 Tidying 2022-12-10 19:23:06 +00:00
Nav
ffe4f5bfc5 New monitor eeprom fill GDB command 2022-12-10 19:22:53 +00:00
Nav
89b02474a9 More bits of refactoring in the GDB RSP server implementation 2022-11-18 20:26:20 +00:00
Nav
7a2e8f07b5 Renamed DebugSessionAborted GDB exception 2022-11-17 00:40:04 +00:00
Nav
065a389dfe Improved naming consistency of aliases 2022-10-01 21:01:37 +01:00
Nav
ef4eb4f768 Removed pointless enum and tidied comments 2022-09-26 21:21:57 +01:00
Nav
1f0a82d599 Tweaks to Process helper class and bug fix 2022-09-15 20:18:26 +01:00
Nav
01651be95b Renamed CLion process check function 2022-09-15 00:35:06 +01:00
Nav
c9a8220500 Suspend TargetController upon GDB detach, if running under CLion 2022-09-15 00:33:01 +01:00
Nav
98963ef4a8 New resume & suspend TargetController commands 2022-09-14 22:05:50 +01:00
Nav
7a39327c95 Removed monitor target-info machine command 2022-08-30 02:56:33 +01:00
Nav
cfb0ee6eee New GenerateSvd GDB monitor command 2022-08-30 02:51:10 +01:00
Nav
590c6ecb33 Tidying 2022-08-30 02:05:43 +01:00
Nav
2372b93e11 Improved RAII of DebugSession class 2022-08-13 03:06:37 +01:00
Nav
6a4bf89706 Moved GDB supported feature set to DebugSession object 2022-05-14 22:38:49 +01:00
Nav
a60f780287 New custom GDB command to output target info in JSON format 2022-05-06 19:31:33 +01:00
Nav
6970fd674b Added "monitor help" command, to display help text on supported GDB custom commands 2022-05-05 20:14:59 +01:00
Nav
4a9c26b73e Added "monitor version machine" command, to display the current Bloom version in JSON format 2022-05-05 20:14:23 +01:00
Nav
c9d1dd92a3 Added "monitor version" command, to display the current Bloom version 2022-05-05 20:13:30 +01:00
Nav
226b663aea Moved responsibility of stopping and resetting the target at the beginning of the debug session to the DebugServer. 2022-04-30 16:22:51 +01:00
Nav
4b19db5505 Fixed bug with GDB debug server not allowing any time for the TargetController to wake up. 2022-04-27 22:08:14 +01:00
Nav
687e28718c Replaced ReportTargetControllerState event with TC command and renamed TargetControllerStateReported event 2022-04-27 22:07:14 +01:00
Nav
8d26340c41 Tidying 2022-04-17 14:50:40 +01:00
Nav
b05b3454e9 Handled GDB exceptions in TargetExecutionStopped event handler, to prevent them from propagating to the DebugServerComponent::run() and causing Bloom to shutdown. 2022-04-16 21:21:29 +01:00
Nav
ec060a469b Renamed EventNotifer to EventFdNotifier and employed new NotifierInterface 2022-04-15 22:05:50 +01:00
Nav
8be1446e72 Moved TargetController components into new 'TargetController' namespace. 2022-04-09 15:57:24 +01:00
Nav
f7feef9ea1 New GDB "monitor reset" command packet class 2022-04-08 22:23:30 +01:00
Nav
583b01fa34 New GDB Monitor command packet class, for "qRcmd" command packets 2022-04-08 22:19:20 +01:00
Nav
7b5ce83b50 More tidying 2022-04-05 22:37:00 +01:00
Nav
b8e34b87d3 Tidied GDB RSP debug server 2022-04-05 18:51:25 +01:00
Nav
2aa240a680 Renamed GdbRsp directory to Gdb 2022-04-04 22:21:42 +01:00