Commit Graph

71 Commits

Author SHA1 Message Date
Nav
1ef9ee7297 Refactored GDB monitor help command handler 2024-08-26 21:33:51 +01:00
Nav
cb9059c691 Tidying 2024-08-26 12:42:04 +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
34b26c3d06 Replaced commandOptions member with commandArguments in the GDB Monitor command base class
Updated the `eeprom fill` monitor command to take the fill value from the third command argument.
Also updated help text
2024-08-24 20:43:29 +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
a6d1a8ffea Included current PC in GDB reset command response (which is presented to the user) 2023-10-02 19:40:05 +01:00
Nav
b5df37ae9b Removed TargetProgramCounter type alias 2023-09-21 00:40:30 +01:00
Nav
d7b59cac59 Support for hardware breakpoints 2023-09-20 23:43:29 +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
b9a0c09adf Tweaked wording in GDB response to Insight activation request 2023-08-30 20:48:47 +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
142f844f83 New TC shutdown command 2023-07-18 23:17:13 +01:00
Nav
9734ba88e1 Removed TC suspension 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
614255c850 Fixed version number comparison bug and a little tidying 2023-07-18 21:56:35 +01:00
Nav
61d608989d Changed GDB "Handling..." logs to INFO level 2023-05-07 20:17:33 +01:00
Nav
8a6f1e8659 Fixed bug with GDB interrupts not being serviced properly 2023-05-07 19:44:19 +01:00
Nav
1fbcff2e1b Reject unknown breakpoint types in GDB server 2023-04-02 00:22:11 +01:00
Nav
96b8bc68d1 Corrected bug with breakpoint type parsing in breakpoint command packets 2023-04-01 19:07:42 +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
56ea97369d Preparation for support for the GDB vCont command packet
Also fixed a bug in the `StepExecution` and `ContinueExecution` constructors, where the from address wasn't being extracted properly
2023-04-01 12:37:59 +01:00
Nav
f37f8f301a Corrected bad rebase 2023-02-27 00:08:01 +00:00
Nav
8fa7e82c56 Moved Paths helper functions to service class 2023-02-20 21:55:55 +00: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
6b4d3ecb26 Moved toHex functions to String helper class 2023-01-21 13:37:56 +00:00
Nav
ffe4f5bfc5 New monitor eeprom fill GDB command 2022-12-10 19:22:53 +00:00
Nav
8f48a30fa3 Command option extraction for GDB monitor commands 2022-12-10 14:56:57 +00:00
Nav
b8c83c87fc Moved GdbHelpMonitorInfo.txt 2022-12-09 22:26:26 +00:00
Nav
065a389dfe Improved naming consistency of aliases 2022-10-01 21:01:37 +01:00
Nav
c7af236646 Tidied logs 2022-09-24 18:35:58 +01:00
Nav
3dece376ce Removed CPU general purpose registers from SVD generation 2022-09-18 14:03:28 +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
46d8ce1854 Added TargetMemoryAddress, TargetMemorySize, TargetProgramCounter and TargetStackPointer aliases 2022-09-06 17:16:49 +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
b69e0a69d0 Tidying 2022-07-23 17:56:20 +01:00
Nav
24062ef934 Included register descriptors in the TargetInfoMachine GDB command response 2022-06-05 22:42:14 +01:00
Nav
40b1183f6b Moved vFlashDone GDB command packet handelr to separate class 2022-06-05 16:15:12 +01:00
Nav
b3af06654c Tidying 2022-06-04 15:20:37 +01:00
Nav
6f9ba1930d Changed addresses to hexadecimal, in the JSON response for the monitor target-info machine GDB command 2022-05-29 23:17:56 +01:00
Nav
b5b0969c37 Support for vFlashDone GDB command packet 2022-05-29 17:18:56 +01:00
Nav
6a4bf89706 Moved GDB supported feature set to DebugSession object 2022-05-14 22:38:49 +01:00