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

Jan Kratochvil
2012-01-19T22:04:50Z

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