This is the mail archive of the
mailing list for the GDB project.
Re: [RFA] Add $pdir as entry for libthread-db-search-path.
On Fri, Apr 29, 2011 at 5:36 AM, Jan Kratochvil
> On Fri, 29 Apr 2011 05:58:37 +0200, Doug Evans wrote:
>> A better default is to look in the directory of libpthread first - that is
>> the best default.
> This is insecure default. ?It is something like the FSF GDB insecure .gdbinit
> behavior which many distros (at least Fedora but even others) have to patch.
Does Fedora turn off the autoloading of python?
How do your pretty printers Just Work?
[Or maybe you only autoload if the directory is in $prefix/lib/debug
or some such?]
Plus I wonder how easy it would be to build a program that used an
accompanying libpthread that didn't match the system libthread_db -
gdb would then pick the accompanying libthread_db. Or does Fedora not
ever look in the directory of libpthread for its libthread_db?
> While it is always insecure to run a foreign binary it should be secure to for
> example load a foreign binary and its core file.