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

Jan Kratochvil
2012-06-17T06:50:52Z

On Sun, 17 Jun 2012 04:52:28 +0200, Eli Zaretskii wrote:
> > 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.

All these settings you can perfectly change even by -ex, after inferior has
been loaded.

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

(a) Development snapshot should not make future guarantees (while releases
do), IMO.
(b) As stated before I do not see when anything can break. Things can just
get working.

Regards,
Jan