Skip to content

Commit

Permalink
fixup gdb
Browse files Browse the repository at this point in the history
  • Loading branch information
mkokryashkin committed Nov 30, 2023
1 parent a02c2dd commit 4885ce0
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/luajit_dbg.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,13 @@ def __init__(self):
lib = None
try:
lib = import_module(name)
except ImportError:
if healthcheck(lib):
setattr(self, name.upper(), True)
globals()[name] = lib
self.name = name
except Exception:
continue

if healthcheck(lib):
setattr(self, name.upper(), True)
globals()[name] = lib
self.name = name

assert self.LLDB != self.GDB

def setup_target(self, debugger):
Expand Down

0 comments on commit 4885ce0

Please sign in to comment.