From ce33439d31c728abb91b11017d2f49e8f5bd43f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= <henrik@tjaders.com> Date: Mon, 12 Mar 2018 19:05:19 +0100 Subject: [PATCH] Removed incorrect error catch --- gdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb.py b/gdb.py index b97279c..b667a90 100644 --- a/gdb.py +++ b/gdb.py @@ -501,7 +501,7 @@ def gdb_bkpt_read(): try: return int(gdb.execute("x/i $pc", False, True). split("bkpt")[1].strip("\t").strip("\n"), 0) - except gdb.error: + except: if debug: print("Debug: It is not a bkpt so return 4") return 4 -- GitLab