Ernie Pasveer changed bug 1200846
What Removed Added
Status RESOLVED REOPENED
Resolution WORKSFORME ---

Comment # 3 on bug 1200846 from
When issuing the "info auto-load", I don't get the same result.

erniep@gracie:~$ gdb /usr/bin/zypper
...
(gdb) start
Temporary breakpoint 1 at 0x893e0
Starting program: /usr/bin/zypper 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffee45a700 (LWP 2392)]

Thread 1 "Zypp-main" hit Temporary breakpoint 1, 0x00005555554893e0 in main ()
(gdb) info auto-load
gdb-scripts:  No auto-load scripts.
libthread-db:  No auto-loaded libthread-db.
local-gdbinit:  Local .gdbinit file was not found.
python-scripts:  
Loaded  Script                                                                 
Yes     /usr/share/gdb/auto-load/usr/lib64/libglib-2.0.so.0.7000.4-gdb.py      
(gdb) 

I don't see "libstdc++.so.6.0.29-gdb.py" in the Leap15.4 release. Maybe it's in
TW.

I have these packages installed.

erniep@gracie:~$ zypper search -i | grep libstdc++
i  | libstdc++-devel                            | The system GNU C++
development files                                               | package
i+ | libstdc++6                                 | The standard C++ shared
library                                                    | package
i  | libstdc++6-devel-gcc7                      | Include Files and Libraries
mandatory for Development                              | package
i  | libstdc++6-devel-gcc9                      | Include Files and Libraries
mandatory for Development                              | package
i  | libstdc++6-pp-gcc9                         | GDB pretty printers for the
C++ standard library                                   | package


And these files are in the "auto-load" directory.


erniep@gracie:~$ ls -l /usr/share/gdb/auto-load/usr/lib64/
total 84
-rw-r--r-- 1 root root   197 May  7 16:40 libglib-2.0.so.0.7000.4-gdb.py
-rw-r--r-- 1 root root   200 May  7 16:40 libgobject-2.0.so.0.7000.4-gdb.py
-rwxr-xr-x 1 root root 65767 Mar 16 11:17 libpython3.6m.so.1.0-gdb.py
-rw-r--r-- 1 root root  2374 Nov  2  2021 libstdc++.so.6.0.24-gdb.py
-rw-r--r-- 1 root root  2374 Apr 20  2020 libstdc++.so.6.0.28-gdb.py
erniep@gracie:~$ 


I'm not clear on how the auto-load works. I see these files in /etc.

erniep@gracie:~$ ls -lR /etc/gdbinit /etc/gdbinit.d/
-rw-r--r-- 1 root root 211 Jul 28  2019 /etc/gdbinit

/etc/gdbinit.d/:
total 4
lrwxrwxrwx 1 root root 24 May  1  2020 go.gdb -> /etc/alternatives/go.gdb
erniep@gracie:~$ 


Let me know if you need more information.


You are receiving this mail because: