This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Warn about what will happen to all inferiors on "quit"
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Michael Snyder <msnyder at vmware dot com>
- Cc: Pedro Alves <pedro at codesourcery dot com>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Thu, 13 Nov 2008 15:00:00 -0800
- Subject: Re: [RFC] Warn about what will happen to all inferiors on "quit"
- References: <200811132155.16758.pedro@codesourcery.com> <491CAFDF.7060109@vmware.com>
> I wonder if you might want to iterate thru the attached/child
> processes, and give the user a choice about what to do with each
> one?
In my opinion, it would be too painful in practice for the default
case. If the user decides to not follow the default, he can still
cancel the "quit", and then use detach and kill for the processes
he wants to treat differently. Once done, he can quit.
--
Joel