Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Yao Qi <yao@codesourcery.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: <gdb-patches@sourceware.org>
Subject: Re: [commit 2/2] testsuite: code_elim.exp: Fix false FAIL
Date: Mon, 04 Jun 2012 02:16:00 -0000	[thread overview]
Message-ID: <4FCC1A58.2050501@codesourcery.com> (raw)
In-Reply-To: <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 (齐尧)


  parent reply	other threads:[~2012-06-04  2:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-03 17:17 Jan Kratochvil
2012-06-03 17:29 ` Andreas Schwab
2012-06-03 17:37   ` Jan Kratochvil
2012-06-04  2:16 ` Yao Qi [this message]
2012-07-19  7:40 ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FCC1A58.2050501@codesourcery.com \
    --to=yao@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    --cc=jan.kratochvil@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox