Commit Graph

170 Commits

Author SHA1 Message Date
Nav
c9a8220500 Suspend TargetController upon GDB detach, if running under CLion 2022-09-15 00:33:01 +01:00
Nav
98963ef4a8 New resume & suspend TargetController commands 2022-09-14 22:05:50 +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
2ae3786130 Removed MemoryAccessCommandPacket class and moved GDB memory offsets to GDB TargetDescriptor class 2022-08-30 02:04:40 +01:00
Nav
2372b93e11 Improved RAII of DebugSession class 2022-08-13 03:06:37 +01:00
Nav
b69e0a69d0 Tidying 2022-07-23 17:56:20 +01:00
Nav
ae5747e79b Replaced project configuration format from JSON to YAML 2022-07-23 15:39:00 +01:00
Nav
24062ef934 Included register descriptors in the TargetInfoMachine GDB command response 2022-06-05 22:42:14 +01:00
Nav
0521b1f986 Tidying 2022-06-05 17:01:14 +01:00
Nav
40b1183f6b Moved vFlashDone GDB command packet handelr to separate class 2022-06-05 16:15:12 +01:00
Nav
9b8d4f054b Enabled programming mode in response to GDB's vFlashErase and vFlashWrite packets 2022-06-05 16:14:14 +01:00
Nav
b3af06654c Tidying 2022-06-04 15:20:37 +01:00
Nav
df0328cef7 Tidying 2022-06-03 01:45:19 +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
eaa34ef2af Removed flash memory write restriction for AVR GDB write memory command packet 2022-05-29 18:35:50 +01:00
Nav
71fe9e66fe Tidying 2022-05-29 17:19:06 +01:00
Nav
b5b0969c37 Support for vFlashDone GDB command packet 2022-05-29 17:18:56 +01:00
Nav
1a541dcd17 Support for vFlashWrite GDB command packet 2022-05-29 17:18:29 +01:00
Nav
9bf0e30de8 Support for vFlashErase GDB command packet 2022-05-28 22:47:25 +01:00
Nav
ead657b4af Tidying 2022-05-15 12:05:46 +01:00
Nav
97da8394c8 Corrected base of offset and length integers, in ReadMemoryMap GDB command packet class 2022-05-14 23:44:08 +01:00
Nav
4ab955a6f7 Permitted GDB to read two bytes above the end address of SRAM 2022-05-14 22:44:26 +01:00
Nav
72b3d271a2 Tidying 2022-05-14 22:43:35 +01:00
Nav
f1e20c81a2 Added support for GDB's 'qXfer:memory-map:read::...' command packet. 2022-05-14 22:43:08 +01:00
Nav
6a4bf89706 Moved GDB supported feature set to DebugSession object 2022-05-14 22:38:49 +01:00
Nav
b19110ff62 Moved Application::getCommandToHandlerMapping() implementation to Application.cpp
And some other tidying
2022-05-06 19:34:12 +01:00
Nav
a60f780287 New custom GDB command to output target info in JSON format 2022-05-06 19:31:33 +01:00
Nav
52c9669d14 Tidying 2022-05-05 20:15:04 +01:00
Nav
6970fd674b Added "monitor help" command, to display help text on supported GDB custom commands 2022-05-05 20:14:59 +01:00
Nav
4a9c26b73e Added "monitor version machine" command, to display the current Bloom version in JSON format 2022-05-05 20:14:23 +01:00
Nav
c9d1dd92a3 Added "monitor version" command, to display the current Bloom version 2022-05-05 20:13:30 +01:00
Nav
a28ee42239 Corrected regression bug with validating memory addresses in GDB memory access command packets 2022-05-04 20:47:48 +01:00
Nav
7b25fa4b5c Added memory address and type validation in GDB memory access command packets (fixes https://github.com/navnavnav/Bloom/issues/37) 2022-05-04 19:57:41 +01:00
Nav
38f6f21627 Renamed DebugSession::targetDescriptor to DebugSession::gdbTargetDescriptor 2022-05-04 19:49:18 +01:00
Nav
886f61f8a8 Referenced new TC documentation in DebugServer docs 2022-05-02 13:18:36 +01:00
Nav
e6cd1faef1 Removed EventManager and EventListener dependency from TargetControllerConsole class 2022-05-01 18:57:45 +01:00
Nav
226b663aea Moved responsibility of stopping and resetting the target at the beginning of the debug session to the DebugServer. 2022-04-30 16:22:51 +01:00
Nav
4b19db5505 Fixed bug with GDB debug server not allowing any time for the TargetController to wake up. 2022-04-27 22:08:14 +01:00
Nav
687e28718c Replaced ReportTargetControllerState event with TC command and renamed TargetControllerStateReported event 2022-04-27 22:07:14 +01:00
Nav
8d26340c41 Tidying 2022-04-17 14:50:40 +01:00
Nav
fe665cb763 Corrected bug in GDB InterruptExecution command handler, where a failure to interrupt target execution wasn't clearing the DebugSession::waitingForBreak flag 2022-04-16 21:22:48 +01:00
Nav
b05b3454e9 Handled GDB exceptions in TargetExecutionStopped event handler, to prevent them from propagating to the DebugServerComponent::run() and causing Bloom to shutdown. 2022-04-16 21:21:29 +01:00
Nav
3f368b10e7 Fixed bug in GDB Connection::read() function, where timeouts where being incorrectly treated as interrupts. 2022-04-16 21:20:13 +01:00
Nav
ec060a469b Renamed EventNotifer to EventFdNotifier and employed new NotifierInterface 2022-04-15 22:05:50 +01:00
Nav
8be1446e72 Moved TargetController components into new 'TargetController' namespace. 2022-04-09 15:57:24 +01:00
Nav
0655f058ef Used RawPacketType alias 2022-04-08 23:41:22 +01:00
Nav
603bc5423b Tidying 2022-04-08 22:24:02 +01:00