Update years in copyright notice for the GDB files.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / step-bt.exp
index 2b3b59d2a106418479bf117ffb4ca1c997018cc7..f5b57ce353f4b69e902eb102d095f0b59c56285a 100644 (file)
@@ -1,28 +1,21 @@
-# Copyright 2006, 2007 Free Software Foundation, Inc.
+# Copyright 2006-2013 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
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-# The intent of this testcase it to verify that various aliases and
-# shortcuts of the "delete" command never stop working.
+# The intent of this testcase is to assure that backtrace works while
+# single-stepping the instructions that prepare to call a function.
 
-if $tracelevel then {
-    strace $tracelevel
-}
-
-set prms_id 0
-set bug_id 0
 
 set testfile step-bt
 set srcfile ${testfile}.c
@@ -59,7 +52,7 @@ gdb_expect {
 }
 
 gdb_test "stepi" \
-         "" \
+         ".*" \
          "step first instruction"
 
 gdb_test "bt" \
@@ -67,7 +60,7 @@ gdb_test "bt" \
          "backtrace after first instruction step"
 
 gdb_test "stepi" \
-         "" \
+         ".*" \
          "step second instruction"
 
 gdb_test "bt" \
This page took 0.025926 seconds and 4 git commands to generate.