This is the mail archive of the gdb-patches@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]

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


>  (gdb) q
>  A debugging session is active.
> 
>          Inferior 1 [process 17555] will be killed.
> 
>  Do you still want to close the debugger? (y or n)
[...]
>  (gdb) q
>  A debugging session is active.
> 
>          Inferior 1 [process 22005] will be killed.
>          Inferior 2 [process 22323] will be killed.
>          Inferior 3 [process 22656] will be detached.
> 
>  Do you still want to close the debugger? (y or n) 
> 
> What do you think of something like that?

That looks pretty good to me :).

> +struct piqa_args
> +{
> +  int count;
> +  struct ui_file *stb;
> +};

Hmmm, given the relatively cryptic name of the structure, a little
comment explaining what it's for would probably be useful...

-- 
Joel


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