RFA: handle "MiniDebuginfo" section
Ulrich Weigand
uweigand@de.ibm.com
Thu Nov 29 19:33:00 GMT 2012
Tom Tromey wrote:
> I think lassign was added in Tcl 8.5.
> You must be running an older version.
>
> Can you try the appended?
Yes, that works for me! Thanks for the quick fix!
However, now that the test case actually runs, it fails with:
FAIL: gdb.base/gnu-debugdata.exp: objcopy 1
Apparently this happens because:
objcopy -S --remove-section .gdb_index --remove-section .comment --keep-symbols=/home/uweigand/fsf/gdb-head-build/gdb/testsuite/gdb.base/gnu-debugdata.keep_symbols /home/uweigand/fsf/gdb-head-build/gdb/testsuite/gdb.base/gnu-debugdata /home/uweigand/fsf/gdb-head-build/gdb/testsuite/gdb.base/gnu-debugdata.mini_debuginfo
returns a non-zero exit code since the original binary has no .gdb_index
section (probably because the system compiler is old) ...
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com
More information about the Gdb-patches
mailing list