From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20335 invoked by alias); 23 Jun 2003 03:06:27 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 10104 invoked from network); 23 Jun 2003 03:01:38 -0000 Received: from unknown (HELO concert.shout.net) (204.253.184.25) by sources.redhat.com with SMTP; 23 Jun 2003 03:01:38 -0000 Received: from duracef.shout.net (duracef.shout.net [204.253.184.12]) by concert.shout.net (8.12.9/8.12.9) with ESMTP id h5N31cGp011473 for ; Sun, 22 Jun 2003 22:01:38 -0500 Received: from duracef.shout.net (localhost [127.0.0.1]) by duracef.shout.net (8.12.9/8.12.9) with ESMTP id h5N31cns012496 for ; Sun, 22 Jun 2003 22:01:38 -0500 Received: (from mec@localhost) by duracef.shout.net (8.12.9/8.12.9/Submit) id h5N31cv0012495 for gdb-patches@sources.redhat.com; Sun, 22 Jun 2003 23:01:38 -0400 Date: Mon, 23 Jun 2003 03:06:00 -0000 From: Michael Elizabeth Chastain Message-Id: <200306230301.h5N31cv0012495@duracef.shout.net> To: gdb-patches@sources.redhat.com Subject: [rfa/testsuite] selftest.exp: bump up initial line count X-SW-Source: 2003-06/txt/msg00720.txt.bz2 This patch fixes one FAIL in gdb.base/selftest.exp. The procedure 'do_steps_and_nexts' walks through the first few lines of 'captured_main' until it reaches the initialization of 'dirarg', or walks through 26 lines, whichever comes first. Unfortunately 26 lines is no longer enough! This patch simply bumps the limit up to 32. I tested this on native i686-pc-linux-gnu, red-hat-8.0, with gcc v2 and v3, -gdwarf-2 and -gstabs+. Okay to apply? Michael C 2003-06-22 Michael Chastain * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum initial line count of 'captured_main' from 26 to 32. Index: gdb/testsuite/gdb.base/selftest.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.base/selftest.exp,v retrieving revision 1.8 diff -u -r1.8 selftest.exp --- gdb/testsuite/gdb.base/selftest.exp 2 Jun 2003 16:02:59 -0000 1.8 +++ gdb/testsuite/gdb.base/selftest.exp 23 Jun 2003 02:50:29 -0000 @@ -1,4 +1,4 @@ -# Copyright 1988, 1990, 1991, 1992, 1994, 1997, 1999, 2000, 2002 +# Copyright 1988, 1990, 1991, 1992, 1994, 1997, 1999, 2000, 2002, 2003 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify @@ -52,7 +52,7 @@ gdb_reinitialize_dir $srcdir/.. - for {set count 0} {$count < 26} {incr count} { + for {set count 0} {$count < 32} {incr count} { send_gdb "list\n" # NOTE: carlton/2002-12-11: The "initial brace" and # "current_directory initialization" possibilities happen to