From 6f39b40f20164e7eb5edbbf30dcfb93dbb061d8c Mon Sep 17 00:00:00 2001 From: TC Wan Date: Tue, 4 Jan 2011 11:59:23 +0800 Subject: added some diagnostics output messages --- Host/nxt-gdb-server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Host') diff --git a/Host/nxt-gdb-server.py b/Host/nxt-gdb-server.py index 712f077..fba6073 100755 --- a/Host/nxt-gdb-server.py +++ b/Host/nxt-gdb-server.py @@ -64,7 +64,7 @@ class NXTGDBServer: # Open connection to the NXT brick. brick = nxt.locator.find_one_brick () brick.sock.debug = DEBUG - print "Waiting connection..." + print "Waiting for GDB connection on port %s..." % self.port while True: # Wait for a connection. client, addr = s.accept () @@ -92,7 +92,7 @@ class NXTGDBServer: # Some pyusb are buggy, ignore some "errors". if e.args != ('No error', ): raise e - print "Connection closed, waiting connection..." + print "Connection closed, waiting for GDB connection on port %s..." % self.port if __name__ == '__main__': # Read options from command line. -- cgit v1.2.3