This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: handle "MiniDebuginfo" section
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: tromey at redhat dot com (Tom Tromey)
- Cc: palves at redhat dot com (Pedro Alves), dje at google dot com (Doug Evans), gdb-patches at sourceware dot org
- Date: Thu, 29 Nov 2012 20:32:47 +0100 (CET)
- Subject: Re: RFA: handle "MiniDebuginfo" section
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