Commit Graph

964 Commits

Author SHA1 Message Date
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
8fa8cf48d9 Made the TargetController refuse commands that require the target to be stopped, when the target is running 2022-04-30 15:53:36 +01:00
Nav
29cc4bf60b Fixed bug with TargetController not being notified of new events 2022-04-30 15:51:47 +01:00
Nav
e98f37bfeb Changed GPIO pin direction label positioning, in QFP target package widget 2022-04-30 13:24:49 +01:00
Nav
75d18b45fb Adjusted QFP pin body widget size 2022-04-30 13:24:24 +01:00
Nav
2f80690d27 Changed my mind RE pin direction label text 2022-04-30 12:39:16 +01:00
Nav
1c1c00190f Changed pin direction label positioning and text, for DIP target widgets 2022-04-30 02:38:38 +01:00
Nav
e113ce296b Tweak to Registers tool button margins 2022-04-30 02:38:08 +01:00
Nav
6f576fb48d Tidying 2022-04-30 01:45:49 +01:00
Nav
01bc53ffce Added memory type, start address and size members to the MemoryWrittenToTarget event 2022-04-30 01:37:00 +01:00
Nav
ffc27a567b Replaced WriteMemoryToTarget event with TC command 2022-04-30 01:30:57 +01:00
Nav
63dc84aba0 Moved CMake installation rules into separate CMake file. Plus some other tidying 2022-04-29 22:12:47 +01:00
Nav
76e189162e Replaced StepTargetExecution event with TC command 2022-04-29 22:12:09 +01:00
Nav
3fc558f3e8 Added requiresStoppedTargetState() member function to TargetController command classes.
The TargetController will use this to determine whether to stop the target before handling a given command.
2022-04-29 22:06:05 +01:00
Nav
80405057f6 Tidying 2022-04-28 21:21:59 +01:00
Nav
178df2d9e0 Fixed that very annoying label bug, where the 'g' in the Registers label (in the Target Registers tool button) was being clipped. 2022-04-28 21:08:31 +01:00
Nav
fa037a81b1 Replaced nasty onInsightStateChangedEvent event handler in TargetController with new GetTargetState command 2022-04-28 21:06:57 +01:00
Nav
5a8aa3d657 New GetTargetState TargetController command 2022-04-28 21:05:53 +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
f42abe1342 Tidying 2022-04-24 23:24:58 +01:00
Nav
417a716e10 Removed unused TargetControllerConsole function 2022-04-24 18:59:55 +01:00
Nav
391b742d8b Replaced RetrieveMemoryFromTarget event with TC command 2022-04-24 18:55:19 +01:00
Nav
6e4364b43a Corrected unnecessary reloading of target pin states upon writing to a pin register (via Insight) 2022-04-24 17:46:35 +01:00
Nav
67677e6ea7 Replaced WriteRegistersToTarget event with TC command 2022-04-24 17:37:58 +01:00
Nav
0c4b5a864e Improved debug logging in TC CommandManager 2022-04-24 16:54:05 +01:00
Nav
e662d0b57a Replaced RetrieveRegistersFromTarget event with TC command 2022-04-24 16:41:40 +01:00
Nav
a2d7cb8dc8 Corrected TC CommandManager::sendCommandAndWaitForResponse() return type deduction 2022-04-24 16:38:07 +01:00
Nav
55b363cc58 Corrected memory inspection panel UI bug where refresh button would remain disabled when it shouldn't 2022-04-24 16:12:46 +01:00
Nav
e61d651a24 Defined new finished() signal in InsightWorkerTask 2022-04-24 15:31:38 +01:00
Nav
2f2fbfcd0f Tidying 2022-04-23 17:41:28 +01:00
Nav
b3694970bf Replaced ResetTarget event with TC command 2022-04-23 17:41:02 +01:00
Nav
7ba997572a Fixed bug with Insight GUI failing to properly process the TargetExecutionResumed event 2022-04-23 17:30:22 +01:00
Nav
a52f114b78 Corrected EventListener::dispatchCurrentEvents() bug, where it was only processing one event of each type 2022-04-21 23:46:55 +01:00
Nav
9450376075 Removed static linking of libgcc and libstdc++ - this was not necessary 2022-04-21 22:33:41 +01:00
Nav
5da06f22d1 Replaced ResumeTargetExecution event with TC command 2022-04-19 21:12:59 +01:00
Nav
fa4f5e3427 Replaced StopTargetExecution event with TC command 2022-04-18 18:50:23 +01:00
Nav
5efffc6605 Added member function to deregister TargetController command handlers 2022-04-18 18:49:49 +01:00
Nav
0a21526a68 Tidying 2022-04-17 23:56:57 +01:00
Nav
13f5c13065 Implemented new command-response-based interface for the TargetController 2022-04-17 23:55:34 +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
a8c78dc86a Added timeout to ConditionVariableNotifier::waitForNotification() function 2022-04-15 23:30:57 +01:00
Nav
bd6a5d5051 New ConditionVariableNotifier (implementation of NotifierInterface, using an std::condition_variable) 2022-04-15 22:30:26 +01:00
Nav
3b0b39fe83 Tidying 2022-04-15 22:06:38 +01:00
Nav
ec060a469b Renamed EventNotifer to EventFdNotifier and employed new NotifierInterface 2022-04-15 22:05:50 +01:00
Nav
3509d0de78 New NotiferInterface class, for describing the interface used to notify different components within Bloom, of any important events. 2022-04-15 22:04:02 +01:00
Nav
bc47b1546f These changes should have been in a previous commit, for tidying the SyncSafe class 2022-04-15 14:32:26 +01:00