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] New set auto-load-local-gdbinit + disable it by default


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> On Tue, 17 Jan 2012 18:54:57 +0100, Eli Zaretskii wrote:
>> ??? How's the .gdbinit file that comes with Emacs "malicious"?

Jan> If one runs "gdb" one expects to get "gdb".

Jan> If one runs "gdb" in any of these directories (Emacs) one surprisingly gets
Jan> some weirdly behaving beast instead.

I'm not convinced by this line of argument.

I think gdb has touted this -- rightly -- as a feature.  And, if
anything, I think we've gone even more in this direction in recent
years, what with pretty-printers and Python auto-loading.  Furthermore,
I think this is a good trend in general; applications are getting more
complex, and this provides an important way to adapt the debugger to
them.

That said, I agree with your conclusions for other reasons.

Tom


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