public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug remote/15275] New: gdb quit command fails if remote serial link is broken
@ 2013-03-13 23:51 gareth at blacksphere dot co.nz
  2013-03-13 23:54 ` [Bug remote/15275] " gareth at blacksphere dot co.nz
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: gareth at blacksphere dot co.nz @ 2013-03-13 23:51 UTC (permalink / raw)
  To: gdb-prs

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

             Bug #: 15275
           Summary: gdb quit command fails if remote serial link is broken
           Product: gdb
           Version: 7.5
            Status: NEW
          Severity: normal
          Priority: P2
         Component: remote
        AssignedTo: unassigned@sourceware.org
        ReportedBy: gareth@blacksphere.co.nz
    Classification: Unclassified


If debugging with a remote connection over a serial link and the link is
disconnected, say by disconnecting USB serial port, the GDB quit command no
longer works.  GDB must be forcibly killed.  The MI -gdb-exit command does
still work.

This is tested on a Debian Wheezy amd64 host system with GDB 7.5.1 for
arm-none-eabi target.

This may be a duplicate of bug 11221 and/or 12853 as the symptoms are very
similar.

(gdb) 
tar ext /dev/ttyACM0
&"tar ext /dev/ttyACM0\n"
~"Remote debugging using /dev/ttyACM0\n"
^done
(gdb) 
set debug remote 1
&"set debug remote 1\n"
^done
(gdb) 
quit
&"quit\n"
&"Sending packet: $qTStatus#49..."
&"putpkt: write failed: Input/output error.\n"
^error,msg="putpkt: write failed: Input/output error."
(gdb) 
-gdb-exit
^exit

-- 
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.


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2013-04-10 14:10 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-13 23:51 [Bug remote/15275] New: gdb quit command fails if remote serial link is broken gareth at blacksphere dot co.nz
2013-03-13 23:54 ` [Bug remote/15275] " gareth at blacksphere dot co.nz
2013-03-14  1:13 ` gareth at blacksphere dot co.nz
2013-03-14  1:32 ` gareth at blacksphere dot co.nz
2013-03-20 17:09 ` jan.kratochvil at redhat dot com
2013-03-25 19:59 ` jan.kratochvil at redhat dot com
2013-03-27 18:20 ` cvs-commit at gcc dot gnu.org
2013-03-27 18:21 ` cvs-commit at gcc dot gnu.org
2013-03-27 18:23 ` jan.kratochvil at redhat dot com
2013-04-02 13:51 ` cvs-commit at gcc dot gnu.org
2013-04-02 13:54 ` cvs-commit at gcc dot gnu.org
2013-04-02 14:09 ` cvs-commit at gcc dot gnu.org
2013-04-02 14:11 ` cvs-commit at gcc dot gnu.org
2013-04-10 14:10 ` cvs-commit at gcc dot gnu.org

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).