From: Joel Brobecker Date: Wed, 1 Apr 2009 22:08:03 +0000 (+0000) Subject: * gdb.base/funcargs.exp: Set print frame-arguments to "all". X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f8a8dce68ffc458273c64b2fb6fb2e9ab22d1fa1;p=binutils-gdb.git * 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". --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 016bf5425ab..c39e5c1dfc7 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2009-04-01 Tom Tromey + + * 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". + 2009-03-31 Daniel Jacobowitz Jan Kratochvil diff --git a/gdb/testsuite/gdb.ada/lang_switch.exp b/gdb/testsuite/gdb.ada/lang_switch.exp index 45a4e538358..3fc3584448e 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 5325dd2d345..4d49296f87a 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}\\).*" \ diff --git a/gdb/testsuite/gdb.base/call-ar-st.exp b/gdb/testsuite/gdb.base/call-ar-st.exp index b88ff024064..a058f67a5da 100644 --- a/gdb/testsuite/gdb.base/call-ar-st.exp +++ b/gdb/testsuite/gdb.base/call-ar-st.exp @@ -332,6 +332,7 @@ gdb_expect { gdb_test "break sum_array_print" \ ".*Breakpoint ${decimal}: file .*call-ar-st.c, line.*" \ "set breakpoint in sum_array_print" +gdb_test "set print frame-arguments all" "" gdb_test "continue" \ ".*Breakpoint ${decimal}, sum_array_print \\(seed=10, linked_list1=.next_index = .1, 2, 3, 4, 5, 6, 7, 8, 9, 10., values = .4, 6, 8, 10, 12, 14, 16, 18, 20, 22., head = 0., linked_list2=.next_index = .1, 2, 3, 4, 5, 6, 7, 8, 9, 10., values = .8, 10, 12, 14, 16, 18, 20, 22, 24, 26., head = 0., linked_list3=.next_index = .1, 2, 3, 4, 5, 6, 7, 8, 9, 10., values = .10, 12, 14, 16, 18, 20, 22, 24, 26, 28., head = 0., linked_list4=.next_index = .1, 2, 3, 4, 5, 6, 7, 8, 9, 10., values = .20, 22, 24, 26, 28, 30, 32, 34, 36, 38., head = 0.\\) at .*call-ar-st.c:1105\[ \t\n\r\]+1105.*printf\\(.Sum of 4 arrays, by element \\(add in seed as well\\).*\\);.*" \ "check args of sum_array_print" diff --git a/gdb/testsuite/gdb.base/funcargs.exp b/gdb/testsuite/gdb.base/funcargs.exp index 1cf3e9dd7d4..037f0a0b5ab 100644 --- a/gdb/testsuite/gdb.base/funcargs.exp +++ b/gdb/testsuite/gdb.base/funcargs.exp @@ -1194,6 +1194,8 @@ gdb_expect { # Perform tests +gdb_test "set print frame-arguments all" "" + integral_args funcargs_reload unsigned_integral_args