Commit Graph

148 Commits

Author SHA1 Message Date
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
Nav
b8ca1fbc41 Tidying 2023-02-20 21:55:55 +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
b5dfa4a842 Tidying GDB packet class 2023-01-21 13:40:39 +00:00
Nav
6b4d3ecb26 Moved toHex functions to String helper class 2023-01-21 13:37:56 +00:00
Nav
af2d7c8856 Increased max packet size in GDB debug server 2022-12-13 21:10:40 +00:00
Nav
76a0207701 Added EraseTargetMemory TC command 2022-12-11 23:25:15 +00:00
Nav
deec72d168 Convert relative EEPROM addresses to absolute addresses in GDB memory access command packet handlers. 2022-12-11 15:26:14 +00:00
Nav
41924a83b5 Corrected bug with resolving memory types from GDB memory addresses 2022-12-10 21:36:49 +00:00
Nav
c9f165f9a9 Added description of new eeprom fill monitor command to GDB help text 2022-12-10 19:47:42 +00:00