This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 2/2] [+doc] New -iex and -ix: -ex and -x before inferior load
- From: Doug Evans <dje at google dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: Jan Kratochvil <jan dot kratochvil at redhat dot com>, gdb-patches at sourceware dot org
- Date: Tue, 28 Feb 2012 08:25:17 -0800
- Subject: Re: [patch 2/2] [+doc] New -iex and -ix: -ex and -x before inferior load
- Authentication-results: mr.google.com; spf=pass (google.com: domain of dje@google.com designates 10.52.25.107 as permitted sender) smtp.mail=dje@google.com; dkim=pass header.i=dje@google.com
- References: <20120225134940.GC15155@host2.jankratochvil.net> <834nuesy34.fsf@gnu.org>
On Sat, Feb 25, 2012 at 7:59 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>> Date: Sat, 25 Feb 2012 14:49:40 +0100
>> From: Jan Kratochvil <jan.kratochvil@redhat.com>
>>
>> --- a/gdb/NEWS
>> +++ b/gdb/NEWS
>> @@ -78,6 +78,13 @@ show breakpoint condition-evaluation
>> ? ?condition evaluation mode. ?The use of this extension can be controlled
>> ? ?via the "set remote conditional-breakpoints-packet" command.
>>
>> +* New command line options
>> +
>> +--init-command=FILE, -ix ? ? ? ? ?Like --init-command, -x but execute it
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^^^^^^^^^^^^^^
> You meant "--command", I believe.
>
>> + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?before loading inferior.
>> +--init-eval-command=COMMAND, -iex Like --eval-command=COMMAND, -ex but
>> + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?execute it before loading inferior.
>
> Is it really a good idea to have 2- or 3-letter short options? ?It
> started with -nw and -nx, which might make sense, then we added -ex,
> and now -ix and -iex? ?If noting else, this will prevent us from ever
> having -e and -i.
I don't understand.
We already have gdb -i=mi2 (for example).