Skip to content
Snippets Groups Projects
Commit ce33439d authored by Henrik Tjäder's avatar Henrik Tjäder
Browse files

Removed incorrect error catch

parent bac25a2a
No related branches found
No related tags found
No related merge requests found
...@@ -501,7 +501,7 @@ def gdb_bkpt_read(): ...@@ -501,7 +501,7 @@ def gdb_bkpt_read():
try: try:
return int(gdb.execute("x/i $pc", False, True). return int(gdb.execute("x/i $pc", False, True).
split("bkpt")[1].strip("\t").strip("\n"), 0) split("bkpt")[1].strip("\t").strip("\n"), 0)
except gdb.error: except:
if debug: if debug:
print("Debug: It is not a bkpt so return 4") print("Debug: It is not a bkpt so return 4")
return 4 return 4
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment