Community
Participate
Working Groups
Build Identifier: When -gdb-exit is sent by GDBControl(_7_0) in terminate(RequestMonitor) using createMiGDBExit it can arrive before other commands which should be sent first arrive. For example when the inferior has just exited and this is the reason why terminate is being called "-data-evaluate-expression $_exitcode" needs to be sent to check the exit code of the just terminated inferior but this can arrive after -gdb-exit and so not return correctly. To fix this wait two executor dispatch cycles before sending the -gdb-exit. I have a patch to do this. Reproducible: Always
Created attachment 203783 [details] Patch adding delayedQueueCommand to AbstractMIControl and using it in GDBControl*