diff options
| author | Camille Mougey <camille.mougey@cea.fr> | 2014-12-03 18:01:58 +0100 |
|---|---|---|
| committer | Camille Mougey <camille.mougey@cea.fr> | 2014-12-03 18:01:58 +0100 |
| commit | dece74308aedc1f365f0bd1c29455664bb5c05ab (patch) | |
| tree | ac7e006a7f90789ebb3b66984fc194510d934f2a /miasm2/analysis/sandbox.py | |
| parent | 6a0cf990d2e0c11edc91629aabfd52f847f1a381 (diff) | |
| download | miasm-dece74308aedc1f365f0bd1c29455664bb5c05ab.tar.gz miasm-dece74308aedc1f365f0bd1c29455664bb5c05ab.zip | |
Sandbox: Fix debugging option
Diffstat (limited to 'miasm2/analysis/sandbox.py')
| -rw-r--r-- | miasm2/analysis/sandbox.py | 2 |
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) |