diff options
author | ng0 <ng0@infotropique.org> | 2017-11-20 11:12:24 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2018-03-03 16:48:48 +0000 |
commit | 74ccb6cad1991f6f3897f44f48cee76a46e5055d (patch) | |
tree | f1caba3b8ede9576ee8f0588e3001a852398f9c4 /contrib | |
parent | 8b04ada1e7e30e8cb81664cf2b845115c566acb3 (diff) | |
download | gnunet-74ccb6cad1991f6f3897f44f48cee76a46e5055d.tar.gz gnunet-74ccb6cad1991f6f3897f44f48cee76a46e5055d.zip |
2to3 ./contrib/gdb-iterate-dll.py
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/gdb-iterate-dll.py | 4 |
1 files 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): | |||
13 | 13 | ||
14 | (symbol, _) = lookup_symbol (head) | 14 | (symbol, _) = lookup_symbol (head) |
15 | if symbol is None: | 15 | if symbol is None: |
16 | print "Can't find symbol: " + head | 16 | print("Can't find symbol: " + head) |
17 | return | 17 | return |
18 | symbol_val = symbol.value() | 18 | symbol_val = symbol.value() |
19 | while symbol_val: | 19 | while symbol_val: |
@@ -35,7 +35,7 @@ def search_dll (head, field, match, pfield): | |||
35 | if pfield is None: | 35 | if pfield is None: |
36 | print symbol_val_def | 36 | print symbol_val_def |
37 | else: | 37 | else: |
38 | print symbol_val_def[pfield] | 38 | print(symbol_val_def[pfield]) |
39 | symbol_val = symbol_val_def["next"] | 39 | symbol_val = symbol_val_def["next"] |
40 | 40 | ||
41 | 41 | ||