This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Testsuite tweak - properly bail out of asm-source.exp
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 17 Apr 2002 22:59:07 -0400
- Subject: Re: Testsuite tweak - properly bail out of asm-source.exp
- References: <20020418013121.GE30952@codesourcery.com>
See:
2001-11-09 Andrew Cagney <ac131313@redhat.com>
* gdb.asm/asm-source.exp: Supress file, instead of skip, when not
implemented.
and, especially, the number of tests that have been contributed since
that change went in.
enjoy,
Andrew
> If asm-source.exp detects that there is no support for assembly source
> debugging on the selected target, it issues a warning to that effect:
>
> if { "${asm-arch}" == "" } {
> gdb_suppress_entire_file "Assembly source test -- not implemented for this t
> arget."
> }
>
> but then it goes on to run the tests anyway, and they all fail, often
> with nasty error messages too. Looking a bit lower, I see that one is
> supposed to return after calling gdb_suppress_entire_file. This patch
> just adds a return to the if block.