From f09d5a5f9dafe20346c6c91b708020ce871c98e2 Mon Sep 17 00:00:00 2001 From: cnitlrt Date: Sun, 3 Mar 2024 20:30:33 +0800 Subject: [PATCH] fix: x-terminal does not work properly gdb.attach --- CHANGELOG.md | 2 ++ pwnlib/util/proc.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e253c3cf3..fb706df88 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -72,8 +72,10 @@ The table below shows which release corresponds to each branch, and what date th ## 4.14.0 (`dev`) - [#2356][2356] Add local libc database provider for libcdb +- [#2362][2362] Fix x-terminal does not work properly gdb.attach [2356]: https://github.com/Gallopsled/pwntools/pull/2356 +[2362]: https://github.com/Gallopsled/pwntools/issues/2362 ## 4.13.0 (`beta`) diff --git a/pwnlib/util/proc.py b/pwnlib/util/proc.py index 0bcaca4d8..62c2d42e7 100644 --- a/pwnlib/util/proc.py +++ b/pwnlib/util/proc.py @@ -372,7 +372,7 @@ def wait_for_debugger(pid, debugger_pid=None): pass else: debugger_pid = 0 - break + continue else: time.sleep(0.01)