Sandbox: Fix debugging option

This commit is contained in:
Camille Mougey
2014-12-03 18:01:58 +01:00
parent 6a0cf990d2
commit dece74308a
+1 -1
View File
@@ -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)