Skip to content
Snippets Groups Projects
Commit 0074a2ef authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Merge branch 'tt-gdb-fix'

parents c51d62aa 65906f94
No related merge requests found
......@@ -182,15 +182,19 @@ class Server(object):
if self.gdb:
args = prepare_gdb(self.binary, args)
print "You started the server in gdb mode."
print "To attach, use `screen -r tnt-gdb`"
elif self.valgrind:
args = prepare_valgrind(args, self.valgrind_log,
args = prepare_valgrind([self.binary] + args, self.valgrind_log,
os.path.abspath(os.path.join(self.vardir,
self.default_suppression_name)))
else:
args = [self.binary] + args
if self.start_and_exit:
self._start_and_exit(args)
return
print args
self.process = subprocess.Popen(args, cwd = self.vardir)
# wait until the server is connected
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment