Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mark Kettenis <kettenis@chello.nl>
To: gdb-patches@sources.redhat.com
Subject: [PATCH] Don't use runto_main in i386-unwind.exp
Date: Sun, 23 Nov 2003 19:37:00 -0000	[thread overview]
Message-ID: <200311231937.hANJb4Zu009335@elgar.kettenis.dyndns.org> (raw)

There is no real reson to use runto_main in this testcase, so I
removed it.

Committed,

Mark

Index: testsuite/ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	* gdb.arch/i386-unwind.exp: Don't use runto_main.  Change
	"continue" into "run".

Index: testsuite/gdb.arch/i386-unwind.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.arch/i386-unwind.exp,v
retrieving revision 1.1
diff -u -p -r1.1 i386-unwind.exp
--- testsuite/gdb.arch/i386-unwind.exp 19 Nov 2003 17:42:43 -0000 1.1
+++ testsuite/gdb.arch/i386-unwind.exp 23 Nov 2003 19:28:23 -0000
@@ -45,18 +45,10 @@ gdb_start
 gdb_reinitialize_dir $srcdir/$subdir
 gdb_load ${binfile}
 
-#
-# Run to `main' where we begin our tests.
-#
-
-if ![runto_main] then {
-    gdb_suppress_tests
-}
-
 # Testcase for backtrace/1435.
 
-gdb_test "continue" "Program received signal SIGTRAP.*" \
-         "continue past gdb1435"
+gdb_test "run" "Program received signal SIGTRAP.*" \
+         "run past gdb1435"
 
 gdb_test "backtrace 10" \
 	"#1\[ \t]*$hex in gdb1435.*\r\n#2\[ \t\]*$hex in main.*" \


             reply	other threads:[~2003-11-23 19:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-23 19:37 Mark Kettenis [this message]
2003-11-23 20:31 ` Daniel Jacobowitz
2003-11-23 20:51   ` Mark Kettenis
2003-11-23 20:57     ` Daniel Jacobowitz
2003-11-23 21:15       ` Mark Kettenis

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=200311231937.hANJb4Zu009335@elgar.kettenis.dyndns.org \
    --to=kettenis@chello.nl \
    --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