This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug remote/15275] gdb quit command fails if remote serial link isbroken


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]