This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug symtab/17417] New: debug info mismatch warning printed four times


https://sourceware.org/bugzilla/show_bug.cgi?id=17417

            Bug ID: 17417
           Summary: debug info mismatch warning printed four times
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: symtab
          Assignee: unassigned at sourceware dot org
          Reporter: dje at google dot com

I happened to update my fc20 system without updating the debug info for some
libraries, and stumbled upon this.

The first instance is gdb looking in /usr/lib/debug/lib64.
The other three instances are /usr/lib/debug/usr/lib64, but with an extra "/"
moving about.  I haven't root-caused why, but gdb should be a little smarter
... a typical user would find this disappointing.

(gdb) exec-file ~/src/play/forever.x64
(gdb) attach 51016
Attaching to program: /home/dje/src/play/forever.x64, process 51016
Error reading attached process's symbol file.
: No such file or directory.
Reading symbols from /lib64/libpthread.so.0...warning: the debug information
fou
nd in "/usr/lib/debug//lib64/libpthread-2.18.so.debug" does not match
"/lib64/li
bpthread.so.0" (CRC mismatch).

warning: the debug information found in
"/usr/lib/debug/usr/lib64/libpthread-2.1
8.so.debug" does not match "/lib64/libpthread.so.0" (CRC mismatch).

warning: the debug information found in
"/usr/lib/debug//usr/lib64/libpthread-2.
18.so.debug" does not match "/lib64/libpthread.so.0" (CRC mismatch).

warning: the debug information found in
"/usr/lib/debug/usr/lib64//libpthread-2.
18.so.debug" does not match "/lib64/libpthread.so.0" (CRC mismatch).

(no debugging symbols found)...done.
[New LWP 51020]
[New LWP 51019]
[New LWP 51018]
[New LWP 51017]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Reading symbols from /lib64/libc.so.6...warning: the debug information found in
"/usr/lib/debug//lib64/libc-2.18.so.debug" does not match "/lib64/libc.so.6"
(CRC mismatch).

warning: the debug information found in
"/usr/lib/debug/usr/lib64/libc-2.18.so.debug" does not match "/lib64/libc.so.6"
(CRC mismatch).

warning: the debug information found in
"/usr/lib/debug//usr/lib64/libc-2.18.so.debug" does not match
"/lib64/libc.so.6" (CRC mismatch).

warning: the debug information found in
"/usr/lib/debug/usr/lib64//libc-2.18.so.debug" does not match
"/lib64/libc.so.6" (CRC mismatch).

(no debugging symbols found)...done.
Reading symbols from /lib64/ld-linux-x86-64.so.2...warning: the debug
information found in "/usr/lib/debug//lib64/ld-2.18.so.debug" does not match
"/lib64/ld-linux-x86-64.so.2" (CRC mismatch).

warning: the debug information found in
"/usr/lib/debug/usr/lib64/ld-2.18.so.debug" does not match
"/lib64/ld-linux-x86-64.so.2" (CRC mismatch).

warning: the debug information found in
"/usr/lib/debug//usr/lib64/ld-2.18.so.debug" does not match
"/lib64/ld-linux-x86-64.so.2" (CRC mismatch).

warning: the debug information found in
"/usr/lib/debug/usr/lib64//ld-2.18.so.debug" does not match
"/lib64/ld-linux-x86-64.so.2" (CRC mismatch).

(no debugging symbols found)...done.
0x00007f93dffea79d in nanosleep () from /lib64/libc.so.6
(gdb) show debug-file-dir
The directory where separate debug symbols are searched for is
"/usr/lib/debug".
(gdb)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]