From: Fernando Nasser Date: Mon, 19 Feb 2001 21:48:52 +0000 (+0000) Subject: 2001-02-19 Fernando Nasser X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9b0c4aebb4416e91afb9ee6fc66d261a3f04a43c;p=binutils-gdb.git 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. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 1f63f188f95..7beeed8439d 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 0a9e92c3d52..f4da25b7983 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"