From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24299 invoked by alias); 21 May 2014 11:50:49 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 24266 invoked by uid 48); 21 May 2014 11:50:48 -0000 From: "jan.smets@alcatel-lucent.com" To: gdb-prs@sourceware.org Subject: [Bug remote/12853] Unable to quit GDB if remote TCP connection is lost Date: Wed, 21 May 2014 11:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: remote X-Bugzilla-Version: 7.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jan.smets@alcatel-lucent.com X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: keiths at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q2/txt/msg00260.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=12853 Jan Smets changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |jan.smets@alcatel-lucent.co | |m Resolution|WORKSFORME |--- --- Comment #3 from Jan Smets --- Can someone please re-investigate? I'm having the same issue with 7.5 1) connect to a remote target 2) attach to a process 3) disconnect/reset the remote target 4) watch the timeout 5) try detaching or quit gdb (gdb) attach 165209617 Attaching to process 165209617 [New Thread 165209617.165209617] 0x07ab29bc in __memPoolInit () (gdb) c Continuing. ^C [Thread 165209617.165209617] #1 stopped. 0x07ab29bc in __memPoolInit () Ignoring packet error, continuing... Stopping Thread 165209617.165209617 failed: timeout (gdb) Ignoring packet error, continuing... Stopping Thread 165209617.165209617 failed: timeout (gdb) (gdb) Continuing. Cannot execute this command while the selected thread is running. (gdb) (gdb) exit Undefined command: "exit". Try "help". (gdb) quit A debugging session is active. Inferior 1 [process 165209617] will be detached. Quit anyway? (y or n) y Ignoring packet error, continuing... Bogus trace status reply from target: timeout (gdb) A debugging session is active. Inferior 1 [process 165209617] will be detached. .... (can't get out of GDB!!) -- You are receiving this mail because: You are on the CC list for the bug.