From 8753889c63ad60460c0dca589ca96ecb18524822 Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 5 Jan 2021 13:46:17 +0100 Subject: [PATCH] Debugger: Use handleInferiorPrepared also for AttachToRemoteProcess Same pattern as the other scenarios. Change-Id: I065783b9ced3ad31a1918b48b44116071bb98d75 Reviewed-by: Christian Stenger --- src/plugins/debugger/gdb/gdbengine.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index 6cf3ac5a766..69120534f12 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -4058,8 +4058,7 @@ void GdbEngine::setupInferior() if (rp.startMode == AttachToRemoteProcess) { - notifyEngineSetupOk(); - runEngine(); + handleInferiorPrepared(); } else if (isAttachEngine()) { // Task 254674 does not want to remove them