aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando Nasser <fnasser@redhat.com>2001-02-19 21:48:52 +0000
committerFernando Nasser <fnasser@redhat.com>2001-02-19 21:48:52 +0000
commit9b0c4aebb4416e91afb9ee6fc66d261a3f04a43c (patch)
treed71dd05e5641c14fa5551fe41bb5022e73ebed36
parent02aa71d5de806f0a5da0b74514cf77ddb249cb94 (diff)
downloadfsf-binutils-gdb-9b0c4aebb4416e91afb9ee6fc66d261a3f04a43c.zip
fsf-binutils-gdb-9b0c4aebb4416e91afb9ee6fc66d261a3f04a43c.tar.gz
fsf-binutils-gdb-9b0c4aebb4416e91afb9ee6fc66d261a3f04a43c.tar.bz2
2001-02-19 Fernando Nasser <fnasser@redhat.com>
From Drew Moseley <dmoseley@redhat.com> * gdb.base/ending-run.exp: Properly handle the BSP state when stepping past the end of main.
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.base/ending-run.exp5
2 files changed, 10 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 1f63f18..7beeed8 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2001-02-19 Fernando Nasser <fnasser@redhat.com>
+
+ From Drew Moseley <dmoseley@redhat.com>
+ * gdb.base/ending-run.exp: Properly handle the BSP state when
+ stepping past the end of main.
+
2001-02-19 John Moore <jmoore@redhat.com>
* gdb.base/commands.exp (infrun_breakpoint_command_test):
diff --git a/gdb/testsuite/gdb.base/ending-run.exp b/gdb/testsuite/gdb.base/ending-run.exp
index 0a9e92c..f4da25b 100644
--- a/gdb/testsuite/gdb.base/ending-run.exp
+++ b/gdb/testsuite/gdb.base/ending-run.exp
@@ -1,4 +1,4 @@
-# Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
+# Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -152,6 +152,9 @@ gdb_expect {
-re ".*in.*start.*$gdb_prompt $" {
pass "step out of main"
}
+ -re ".*in.*bsp_trap.*$gdb_prompt $" {
+ pass "step out of main"
+ }
-re ".*in.*init.*$gdb_prompt $" {
# This is what happens on sparc64-elf ultra.
pass "step out of main"