Commit Graph

204 Commits

Author SHA1 Message Date
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
Nav
f7feef9ea1 New GDB "monitor reset" command packet class 2022-04-08 22:23:30 +01:00
Nav
583b01fa34 New GDB Monitor command packet class, for "qRcmd" command packets 2022-04-08 22:19:20 +01:00
Nav
908f1c42c9 Tidied GDB debug logging 2022-04-08 22:17:46 +01:00
Nav
26f648e132 Handling vMustReplyEmpty GDB command packet 2022-04-08 22:17:22 +01:00
Nav
460d8ceb15 New GDB RSP EmptyResponsePacket class 2022-04-08 22:17:03 +01:00
Nav
42fd57cb6a Tidied GDB response packet classes 2022-04-06 17:39:21 +01:00
Nav
7fdfa389da Added ResponsePacket constructor with string param 2022-04-06 17:10:57 +01:00
Nav
203b6ff86f Renamed Packet::dataToHex() member function 2022-04-06 16:45:57 +01:00
Nav
7b5ce83b50 More tidying 2022-04-05 22:37:00 +01:00
Nav
b8e34b87d3 Tidied GDB RSP debug server 2022-04-05 18:51:25 +01:00
Nav
76fed8df72 Created subdirectory CMakeLists.txt files and moved source specifications from root CMakeLists.txt file 2022-04-04 22:21:42 +01:00
Nav
17c301b57a Tidied AVR GDB memory access command packet classes 2022-04-04 22:21:42 +01:00
Nav
80d7c9588f Removed init() member function from AVR GDB command packet classes 2022-04-04 22:21:42 +01:00
Nav
821f10ba79 Updated GDB server documentation 2022-04-04 22:21:42 +01:00
Nav
d8a25fe264 Removed unnecessary init() member functions in command packet classes. 2022-04-04 22:21:42 +01:00
Nav
ffd57c94fa Tidying 2022-04-04 22:21:42 +01:00
Nav
81ff76a1a3 More tidying in GDB command packet classes 2022-04-04 22:21:42 +01:00
Nav
2febc27805 Tidying CommandPacket base class handle() implementation - removed unnecessary copy and improved const correctness. And some other tidying 2022-04-04 22:21:42 +01:00
Nav
ac534eef95 Made a start with documentation for the GDB server implementation 2022-04-04 22:21:42 +01:00
Nav
62375c306c Tidying SetBreakpoint GDB command class 2022-04-04 22:21:42 +01:00
Nav
a41ad9be75 Tidying DebugServerComponent class 2022-04-04 22:21:42 +01:00
Nav
2aa240a680 Renamed GdbRsp directory to Gdb 2022-04-04 22:21:42 +01:00
Nav
01d52bb130 Tidying 2022-04-04 22:21:42 +01:00