[patch+7.5] auto-load: User conveniences suggested by Doug Evans

Jan Kratochvil jan.kratochvil@redhat.com
Fri Aug 24 15:43:00 GMT 2012


On Fri, 24 Aug 2012 17:31:28 +0200, Pedro Alves wrote:
> ... and I'd be happy if we combined Jan's and my suggestions.  Something like:
> 
> For more information about this security protection see the
> "Auto-loading safe path" section in the GDB manual.
> For example, run from the shell:
> info \"(gdb)Auto-loading safe path\
> 
> Would that work?

In fact I find this a distribution specific part, which current FSF GDB does
not address and it may never should be.

What about printing in FSF GDB:
	For more information about this security protection see the
	"Auto-loading safe path" section in the GDB manual.

And in Fedora GDB to patch it for:
	For example, run from the shell: info "(gdb)Auto-loading safe path"

As Fedora could also address the common problem of uninstalled gdb-doc and
therefore depending on 'rpm -q gdb-doc' exit code Fedora could print:
	For example, run from the shell: yum -y install gdb-doc; info "(gdb)Auto-loading safe path"

Sure Fedora is unrelated to this gdb-patches list, just giving the picture how
distro specific parts can be useful and at the same time very unrelated to FSF
GDB.


Thanks,
Jan



More information about the Gdb-patches mailing list