[RFA] Re: [RFC] Warn about what will happen to all inferiors on "quit"

Joel Brobecker brobecker@adacore.com
Sat Nov 15 23:36:00 GMT 2008


> Here's an updated patch that adds some more commenting and
> makes things a bit clearer codewise, I guess.  I've also updated the
> output a wee bit in the case where there are just too many inferiors
> to print --- now it tells how many extra will be detached
> or killed, instead of just saying how many there are.

This looks nice to me :).

> 2008-11-13  Pedro Alves  <pedro@codesourcery.com>
> 
> 	gdb/
> 	* top.c (struct piqa_args): New.
> 	(print_inferior_quit_action): New.
> 	(quit_confirm): Rewrite to print info about all inferiors.
> 
> 2008-11-13  Pedro Alves  <pedro@codesourcery.com>
> 
> 	gdb/testsuite/
> 	* gdb.threads/killed.exp, gdb.threads/manythreads.exp,
> 	gdb.threads/staticthreads.exp: Adjust.

-- 
Joel



More information about the Gdb-patches mailing list