Wierd problem with gdb 6.x and separate debug info

Olivier Crete tester@tester.ca
Sat May 1 08:39:00 GMT 2004


Hi,

When I use separate debug infos made with "objcopy
--only-keep-debug" (I havent tested with eu-strip, but they should have
the same behavior now, right?) I get messages such as the following for
every loaded .so file that has separate debug info. Am I doing something
wrong?

warning: no loadable sections found in added symbol-file
/lib/.debug/libm-2.3.2.so.dbg
warning: section .note.ABI-tag not found in
/lib/.debug/libm-2.3.2.so.dbg
warning: section .hash not found in /lib/.debug/libm-2.3.2.so.dbg
warning: section .dynsym not found in /lib/.debug/libm-2.3.2.so.dbg
warning: section .dynstr not found in /lib/.debug/libm-2.3.2.so.dbg
warning: section .gnu.version not found in /lib/.debug/libm-2.3.2.so.dbg
warning: section .gnu.version_d not found in
/lib/.debug/libm-2.3.2.so.dbg
warning: section .gnu.version_r not found in
/lib/.debug/libm-2.3.2.so.dbg
warning: section .rel.dyn not found in /lib/.debug/libm-2.3.2.so.dbg
warning: section .rel.plt not found in /lib/.debug/libm-2.3.2.so.dbg
warning: section .init not found in /lib/.debug/libm-2.3.2.so.dbg
warning: section .plt not found in /lib/.debug/libm-2.3.2.so.dbg
warning: section .text not found in /lib/.debug/libm-2.3.2.so.dbg
warning: section .fini not found in /lib/.debug/libm-2.3.2.so.dbg
warning: section .rodata not found in /lib/.debug/libm-2.3.2.so.dbg
warning: section .interp not found in /lib/.debug/libm-2.3.2.so.dbg
warning: section .eh_frame not found in /lib/.debug/libm-2.3.2.so.dbg
warning: section .data not found in /lib/.debug/libm-2.3.2.so.dbg
warning: section .dynamic not found in /lib/.debug/libm-2.3.2.so.dbg
warning: section .ctors not found in /lib/.debug/libm-2.3.2.so.dbg
warning: section .dtors not found in /lib/.debug/libm-2.3.2.so.dbg
warning: section .jcr not found in /lib/.debug/libm-2.3.2.so.dbg
warning: section .got not found in /lib/.debug/libm-2.3.2.so.dbg
warning: section .bss not found in /lib/.debug/libm-2.3.2.so.dbg

-- 
Olivier Crête
tester@tester.ca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://sourceware.org/pipermail/gdb/attachments/20040501/0d51de84/attachment.sig>


More information about the Gdb mailing list