Commit Graph

95 Commits

Author SHA1 Message Date
Nav
b06e8cc9ad Formatting keys in log output 2025-02-02 14:54:17 +00:00
Nav
25fd2a3a6a Fixed bug in WriteRegistersMonitor GDB command handler, where the given value was being converted incorrectly 2025-01-26 02:30:09 +00:00
Nav
37bc1b9ac9 Tidying 2024-12-19 23:48:16 +00:00
Nav
c8f02080b6 Tidying 2024-12-18 01:19:21 +00:00
Nav
a05b0450ab Tidying up register access GDB monitor commands 2024-12-18 01:12:48 +00:00
Nav
ef19ffe996 New wrb GDB monitor command, for writing to individual bit fields of target registers 2024-12-18 01:11:41 +00:00
Nav
9486cc0163 Help text for target driver passthrough commands 2024-12-16 21:37:24 +00:00
Nav
6873b2f53a Tidying 2024-12-15 17:34:11 +00:00
Nav
40859201e4 Target driver passthrough commands
Added `pm` commands to manage the program mode of WCH targets
2024-12-15 17:32:58 +00:00
Nav
33ed399337 WCH RISC-V software breakpoints, and a few other bits of refactoring/tidying 2024-12-05 23:09:01 +00:00
Nav
a574fe3461 Tidying 2024-11-17 18:19:11 +00:00
Nav
9df41ccfc5 Made VCont step/continue command handlers generic (non-target-specific) 2024-10-25 23:12:04 +01:00
Nav
8be311cbc0 Refactored GDB server base class, making it a template class, allowing for much more flexibility for derived target-specific implementations 2024-10-25 22:22:25 +01:00
Nav
4e28d3c488 Present register width as opposed to register byte size in new register access GDB monitor commands 2024-10-20 00:23:00 +01:00
Nav
7a54632966 Implemented disabling of GDB packet acknowledgement, and disabled it by default. The new packetAcknowledgement debug server config param can be used to keep it enabled. 2024-10-19 23:10:34 +01:00
Nav
cb35051e6d Tweak to help text for GDB monitor commands 2024-08-29 21:21:38 +01:00
Nav
48bd656b6d Handle bad conversion in wr GDB monitor command handler 2024-08-28 19:24:41 +01:00
Nav
609400b375 Tweaks to help text for GDB monitor commands 2024-08-28 19:10:47 +01:00
Nav
3b91b99fe3 Added help text for new wr GDB mintor command. Also some small tweaks to other help text 2024-08-27 22:24: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
7bcb81b7c8 Tidying 2024-08-27 00:20:22 +01:00
Nav
ff5b387ef5 Second pass at GDB monitor help command handler refactor.
Also added help text for the new `lr` and `rr` commands.
2024-08-26 23:14:35 +01:00
Nav
e1216b7cc0 Tidying 2024-08-26 21:34:29 +01:00
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