mirror of
https://github.com/cea-sec/miasm
synced 2026-06-21 13:48:18 +00:00
Sandbox: Fix debugging option
This commit is contained in:
@@ -105,7 +105,7 @@ class Sandbox(object):
|
||||
self.dbg = dbg
|
||||
dbg.init_run(addr)
|
||||
|
||||
if self.options.gdbserver is not False:
|
||||
if self.options.gdbserver:
|
||||
port = self.options.gdbserver
|
||||
print "Listen on port %d" % port
|
||||
gdb = self.machine.gdbserver(dbg, port)
|
||||
|
||||
Reference in New Issue
Block a user