summaryrefslogtreecommitdiff
path: root/contrib/scripts/gdb-iterate-dll.py
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/scripts/gdb-iterate-dll.py')
-rw-r--r--contrib/scripts/gdb-iterate-dll.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/scripts/gdb-iterate-dll.py b/contrib/scripts/gdb-iterate-dll.py
index 79d46aa96..28c435ccb 100644
--- a/contrib/scripts/gdb-iterate-dll.py
+++ b/contrib/scripts/gdb-iterate-dll.py
@@ -23,7 +23,8 @@ def search_dll(head, field, match, pfield):
if field_val.type.code == gdb.TYPE_CODE_INT:
val = int(field_val)
res = (match == val)
- elif (field_val.type.code == gdb.TYPE_CODE_STRING) or (field_val.type.code == gdb.TYPE_CODE_ARRAY):
+ elif (field_val.type.code == gdb.TYPE_CODE_STRING
+ ) or (field_val.type.code == gdb.TYPE_CODE_ARRAY):
val = str(field_val)
res = (match == val)
elif (field_val.type.code == gdb.TYPE_CODE_TYPEDEF):