Commit Graph

138 Commits

Author SHA1 Message Date
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
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
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
304e2ab7c6 Tidying 2022-12-08 21:26:56 +00:00
Nav
831021eb36 Adjusted GDB memory map to include EEPROM in ram section. Also added EEPROM offset to the AVR GDB target descriptor 2022-12-08 21:18:04 +00:00
Nav
b3fb3f0955 Lots of tidying 2022-12-03 22:16:21 +00:00
Nav
8d0e170a04 Added warning when GDB client sends invalid packet 2022-11-18 20:49:17 +00:00
Nav
89b02474a9 More bits of refactoring in the GDB RSP server implementation 2022-11-18 20:26:20 +00:00
Nav
35a6172b24 Refactored Bloom::DebugServer::Gdb::Connection::read() routine 2022-11-17 21:00:45 +00:00