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: Andreas Schwab <schwab at linux-m68k dot org>
- To: Spencer Baugh <sbaugh at catern dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 22 Feb 2017 10:24:07 +0100
- 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> <87poia7st3.fsf@catern.com>
On Feb 21 2017, Spencer Baugh <sbaugh@catern.com> wrote:
> 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.
Shouldn't ID be optional then?
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."