Re: [patch, doc RFA] New command-line option -na.

Jan Kratochvil
2010-12-13T18:55:56Z

On Sat, 11 Dec 2010 01:47:34 +0100, Doug Evans wrote:
> The capability exists today with "maint set python auto-load on|off",
> but that can't be used to disable scripts from a program provided on
> the command line.
> In order to use that, one has to start gdb without a program,
> disable auto-loading, and *then* use the "file" command. Bleah.

I use the "file" trick commonly for example for:
gdb -ex 'set debug-file-directory /tmp/foo:/usr/lib/debug' -ex 'file /bin/date'

> I'm renaming "maint set python auto-load on|off" to
> "set auto-load-scripts on|off".

I would find this part as a sufficient one. Otherwise we should introduce
a command-line option also for "debug-file-directory" and probably others.
Do you find a common need for `-na'?

Regards,
Jan