From: Paul Koning Date: Fri, 28 Oct 2011 14:49:21 +0000 (+0000) Subject: * gdb.python/lib-types.exp (deep_items): Rename from deepitems. X-Git-Tag: sid-snapshot-20111101~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d6a5d40c767d773effa679116286c2b7e39e80af;p=external%2Fbinutils.git * gdb.python/lib-types.exp (deep_items): Rename from deepitems. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 8e2145e..82c1a59 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,9 +1,15 @@ +2011-10-28 Paul Koning + + * gdb.python/lib-types.exp (deep_items): Rename from deepitems. + + 2011-10-27 Jan Kratochvil * lib/mi-support.exp (breakpoint_re): Suppress match reporting. (mi_gdb_test): Import globals thread_selected_re and breakpoint_re. Expect them optionally at the regex start. + 2011-10-27 Doug Evans * gdb.python/python.exp: Test source -s. diff --git a/gdb/testsuite/gdb.python/lib-types.exp b/gdb/testsuite/gdb.python/lib-types.exp index e3a65ab..c48d547 100644 --- a/gdb/testsuite/gdb.python/lib-types.exp +++ b/gdb/testsuite/gdb.python/lib-types.exp @@ -139,7 +139,7 @@ gdb_test_no_output "python enum1_list = enum1_dict.items ()" gdb_test_no_output "python enum1_list.sort ()" gdb_test "python print enum1_list" {\[\('A', 0L\), \('B', 1L\), \('C', 2L\)\]} -# test deepitems +# test deep_items gdb_test_no_output "python struct_a = gdb.lookup_type ('struct A')" gdb_test "python print struct_a.keys ()" {\['a', '', 'c', ''\]} -gdb_test "python print \[k for k,v in gdb.types.deepitems(struct_a)\]" {\['a', 'b0', 'b1', 'bb0', 'bb1', 'bbb0', 'bbb1', 'c', 'dd0', 'dd1', 'd2', 'd3'\]} +gdb_test "python print \[k for k,v in gdb.types.deep_items(struct_a)\]" {\['a', 'b0', 'b1', 'bb0', 'bb1', 'bbb0', 'bbb1', 'c', 'dd0', 'dd1', 'd2', 'd3'\]}