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


On Thu, 19 Jan 2012 22:47:26 +0100, Doug Evans wrote:
> On Thu, Jan 19, 2012 at 1:31 PM, Jan Kratochvil
> <jan.kratochvil@redhat.com> wrote:
> > set auto-load libthread_db
> 
> What's the semantics of this?

set auto-load libthread_db [yes|no]

If one is found it checks `set auto-load safe-path' and appropriately loads it
or just warns on it.

I am aware one can already do `set libthread-db-search-path /_X' instead of
`set auto-load libthread_db no' but this way all to auto-loads will be at one
place.

Sorry I do not yet have it coded, this was just a draft.


Thanks,
Jan


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