aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.ada
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2009-04-01 22:08:03 +0000
committerJoel Brobecker <brobecker@gnat.com>2009-04-01 22:08:03 +0000
commitf8a8dce68ffc458273c64b2fb6fb2e9ab22d1fa1 (patch)
tree4ea7b907cf04e3c48e8ae8cd9c83da7e16ed0ad1 /gdb/testsuite/gdb.ada
parent476f7b68eb0c0ca0c8ea2178865183cbbf0ea8a7 (diff)
downloadgdb-f8a8dce68ffc458273c64b2fb6fb2e9ab22d1fa1.zip
gdb-f8a8dce68ffc458273c64b2fb6fb2e9ab22d1fa1.tar.gz
gdb-f8a8dce68ffc458273c64b2fb6fb2e9ab22d1fa1.tar.bz2
* gdb.base/funcargs.exp: Set print frame-arguments to "all".
* gdb.base/call-ar-st.exp: Set print frame-arguments to "all". * gdb.ada/ref_param.exp: Set print frame-arguments to "all". * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
Diffstat (limited to 'gdb/testsuite/gdb.ada')
-rw-r--r--gdb/testsuite/gdb.ada/lang_switch.exp2
-rw-r--r--gdb/testsuite/gdb.ada/ref_param.exp2
2 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.ada/lang_switch.exp b/gdb/testsuite/gdb.ada/lang_switch.exp
index 45a4e53..3fc3584 100644
--- a/gdb/testsuite/gdb.ada/lang_switch.exp
+++ b/gdb/testsuite/gdb.ada/lang_switch.exp
@@ -41,6 +41,8 @@ gdb_load ${binfile}
set bp_location [gdb_get_line_number "STOP" ${testdir}/foo.c]
runto "foo.c:$bp_location"
+gdb_test "set print frame-arguments all" ""
+
# Make sure that the language is switched to Ada for the second frame
# by checking the string parameter.
gdb_test "bt" \
diff --git a/gdb/testsuite/gdb.ada/ref_param.exp b/gdb/testsuite/gdb.ada/ref_param.exp
index 5325dd2..4d49296 100644
--- a/gdb/testsuite/gdb.ada/ref_param.exp
+++ b/gdb/testsuite/gdb.ada/ref_param.exp
@@ -39,6 +39,8 @@ if ![runto call_me] then {
return
}
+gdb_test "set print frame-arguments all" ""
+
set expected_d "\\(one => 1, two => 2, three => 3, four => 4, five => 5, six => 6\\)"
gdb_test "frame" \
"#0\[ \t\]*pck\\.call_me \\(d=${expected_d}\\).*" \