We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11a9ab1 commit cf00bb0Copy full SHA for cf00bb0
openmp/libompd/gdb-plugin/ompd/ompd_callbacks.py
@@ -84,7 +84,7 @@ def _thread_context(*args):
84
m = re.search(r"(0x[a-fA-F0-9]+)", line)
85
elif lwp:
86
m = re.search(r"\([^)]*?(\d+)[^)]*?\)", line)
87
- if m == None:
+ if m is None:
88
continue
89
pid = int(m.group(1), 0)
90
if pid == thread_id:
0 commit comments