ooobooontooo
December 10th, 2008, 10:24 AM
Hi,
So I'm starting to pick up gdb and c programming. However, something that's been blocking my progress is the shared library concept that gdb uses. According to the guide I'm using, when you start up gdb, you're supposed to get this line:
'Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1"'
I don't get that message... So every time, I run gdb it doesn't load any shared library files and that leads to bad things. When I did "show auto-solib-add" it showed it was on. When I had it "show solib-search-path", it only consisted of the current directory. So am I supposed to edit .gdbinit so that it sets the path every time to include that "libthread_db.so.1" file (by the way I do have that file, I'm not missing it) or is it supposed to do it automatically and I'm missing something? Thanks in advance.
So I'm starting to pick up gdb and c programming. However, something that's been blocking my progress is the shared library concept that gdb uses. According to the guide I'm using, when you start up gdb, you're supposed to get this line:
'Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1"'
I don't get that message... So every time, I run gdb it doesn't load any shared library files and that leads to bad things. When I did "show auto-solib-add" it showed it was on. When I had it "show solib-search-path", it only consisted of the current directory. So am I supposed to edit .gdbinit so that it sets the path every time to include that "libthread_db.so.1" file (by the way I do have that file, I'm not missing it) or is it supposed to do it automatically and I'm missing something? Thanks in advance.