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, doc RFA] New command-line option -na.


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


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