| Index: gdb/testsuite/gdb.ada/iwide.exp
|
| diff --git a/gdb/testsuite/gdb.ada/print_chars.exp b/gdb/testsuite/gdb.ada/iwide.exp
|
| similarity index 56%
|
| copy from gdb/testsuite/gdb.ada/print_chars.exp
|
| copy to gdb/testsuite/gdb.ada/iwide.exp
|
| index 35dfcc6b85d548dd9211015853143857a15f5878..3b7bdbf32cbb0aa8833ec0388e7a06e9a7cbc2b8 100644
|
| --- a/gdb/testsuite/gdb.ada/print_chars.exp
|
| +++ b/gdb/testsuite/gdb.ada/iwide.exp
|
| @@ -1,4 +1,4 @@
|
| -# Copyright 2007-2012 Free Software Foundation, Inc.
|
| +# Copyright 2012-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
|
| @@ -15,32 +15,28 @@
|
|
|
| load_lib "ada.exp"
|
|
|
| -set testdir "print_chars"
|
| -set testfile "${testdir}/foo"
|
| -set srcfile ${srcdir}/${subdir}/${testfile}.adb
|
| -set binfile ${objdir}/${subdir}/${testfile}
|
| +standard_ada_testfile p
|
|
|
| -file mkdir ${objdir}/${subdir}/${testdir}
|
| if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug additional_flags=-gnat05 ]] != "" } {
|
| return -1
|
| }
|
|
|
| clean_restart ${testfile}
|
|
|
| -set bp_location [gdb_get_line_number "START" ${testdir}/foo.adb]
|
| -runto "foo.adb:$bp_location"
|
| +set bp_location [gdb_get_line_number "BREAK" ${testdir}/p.adb]
|
| +runto "p.adb:$bp_location"
|
|
|
| +gdb_test "print My_Drawable" \
|
| + "= \\(center => \\(x => 1, y => 2\\), radius => 3\\)"
|
|
|
| -gdb_test "print C" \
|
| - "= 97 'a'" \
|
| - "print C"
|
| +gdb_test "print s_access.all" \
|
| + "\\(center => \\(x => 1, y => 2\\), radius => 3\\)"
|
|
|
| -gdb_test "print WC" \
|
| - "= 98 'b'" \
|
| - "print WC"
|
| -
|
| -gdb_test "print WWC" \
|
| - "= 99 'c'" \
|
| - "print WWC"
|
| +gdb_test "print sp_access.all" \
|
| + "\\(center => \\(x => 1, y => 2\\), radius => 3\\)"
|
|
|
| +gdb_test "print d_access.all" \
|
| + "\\(center => \\(x => 1, y => 2\\), radius => 3\\)"
|
|
|
| +gdb_test "print dp_access.all" \
|
| + "\\(center => \\(x => 1, y => 2\\), radius => 3\\)"
|
|
|