From 940df408121be31beed22ef7a5ad133cb1592726 Mon Sep 17 00:00:00 2001 From: Siva Chandra Date: Mon, 4 Aug 2014 18:07:43 -0700 Subject: Fix xmethod Python so that it works with Python3. gdb/ * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the 'items' methods instead of 'iteritems' method on dictionaries. gdb/testsuite/ * gdb.python/py-xmethods.py (A_getarrayind) (E_method_char_worker.__call__, E_method_int_worker.__call__): Use 'print' with function call syntax. (E_method_matcher.match): Fix tab vs space indentation mixup. --- gdb/ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gdb/ChangeLog') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f74f1c4..6bcd1c0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2014-08-15 Siva Chandra Reddy + + * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the + 'items' methods instead of 'iteritems' method on dictionaries. + 2014-08-15 Doug Evans * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode -- cgit v1.1