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] Implement $_version; for auto-load commands in ~/.gdbinit


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

Jan> Apparently that would not work.  Probably either:
Jan> 	if $_have_ignore_errors

That would be ok with me.

Jan> 		set ignore-errors yes
Jan> 		add-auto-load-safe-path ~/src
Jan> 		set ignore-errors no

The python ignore-errors I wrote works like:

    ignore-errors add-auto-load-safe-path ~/src

I find it simpler.

Tom


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