[New-bugs-announce] [issue30159] gdb autoloading python-gdb.py

Дилян Палаузов report at bugs.python.org
Tue Apr 25 08:31:00 EDT 2017


New submission from Дилян Палаузов:

Please install python-gdb.py in $(datarootdir)/gdb/auto-load/$(libdir)/libpython3.5m.so.1.0-gdb.py during "make install", so that programs linked towards libpython3.5m.so.1.0 will auto-load the -gdb.py script, when debugged.

Likewise for the other gdb versions.

An alternative to achieve the same effect is to put python-gdb.py in a .debug_gdb_scripts section (https://sourceware.org/gdb/onlinedocs/gdb/dotdebug_005fgdb_005fscripts-section.html#dotdebug_005fgdb_005fscripts-section), but I don't know if $(strip) removes it.

----------
messages: 292260
nosy: dilyan.palauzov
priority: normal
severity: normal
status: open
title: gdb autoloading python-gdb.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30159>
_______________________________________


More information about the New-bugs-announce mailing list