Re: [patch] New set auto-load-local-gdbinit + disable it by default

Tom Tromey
2012-01-17T20:56:43Z

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

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

Jan> In such case the `canned sequences of commands' should be bound to
Jan> the binary, not to the directory. One (me) runs GDB for so many
Jan> different executablse while staying in src/gdb/ .

Yeah, well...

It is fixable if you think it is important enough.
I personally just use -nx in these cases.

Tom