ubsan: alpha-vms: shift exponent is too large
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.ada / small_reg_param.exp
index 00b066bd817c02549f9d3b89e2bef0b5286008db..9291683cde1c82ef3643e96828ccafcdecf03d52 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2011 Free Software Foundation, Inc.
+# Copyright 2011-2019 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
 
 load_lib "ada.exp"
 
-set testdir "small_reg_param"
-set testfile "${testdir}/foo"
-set srcfile ${srcdir}/${subdir}/${testfile}.adb
-set binfile ${objdir}/${subdir}/${testfile}
+standard_ada_testfile foo
 
-file mkdir ${objdir}/${subdir}/${testdir}
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug optimize=-O1]] != "" } {
   return -1
 }
@@ -30,14 +26,14 @@ clean_restart ${testfile}
 if ![runto main] then {
   perror "Couldn't run ${testfile}"
   return
-} 
+}
 
 gdb_breakpoint "call_me"
 
 # Continue until we hit the breakpoint inside `Call_Me'.  We verify
 # that the parameter value is correct.
 gdb_test "continue" \
-    "Breakpoint .*, pck\\.call_me \\(w=50\\) at .*/pck.adb:.*" \
+    "Breakpoint .*, pck\\.call_me \\(w=(w@entry=)?50\\) at (.*/)?pck.adb:.*" \
     "continue to call_me"
 
 # And just to make sure, we also verify that the parameter value
This page took 0.025 seconds and 4 git commands to generate.