This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Use untested for macscp.exp if no macro information generated
- From: Daniel Jacobowitz <drow at false dot org>
- To: Pierre Muller <muller at ics dot u-strasbg dot fr>
- Cc: gdb-patches at sourceware dot org
- Date: Sun, 1 Feb 2009 13:28:34 -0500
- Subject: Re: [RFC] Use untested for macscp.exp if no macro information generated
- References: <011801c92a03$4b71afa0$e2550ee0$@u-strasbg.fr> <m38wsxvin8.fsf@fleche.redhat.com> <001401c92af1$cf8821e0$6e9865a0$@u-strasbg.fr> <004a01c97f96$637bced0$2a736c70$@u-strasbg.fr> <000001c9814b$919b63a0$b4d22ae0$@u-strasbg.fr>
On Wed, Jan 28, 2009 at 02:23:11PM +0100, Pierre Muller wrote:
>
> I tried to simplify my patch for macro support
> in order to get less uninteresting failures.
I think your earlier patch had the right idea. Why did it leave some
failures? We should have none if we're going to skip the test.
> if {[list_and_check_macro main WHERE {macscp1.c {before macscp1_3}}]} {
> - return 0
> + global verbose
> + set macro_support "unknown"
> + send_gdb "info source\n"
> + gdb_expect 10 {
General note, please use gdb_test_multiple. No need for a timeout in
most cases; use the default setting.
--
Daniel Jacobowitz
CodeSourcery