From db3a86abb4af17a4be497db73cbe765b34347164 Mon Sep 17 00:00:00 2001 From: Alan Li <61896187+lebr0nli@users.noreply.github.com> Date: Tue, 11 Oct 2022 19:42:46 +0800 Subject: [PATCH] Fix #1271 (#1272) --- pwndbg/gdblib/symbol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwndbg/gdblib/symbol.py b/pwndbg/gdblib/symbol.py index ee1ab9a20..352ef1522 100644 --- a/pwndbg/gdblib/symbol.py +++ b/pwndbg/gdblib/symbol.py @@ -211,7 +211,7 @@ def address(symbol: str) -> int: # If we try to look up a TLS variable when there is no TLS, this # exception occurs. Ideally we should come up with a way to check for # this case before calling `gdb.lookup_symbol` - skipped_exceptions.append("Cannot find thread-local variables") + skipped_exceptions.append("Cannot find thread-local") if all(x not in str(e) for x in skipped_exceptions): raise e