From 74ccb6cad1991f6f3897f44f48cee76a46e5055d Mon Sep 17 00:00:00 2001 From: ng0 Date: Mon, 20 Nov 2017 11:12:24 +0000 Subject: [PATCH] 2to3 ./contrib/gdb-iterate-dll.py --- contrib/gdb-iterate-dll.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/gdb-iterate-dll.py b/contrib/gdb-iterate-dll.py index 2132b5e34..d1e3a4af3 100644 --- a/contrib/gdb-iterate-dll.py +++ b/contrib/gdb-iterate-dll.py @@ -13,7 +13,7 @@ def search_dll (head, field, match, pfield): (symbol, _) = lookup_symbol (head) if symbol is None: - print "Can't find symbol: " + head + print("Can't find symbol: " + head) return symbol_val = symbol.value() while symbol_val: @@ -35,7 +35,7 @@ def search_dll (head, field, match, pfield): if pfield is None: print symbol_val_def else: - print symbol_val_def[pfield] + print(symbol_val_def[pfield]) symbol_val = symbol_val_def["next"] -- 2.25.1