From 9b0c4aebb4416e91afb9ee6fc66d261a3f04a43c Mon Sep 17 00:00:00 2001 From: Fernando Nasser Date: Mon, 19 Feb 2001 21:48:52 +0000 Subject: [PATCH] 2001-02-19 Fernando Nasser From Drew Moseley * gdb.base/ending-run.exp: Properly handle the BSP state when stepping past the end of main. --- gdb/testsuite/ChangeLog | 6 ++++++ gdb/testsuite/gdb.base/ending-run.exp | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 1f63f188f9..7beeed8439 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2001-02-19 Fernando Nasser + + From Drew Moseley + * gdb.base/ending-run.exp: Properly handle the BSP state when + stepping past the end of main. + 2001-02-19 John Moore * 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 0a9e92c3d5..f4da25b798 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"