The command to list Python scripts that have been autoloaded is:
(gdb) info auto-load python-scripts
I'm guessing /usr/share/gdb/auto-load/lib/x86_64-linux-gnu/libglib-2.0.so.0.4400.0-gdb.py is the one that causes my problem.
It's a small script that adds /usr/share/glib-2.0/gdb to sys.path and imports stuff from it.
/usr/share/glib-2.0/gdb is shipped in libglib2.0-0-dbg.
The command to list Python scripts that have been autoloaded is:
(gdb) info auto-load python-scripts
I'm guessing /usr/share/ gdb/auto- load/lib/ x86_64- linux-gnu/ libglib- 2.0.so. 0.4400. 0-gdb.py is the one that causes my problem. glib-2. 0/gdb to sys.path and imports stuff from it.
It's a small script that adds /usr/share/
/usr/share/ glib-2. 0/gdb is shipped in libglib2.0-0-dbg.