| Index: gdb/testsuite/gdb.ada/float_param.exp
|
| diff --git a/gdb/testsuite/gdb.ada/enum_idx_packed.exp b/gdb/testsuite/gdb.ada/float_param.exp
|
| similarity index 64%
|
| copy from gdb/testsuite/gdb.ada/enum_idx_packed.exp
|
| copy to gdb/testsuite/gdb.ada/float_param.exp
|
| index 61284bb21a2eee37337d9133f1e5e92f37cbfdeb..f0a7eac6d31fc5c28d09ece431f22cf1186c3239 100644
|
| --- a/gdb/testsuite/gdb.ada/enum_idx_packed.exp
|
| +++ b/gdb/testsuite/gdb.ada/float_param.exp
|
| @@ -1,4 +1,4 @@
|
| -# Copyright 2012 Free Software Foundation, Inc.
|
| +# Copyright 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
|
| @@ -17,22 +17,27 @@ load_lib "ada.exp"
|
|
|
| if { [skip_ada_tests] } { return -1 }
|
|
|
| -set testdir "enum_idx_packed"
|
| -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 {debug}] != ""} {
|
| return -1
|
| }
|
|
|
| clean_restart ${testfile}
|
|
|
| -set bp_location [gdb_get_line_number "STOP" ${testdir}/foo.adb]
|
| +set bp_location [gdb_get_line_number "START" ${testdir}/foo.adb]
|
| runto "foo.adb:$bp_location"
|
|
|
| -gdb_test "print full" " = \\(false, true, false, true, false\\)"
|
| +gdb_test_no_output "call set_float(2.0)"
|
| +gdb_test "print global_float" \
|
| + " = 2\\.0"
|
| +
|
| +gdb_test_no_output "call set_double(1, 3.0)"
|
| +gdb_test "print global_double" \
|
| + " = 3\\.0"
|
| +
|
| +gdb_test_no_output "call set_long_double(1, global_small_struct, 4.0)"
|
| +gdb_test "print global_long_double" \
|
| + " = 4\\.0"
|
|
|
| -gdb_test "print full'first" " = black"
|
|
|
|
|