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

Jan Kratochvil
2012-01-19T21:32:07Z

On Thu, 19 Jan 2012 22:05:46 +0100, Tom Tromey wrote:
> I am sold on the security changes, but I'm not as convinced about the
> other stuff. In particular, as Doug points out, the PROGRAM-gdb.rc
> thing needs design work; but there doesn't seem to be a technical need
> to link this to a security improvement.

Yes, I am going to post it separately. The general plan is something like:

set auto-load scripts (from set auto-load-scripts), for all of *-gdb.py, *-gdb.rc and .debug_gdb_scripts
set auto-load local-gdbinit # I think system-gdbinit and home-gdbinit make no sense to configure this way
set auto-load jit
set auto-load libthread_db
set auto-load safe-path ""
info auto-load (from info auto-load-scripts)

Thanks for catching JIT, that is really another security issue.

Thanks,
Jan