This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit 2/2] testsuite: code_elim.exp: Fix false FAIL
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 19 Jul 2012 09:40:07 +0200
- Subject: Re: [commit 2/2] testsuite: code_elim.exp: Fix false FAIL
- References: <20120603171700.GB20314@host2.jankratochvil.net>
Jan Kratochvil <jan.kratochvil@redhat.com> writes:
> + gdb_test "add-symbol-file ${binfile2} 0x200000 -s .data 0x210000 -s .bss 0x220000" \
> + "Reading symbols from .*${testfile2}\\.\\.\\.done\\." \
> + "add-symbol-file ${testfile2} 0x200000" \
> + "add symbol table from file \".*${testfile2}\" at.*\\(y or n\\) " \
> + "y"
> +
add-symbol-file /home/abuild/rpmbuild/BUILD/gdb-7.4.91/gdb/testsuite/gdb.base/code_elim2 0x200000 -s .data 0x210000 -s .bss 0x220000
add symbol table from file "/home/abuild/rpmbuild/BUILD/gdb-7.4.91/gdb/testsuite/gdb.base/code_elim2" at
.text_addr = 0x200000
.data_addr = 0x210000
.bss_addr = 0x220000
(y or n) y
Reading symbols from /home/abuild/rpmbuild/BUILD/gdb-7.4.91/gdb/testsuite/gdb.base/code_elim2...warning: section .data not found in /home/abuild/rpmbuild/BUILD/gdb-7.4.91/gdb/testsuite/gdb.base/code_elim2
done.
(gdb) FAIL: gdb.base/code_elim.exp: order1: add-symbol-file code_elim2 0x200000
print &my_global_symbol
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."