aboutsummaryrefslogtreecommitdiff
path: root/Host/nxt-gdb-server.py
diff options
context:
space:
mode:
authorTC Wan2011-01-04 11:59:23 +0800
committerTC Wan2011-01-04 11:59:23 +0800
commit6f39b40f20164e7eb5edbbf30dcfb93dbb061d8c (patch)
treed89d8e98bae4c9081912d243dc9a8e060749ea35 /Host/nxt-gdb-server.py
parent728805518bc239f7e2317463b5ebab8f5c0a0d97 (diff)
added some diagnostics output messages
Diffstat (limited to 'Host/nxt-gdb-server.py')
-rwxr-xr-xHost/nxt-gdb-server.py4
1 files changed, 2 insertions, 2 deletions
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.