public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "keiths at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug remote/12853] Unable to quit GDB if remote TCP connection is lost
Date: Mon, 14 Nov 2011 22:08:00 -0000	[thread overview]
Message-ID: <bug-12853-4717-ZaNDviog9E@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-12853-4717@http.sourceware.org/bugzilla/>

http://sourceware.org/bugzilla/show_bug.cgi?id=12853

Keith Seitz <keiths at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
                 CC|                            |keiths at redhat dot com
         AssignedTo|unassigned at sourceware    |keiths at redhat dot com
                   |dot org                     |

--- Comment #1 from Keith Seitz <keiths at redhat dot com> 2011-11-14 22:08:14 UTC ---
I cannot reproduce with the 7.3 branch (7.3.1-20111104-cvs) or CVS HEAD. I've
tried this on cygwin, too (Windows 2008 Server):

SHELL A:
$ gdbserver :1234 foo
Process foo created; pid = 1936
Listening on port 1234

SHELL B:
$ gdb -nx -q foo
(gdb) b main
Breakpoint 1 at 0x401196: file foo.c, line 6.
(gdb) tar remote :1234
Remote debugging using :1243
warning: Can not parse target XML description; XML support was disabled at
compile time
warning: Can not parser XML library list; XML support was disabled at compile
time
0x775e0005 in ?? ()
(gdb) c
Breakpoint 1, main () at foo.c:6
6   return 0;
(gdb)

SHELL C:
$ ps waux | grep gdbserver | kill `awk '{print $1}'`

SHELL B:
(gdb) quit
A debugging session is active.

     Inferior 1 [Remote target] will be killed.

Quit anyway? (y or n) y
qTStatus: remote connection closed
$ 

Can you verify any of this or provide me with a test that demonstrates the
problem better?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


  parent reply	other threads:[~2011-11-14 22:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-07 12:54 [Bug remote/12853] New: " jon at beniston dot com
2011-06-07 12:54 ` [Bug remote/12853] " jon at beniston dot com
2011-11-14 22:08 ` keiths at redhat dot com [this message]
2012-08-28 16:44 ` keiths at redhat dot com
2014-05-21 11:50 ` jan.smets@alcatel-lucent.com
2014-05-21 11:51 ` jan.smets@alcatel-lucent.com
2014-05-21 11:54 ` jan.smets@alcatel-lucent.com
2014-05-21 23:23 ` palves at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-12853-4717-ZaNDviog9E@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).