Commit Graph

738 Commits

Author SHA1 Message Date
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
a0c493abaa Small tweaks to Insight hex viewer address labels 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
Nav
a59eeac4de DebugServer documentation - Included a brief summary on event interrupts for blocking I/O operations in debug server implementations 2022-04-04 22:21:42 +01:00
Nav
18db2faa2d Documentation typos/corrections/additions 2022-04-04 22:21:42 +01:00
Nav
9b4ad3e750 Updated main README to include link to new DebugServer documentation and some tidying 2022-04-04 22:21:42 +01:00
Nav
a3927f7f44 Started writing some documentation for the DebugServer component. 2022-04-04 22:21:42 +01:00
Nav
2370a3c1a2 Tidying 2022-04-04 22:21:42 +01:00
Nav
a131833379 Renamed DebugServers directory to DebugServer 2022-04-04 22:21:42 +01:00
Nav
ac9fad3726 Renamed DebugServers namespace to DebugServer 2022-04-04 22:21:42 +01:00
Nav
e52ef609a4 Renamed DebugServer class to DebugServerComponent 2022-04-04 22:21:42 +01:00
Nav
74977804b1 Tidying 2022-04-04 22:21:42 +01:00
Nav
97776f12e0 Tidied GDB Connection class and made it adhere to the RAII approach 2022-04-04 22:21:42 +01:00
Nav
a743381d8c Const-correctness for EpollInstance RAII wrapper 2022-04-04 22:21:42 +01:00
Nav
0b34b6fbab Tidying 2022-04-04 22:21:42 +01:00
Nav
b339bfe016 Using new RAII epoll instance wrapper in GDB server and Connection class 2022-04-04 22:21:42 +01:00
Nav
2b55f8f5ea New RAII wrapper for Linux epoll instances 2022-04-04 22:21:42 +01:00
Nav
3bd09bdc84 Included AVR GDB specific implementations of the read and write memory GDB command packets. 2022-04-04 22:21:42 +01:00
Nav
7a655f1223 Moved GDB packet parsing out of CommandPacketFactory and deleted that class 2022-04-04 22:21:42 +01:00
Nav
28ea24c614 Tidying 2022-04-04 22:21:42 +01:00
Nav
f848fdfc40 Removed EventNotifier object management from GDB Connection class 2022-04-04 22:21:42 +01:00
Nav
934c4b2820 Created new ServerInterface class and refactored the AVR GDB RSP debug server into an implementation of ServerInterface 2022-04-04 22:21:42 +01:00
Nav
5d3211dc68 Removed EventNotifier object management from EventListener class and added a getter function 2022-04-04 22:21:42 +01:00
Nav
c002bd0f0e Tidying 2022-04-04 22:21:42 +01:00
Nav
e18a9bad19 Removed invalid copy-constructor call for GdbRspDebugServer::activeDebugSession member 2022-04-04 22:21:42 +01:00
Nav
013c3072c0 Corrected name conflict in DebugSession 2022-04-04 22:21:42 +01:00
Nav
59c7580644 Corrected OkResponsePacket constructor name 2022-04-04 22:21:42 +01:00
Nav
de39ed88d3 Corrected out-of-scope object access in lambda, in GDB ReadRegister packet handling 2022-04-04 22:21:42 +01:00
Nav
95b9ffef57 Added getRegisterNumbers() member function to GDB target descriptor 2022-04-04 22:21:42 +01:00
Nav
e2bbb72b8a Made GDB target descriptor register functions const 2022-04-04 22:21:42 +01:00
Nav
07bcd07b4c Removed Targets::TargetDescriptor reference from GDB target descriptor - was unnecessary 2022-04-04 22:21:42 +01:00
Nav
db1efa7566 Corrected missing QT macro error and removed indirect include-dependency 2022-04-04 22:21:42 +01:00
Nav
0e71222363 Removed unused class member in AVR GDB target descriptor class 2022-04-04 22:21:42 +01:00
Nav
1bb099f007 Fixed AVR GDB target descriptor initialisation 2022-04-04 22:21:42 +01:00
Nav
0a9e00aad9 Corrected broken namespace (regression of renaming) 2022-04-04 22:21:42 +01:00
Nav
2b3a6fd27f Moved GDB command packet handling to individual CommandPacket classes 2022-04-04 22:21:42 +01:00
Nav
df5a904a43 New debug session class 2022-04-04 22:21:42 +01:00
Nav
01396afcec Renamed AvrGdbRsp directory to AvrGdb and moved target register functions to new GDB target descriptor class 2022-04-04 22:21:42 +01:00
Nav
5d58bbde07 New GDB target descriptor class 2022-04-04 22:21:42 +01:00
Nav
77d431cb0f New ErrorResponsePacket class for GDB errors 2022-04-04 22:21:42 +01:00
Nav
1511a8483a Renamed unused GDB Ok response packet 2022-04-04 22:21:42 +01:00