about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2014-12-03 19:51:57 +0100
committerserpilliere <serpilliere@users.noreply.github.com>2014-12-03 19:51:57 +0100
commit6ec463b7410317db1fe1c4df3b9417de4a14c33c (patch)
tree4234311aed66799649309bcc8d6b74c49120f497
parent47b179691c45b90d0c5d6895eef96ef2fe3900e9 (diff)
parentdece74308aedc1f365f0bd1c29455664bb5c05ab (diff)
downloadmiasm-6ec463b7410317db1fe1c4df3b9417de4a14c33c.tar.gz
miasm-6ec463b7410317db1fe1c4df3b9417de4a14c33c.zip
Merge pull request #11 from commial/fix-debugging
Sandbox: Fix debugging option
-rw-r--r--miasm2/analysis/sandbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/analysis/sandbox.py b/miasm2/analysis/sandbox.py
index 3d8b906f..d5435223 100644
--- a/miasm2/analysis/sandbox.py
+++ b/miasm2/analysis/sandbox.py
@@ -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)