diff --git a/pwndbg/commands/procinfo.py b/pwndbg/commands/procinfo.py index 9158ef2a3..791b27209 100644 --- a/pwndbg/commands/procinfo.py +++ b/pwndbg/commands/procinfo.py @@ -81,6 +81,8 @@ class Process(): pid = pwndbg.proc.pid if tid is None: tid = pwndbg.proc.tid + if not tid: + tid = pid self.pid = pid self.tid = tid