This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 5/7] PR gdb/15224 , Change the default set history filename to ~/.gdb_history.


> Date: Wed, 22 May 2013 18:24:13 +0100
> From: Pedro Alves <palves@redhat.com>
> CC: mbilal <mbilal@codesourcery.com>, gdb-patches@sourceware.org,
>         jan.kratochvil@redhat.com
> 
> At startup time, if "set history filename" hasn't been
> used (tracked with a new global flag), then check whether there's
> a $cwd/.gdb_history file, and if so, output a warning stating that
> it's no longer read by default.  The warning could also
> suggest adding "set history filename .gdb_history" to .gdbinit
> to get back the old behavior.

That's even more annoying, IMO.

I think gratuitous backward incompatibility is evil, especially in
programs, like GDB, where there are no good facilities for
version-specific scripting.  We are breaking scripts out there for no
good reason, and we aren't giving the users of those scripts _any_
means to get their previous behavior cleanly.

But I know I'm somehow in the minority here.  It's probably the age or
something.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]