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: Yao Qi <yao at codesourcery dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Mon, 4 Jun 2012 10:15:52 +0800
- Subject: Re: [commit 2/2] testsuite: code_elim.exp: Fix false FAIL
- References: <20120603171700.GB20314@host2.jankratochvil.net>
On 06/04/2012 01:17 AM, Jan Kratochvil wrote:
> with_test_prefix "order1" {
> + gdb_test "add-symbol-file ${binfile1} 0x100000 -s .bss 0x120000" \
> + "Reading symbols from .*${testfile1}\\.\\.\\.done\\." \
> + "add-symbol-file ${testfile1} 0x100000" \
> + "add symbol table from file \".*${testfile1}\" at.*\\(y or n\\) " \
> + "y"
> +
> + 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"
Hi Jan,
We should first check whether '.bss' exists (by "maint info sections")
and then run this part conditionally. We don't have '.bss' on some
ports, such as tic6x-elf.
--
Yao (éå)