[Bug 65885] New: linux-gate.so.1 symbols and gdb

Jon Smirl jonsmirl at yahoo.com
Sat Oct 11 21:39:02 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=65885     
           Summary: linux-gate.so.1 symbols and gdb
           Product: kdevelop
           Version: CVS
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at kdevelop.org
        ReportedBy: jonsmirl at yahoo.com


Version:           CVS (using KDE Devel)
Installed from:    Compiled sources

I'm not 100% sure of what is going on here but I think the kernel vsyscall library has changed names to linux-gate.so.1. This virtual DSO doesn't really exists so gdb can't read symbols from it. The result of this is that you need to type 'CONT' into the gdb window three times when you start an app.

The change appeared in glibc-2.3.2-98

Is this change supposed to be handled by gdb or gideon?

gdb /home/newtree/work/src/glx/mini/./drmtest -fullname -nx -quiet
(gdb) set edit off 
(gdb) set confirm off 
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) (gdb) 
(gdb) set print static-members off 
(gdb) tty /dev/pts/0 
(gdb) set width 0 
(gdb) set height 0 
(gdb) set stop-on 1 
(gdb) handle SIG32 pass nostop noprint 
(gdb) handle SIG43 pass nostop noprint 
(gdb) set print asm-demangle on 
(gdb) cd /home/newtree/work/src/glx/mini 
(gdb) run 
Error while mapping shared library sections:
linux-gate.so.1: Success.
Error while reading shared library symbols:
linux-gate.so.1: No such file or directory.
(gdb) backtrace 
Stopped due to shared library event
#0  0x4000ce30 in _dl_debug_state_internal () from /lib/ld-linux.so.2
#1  0x40001d12 in dl_main () from /lib/ld-linux.so.2
#2  0x4000f61a in _dl_sysdep_start () from /lib/ld-linux.so.2
#3  0x000000e0 in ?? ()
#4  0xbfffdac4 in ?? ()
#5  0x2d000000 in ?? ()
#6  0x00000003 in ?? ()
#7  0xbfffdb4a in ?? ()
#8  0xffffe400 in ?? ()
#9  0xffffffff in ?? ()
(gdb) frame 0 
#0  0x4000ce30 in _dl_debug_state_internal () from /lib/ld-linux.so.2
(gdb) cont 
Stopped due to shared library event
Error while reading shared library symbols:
linux-gate.so.1: No such file or directory.
(gdb) cont 
Stopped due to shared library event
(gdb) backtrace 
Error while reading shared library symbols:
linux-gate.so.1: No such file or directory.
#0  0x4000ce30 in _dl_debug_state_internal () from /lib/ld-linux.so.2
#1  0x4000c88b in _dl_init_internal () from /lib/ld-linux.so.2
#2  0x40000c85 in _dl_start_user () from /lib/ld-linux.so.2
(gdb) frame 0 
#0  0x4000ce30 in _dl_debug_state_internal () from /lib/ld-linux.so.2
(gdb) cont 

Program exited normally.




More information about the KDevelop-devel mailing list