2002-08-22 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Fri, 23 Aug 2002 01:52:22 +0000 (01:52 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Fri, 23 Aug 2002 01:52:22 +0000 (01:52 +0000)
        * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
        not altivec.c.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/altivec-abi.exp

index a4dca64e48e2ca6b361b86d572864107f87f4d3a..e8d14ab558d50b7024c394d80b2cc08cc67d00b9 100644 (file)
@@ -1,3 +1,8 @@
+2002-08-22  Elena Zannoni  <ezannoni@redhat.com>
+
+        * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
+        not altivec.c.
+
 2002-08-17  Mark Kettenis  <kettenis@gnu.org>
 
        * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
index 8a9f29dd813ff85129a766a3d421a24db8dea95f..2e4504a1a30b236e4c969a243062e030239a8974 100644 (file)
@@ -26,7 +26,7 @@ if $tracelevel then {
 }
 
 #
-# This file uses altivec.c for input.
+# This file uses altivec-abi.c for input.
 #
 
 set prms_id 0
@@ -37,7 +37,7 @@ if ![istarget "powerpc-*altivec"] then {
     return
 }
 
-set testfile "altivec"
+set testfile "altivec-abi"
 set binfile ${objdir}/${subdir}/${testfile}
 
 set src1 ${srcdir}/${subdir}/${testfile}.c
@@ -58,16 +58,16 @@ if ![runto_main] then {
     gdb_suppress_tests
 }
 
-gdb_test "b marker" "Breakpoint 2 at.*file.*altivec.c, line \[0-9\]+." "break marker"
-gdb_test "continue" "Breakpoint 2.*marker.*altivec.c.*" "continue to marker"
-gdb_test "finish" "Run till exit from .0.*in marker.*at.*altivec.c.*main \\(\\) at.*altivec.c.*result = vec_func \\(vshort,.*goes in v2.*" "back to main (1)"
+gdb_test "b marker" "Breakpoint 2 at.*file.*altivec-abi.c, line \[0-9\]+." "break marker"
+gdb_test "continue" "Breakpoint 2.*marker.*altivec-abi.c.*" "continue to marker"
+gdb_test "finish" "Run till exit from .0.*in marker.*at.*altivec-abi.c.*main \\(\\) at.*altivec-abi.c.*result = vec_func \\(vshort,.*goes in v2.*" "back to main (1)"
 
 # now all the arguments of vec_fun are initialized
 
 set pattern "vec_func .vshort_f=.111, 222, 333, 444, 555, 666, 777, 888., vushort_f=.100, 200, 300, 400, 500, 600, 700, 800., vint_f=.-10, -20, -30, -40., vuint_f=.1111, 2222, 3333, 4444., vchar_f=.abcdefghilmnopqr., vuchar_f=.ABCDEFGHILMNOPQR., vfloat_f=.1.25, 3.75, 5.5, 1.25., x_f=.1, 2, 3, 4, 5, 6, 7, 8., y_f=.12, 22, 32, 42., a_f=.vector of chars.., b_f=.5.5, 4.5, 3.75, 2.25., c_f=.1.25, 3.5, 5.5, 7.75., intv_on_stack_f=.12, 34, 56, 78.."
 
 set pattern1 $pattern
-append pattern1 " at.*altivec.c.*vint_res  = vec_add.*vint_f, intv_on_stack_f.;"
+append pattern1 " at.*altivec-abi.c.*vint_res  = vec_add.*vint_f, intv_on_stack_f.;"
 
 # Now let's call the function.  This function has > 12 args,
 # the last one will go on the stack.
@@ -85,7 +85,7 @@ gdb_test "step" \
   "step into vec_fun"
 
 set pattern2 $pattern
-append pattern2 " at.*altivec.c.*in main.*result = vec_func .vshort,.*goes in v2.*Value returned is.*= .2, 2, 2, 2."
+append pattern2 " at.*altivec-abi.c.*in main.*result = vec_func .vshort,.*goes in v2.*Value returned is.*= .2, 2, 2, 2."
 
 # Let's see if the result is returned correctly.
 gdb_test "finish" \
@@ -95,14 +95,14 @@ gdb_test "finish" \
 # can we print the args correctly for this function?
 gdb_test "break struct_of_vector_func" "" ""
 
-set pattern "struct_of_vector_func .vector_struct=.vshort1 = .1, 2, 3, 4, 5, 6, 7, 8., vshort2 = .11, 12, 13, 14, 15, 16, 17, 18., vshort3 = .21, 22, 23, 24, 25, 26, 27, 28., vshort4 = .31, 32, 33, 34, 35, 36, 37, 38... at.*altivec.c.*"
+set pattern "struct_of_vector_func .vector_struct=.vshort1 = .1, 2, 3, 4, 5, 6, 7, 8., vshort2 = .11, 12, 13, 14, 15, 16, 17, 18., vshort3 = .21, 22, 23, 24, 25, 26, 27, 28., vshort4 = .31, 32, 33, 34, 35, 36, 37, 38... at.*altivec-abi.c.*"
 
 gdb_test "continue" \
   "Breakpoint 3, $pattern.*vector_struct.vshort1 = vec_add .vector_struct.vshort1, vector_struct.vshort2.;" \
   "continue to struct_of_vector_func"
 
 gdb_test "finish" \
-  "Run till exit from .0  $pattern\[ \r\n\]+main.*altivec.c.*array_of_vector_func.*" \
+  "Run till exit from .0  $pattern\[ \r\n\]+main.*altivec-abi.c.*array_of_vector_func.*" \
   "back to main (2)"
 
 gdb_test "step" "" "step into array_of_vector_func"
This page took 0.032005 seconds and 4 git commands to generate.