This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdb: add "-a" option for inferior commands
- From: Spencer Baugh <sbaugh at catern dot com>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 21 Feb 2017 23:28:24 -0500
- Subject: Re: [PATCH] gdb: add "-a" option for inferior commands
- Authentication-results: sourceware.org; auth=none
- References: <20161229205458.319-1-sbaugh@catern.com> <87vau2h0wl.fsf@linux-m68k.org>
Andreas Schwab <schwab@linux-m68k.org> writes:
> On Dez 29 2016, Spencer Baugh <sbaugh@catern.com> wrote:
>
>> @@ -1055,8 +1101,8 @@ as main program."));
>> set_cmd_completer (c, filename_completer);
>>
>> add_com ("remove-inferiors", no_class, remove_inferior_command, _("\
>> -Remove inferior ID (or list of IDs).\n\
>> -Usage: remove-inferiors ID..."));
>> +Remove inferior ID (or list of IDs, or all inferiors with -a).\n\
>> +Usage: remove-inferiors [-a] ID..."));
>
> What is the meaning of ID if -a is present?
ID is ignored if -a is present.