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: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 25 Feb 2012 17:53:42 +0100
- Subject: Re: [patch 2/2] [+doc] New -iex and -ix: -ex and -x before inferior load
- References: <20120225134940.GC15155@host2.jankratochvil.net> <834nuesy34.fsf@gnu.org>
On Sat, 25 Feb 2012 16:59:43 +0100, Eli Zaretskii wrote:
> > +--init-command=FILE, -ix Like --init-command, -x but execute it
> > + 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.
>
> How about if we don't have short versions of these at all?
Originally I had -initx and -initex, if it would be OK for you.
These options are just for convenience, which contradicts me the long options
--init-eval-command. Still even --init-eval-command is better than nothing.
> OK with those changes.
I will change those.
Thanks,
Jan