From 18219f785c1209696a7906e7aa08e94064f96242 Mon Sep 17 00:00:00 2001 From: Ollrogge Date: Wed, 8 Oct 2025 01:05:34 -0400 Subject: [PATCH] gdb.py: remove unnecessary check in attach --- pwnlib/gdb.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/pwnlib/gdb.py b/pwnlib/gdb.py index fe959ad4a..7ea2932fa 100644 --- a/pwnlib/gdb.py +++ b/pwnlib/gdb.py @@ -1223,9 +1223,6 @@ def findexe(): exe_fn = adb.proc_exe exe = exe_fn(pid) - if not pid and not exe and not ssh: - log.error('could not find target process') - gdb_binary = binary() cmd = [gdb_binary]