Re: [patch] -iex and -ix: Execute them _after_ gdbinits

Eli Zaretskii
2012-06-17T02:52:39Z

> Date: Sat, 16 Jun 2012 23:31:49 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> Cc: gdb-patches@sourceware.org
>
> On Sat, 16 Jun 2012 23:14:15 +0200, Eli Zaretskii wrote:
> > My concern is about what happens before ~/.gdbinit is loaded, so
> > nothing that happens after that can resolve that.
>
> I do not understand which command would you want to run before ~/.gdbinit.
> Real world ~/.gdbinit should only change settings or define new commands.

GDB has a gazillion settings, so this still includes a lot of
possibilities.

> > > I have not found a use case where the current behavior is better.
> >
> > It doesn't have to be better. It has the advantage of being there
> > first. It's the new behavior that must have a significant advantage
> > to justify an incompatible change of behavior.
>
> The idea is that this is not a "change" as 7.4 did not have -iex at all.

That doesn't matter much nowadays, as people use development snapshots
all the time.