public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/17417] New: debug info mismatch warning printed four times
@ 2014-09-20  4:04 dje at google dot com
  0 siblings, 0 replies; only message in thread
From: dje at google dot com @ 2014-09-20  4:04 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-09-20  4:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-20  4:04 [Bug symtab/17417] New: debug info mismatch warning printed four times dje at google dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).