Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Michael Elizabeth Chastain <mec@shout.net>
To: gdb-patches@sources.redhat.com
Subject: [rfa/testsuite] selftest.exp: bump up initial line count
Date: Mon, 23 Jun 2003 03:06:00 -0000	[thread overview]
Message-ID: <200306230301.h5N31cv0012495@duracef.shout.net> (raw)

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  <mec@shout.net>

	* 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


             reply	other threads:[~2003-06-23  3:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-23  3:06 Michael Elizabeth Chastain [this message]
2003-06-23  3:52 ` Daniel Jacobowitz
2003-06-23  4:04 Michael Elizabeth Chastain
2003-06-28 16:37 ` Daniel Jacobowitz
2003-06-29 16:33 Michael Elizabeth Chastain
2003-06-29 17:37 ` Daniel Jacobowitz

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=200306230301.h5N31cv0012495@duracef.shout.net \
    --to=mec@shout.net \
    --cc=gdb-patches@sources.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