Commit Graph

209 Commits

Author SHA1 Message Date
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
4c47bda7b3 New PartialResponsePacket class for delivering partial responses to GDB 2024-08-26 12:37:41 +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
75d5124265 Moved TargetRegisterDescriptor struct to separate file 2024-03-09 17:16:29 +00:00
Nav
d3c7cddb82 Added TargetFamily to TargetDescriptor and comparability check in AVR GDB debug server 2023-11-22 00:37:29 +00: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
dce6d778a8 Enable range stepping by default 2023-09-23 23:06:03 +01:00
Nav
ed3ddbe3fd Removed intercepting breakpoint on end address of a stepping range. Replaced with runTo operation 2023-09-23 21:51:09 +01:00
Nav
24ce9aeacb Disable range stepping by default 2023-09-22 16:51:24 +01:00
Nav
b5df37ae9b Removed TargetProgramCounter type alias 2023-09-21 00:40:30 +01:00
Nav
611ad70d6b Renaming rangeSteppingEnabled GDB server config param to rangeStepping 2023-09-21 00:30:21 +01:00
Nav
d7b59cac59 Support for hardware breakpoints 2023-09-20 23:43:29 +01:00
Nav
df5a141089 Tidying 2023-09-20 23:29:58 +01:00
Nav
be5e89456c Fall back to single stepping if address range from GDB is less than one word. 2023-09-16 03:06:18 +01:00
Nav
4348a6d88c Corrected handling of empty address range in range step GDB command 2023-09-11 16:57:14 +01:00
Nav
008f5bb62e When range stepping, start with a single step, as expected by GDB 2023-09-11 16:56:37 +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
1d0f30db7a New rangeSteppingEnabled server config param 2023-09-10 21:50:32 +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
9faab27ad7 Updated invalid code references that were still using the old Bloom namespace. 2023-08-20 15:50:05 +01:00
Nav
9a6e22e6c7 Corrected member initialisation order (addressing -Wreorder warnings) 2023-08-19 21:53:00 +01:00
Nav
c622c9bd2e Fixed missing includes which were resulting in failed builds with GCC 13+. Thanks to @jpf91 for reporting 2023-08-19 17:12:40 +01:00
Nav
5896306f1a Removed redundant 'Bloom' namespace from entire codebase 2023-08-13 15:47:51 +01:00
Nav
9f3761879a Used TC atomic session in GDB ReadRegisters handler, to prevent Insight causing delays in the GDB session. 2023-07-18 23:17:13 +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
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
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
e2f202d5c9 Stop printing non-ASCII characters from GDB in debug logs 2023-05-07 16:45:04 +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
7aa1639df2 Tidying 2023-02-20 21:55:55 +00:00