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 <rep...@bugs.python.org>
<http://bugs.python.org/issue30159>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to