forked from Imagelibrary/binutils-gdb
* gdb.python/lib-types.exp (deep_items): Rename from deepitems.
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
2011-10-28 Paul Koning <paul_koning@dell.com>
|
||||
|
||||
* gdb.python/lib-types.exp (deep_items): Rename from deepitems.
|
||||
|
||||
|
||||
2011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* 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 <dje@google.com>
|
||||
|
||||
* gdb.python/python.exp: Test source -s.
|
||||
|
||||
@@ -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'\]}
|
||||
|
||||
Reference in New Issue
Block a user