This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug remote/15275] gdb quit command fails if remote serial link isbroken
- From: "gareth at blacksphere dot co.nz" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 14 Mar 2013 01:13:31 +0000
- Subject: [Bug remote/15275] gdb quit command fails if remote serial link isbroken
- Auto-submitted: auto-generated
- References: <bug-15275-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15275
--- Comment #1 from Gareth McMullin <gareth at blacksphere dot co.nz> 2013-03-14 01:13:31 UTC ---
The CLI 'quit' command quit_command() calls disconnect_tracing() which
ultimately calls the failing putpkt() that raises an exception causing GDB not
to exit.
The MI '-gdb-exit' command mi_cmd_gdb_exit() never calls disconnect_tracing()
and therefore exits correctly.
I've never used tracing, but I assume this is an error and disconnect_tracing()
should be called from mi_cmd_gdb_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.