How to debug shared objects?
Posted on 2005-03-03
I just started using gdb and am having trouble debugging with shared
objects. If I do a 'bt' and gdb shows the following,
Program received signal SIGINT, Interrupt.
[Switching to Thread 1087287744 (LWP 24850)]
0xffffe410 in ?? ()
Current language: auto; currently c
#0 0xffffe410 in ?? ()
#1 0xbffff47c in ?? ()
#2 0xffffffff in ?? ()
#3 0x00000001 in ?? ()
#4 0x40a02e94 in poll () from /lib/tls/libc.so.6
#5 0x40a329c5 in svc_run () from /lib/tls/libc.so.6
#6 0x08053d79 in core_server () at sxmrpc_svc.cpp:452
#7 0x0804e3d2 in main (argc=1, argv=0xbffff734) at main.cpp:159
I can do a 'frame 4', and then what should I do in order to step into
the source code of libc.so.6 to see which line the app was at in
Thanks for any help.