This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [commit 2/2] testsuite: code_elim.exp: Fix false FAIL


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 (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]