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]