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] 09/10 Add "continue --all"


On Fri, May 09, 2008 at 01:08:28PM +0100, Pedro Alves wrote:
> - Keep throwing an error with "continue" on running thread, and
>   really add "continue -a,--all,?" ?

If you like the all prefix, then we can keep it even if it isn't
strictly an alias to thread apply all.  One way would be to register
subcommands of "thread apply all" just as all is registered as a
subcommand of thread; the help is not very clear about this but you
can specify "thread apply 1", too.  Another way would be to allow
commands to internally register a special function to be called under
apply-to-all.

If you don't like the all prefix then we can go back to continue
--all, or even just continue all.  Continue takes a numeric argument
and all will not conflict.

-- 
Daniel Jacobowitz
CodeSourcery


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