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

--- Comment #6 from alex_y_xu at yahoo dot ca ---
yes, the split debug files are not usable on their own. however, they are still
supposed to be valid ELF files, and BFD still needs to be able to open them.
example:

1. steps 1 and 2 from comment 2
2. objcopy --add-gnu-debuglink=crti.o.debug --strip-debug crti.o
crti.o.stripped
3. gdb crti.o.stripped

expected results:

no debugging symbols found

actual results:

Reading symbols from crti.o.stripped...
BFD: /tmp/crti.o.debug: no group info for section '.text.__x86.get_pc_thunk.bx'
BFD: /tmp/crti.o.debug: no group info for section '.text.__x86.get_pc_thunk.bx'
`/tmp/crti.o.debug': can't read symbols: file format not recognized.

similarly:

3. eu-unstrip crti.o.stripped crti.o.debug

returns:

eu-unstrip: more sections in stripped file than debug file -- arguments
reversed?

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

Reply via email to