Skip to content

Commit a4e6067

Browse files
committed
Gdbserver: log server port in client connect/disconnect messages.
1 parent 5a39735 commit a4e6067

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyocd/gdbserver/gdbserver.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,9 +340,9 @@ def run(self):
340340
if self.detach_event.isSet():
341341
continue
342342

343-
LOG.info("One client connected!")
343+
LOG.info("Client connected to port %d!", self.port)
344344
self._run_connection()
345-
LOG.info("Client disconnected!")
345+
LOG.info("Client disconnected from port %d!", self.port)
346346
self._cleanup_for_next_connection()
347347

348348
except Exception as e:

0 commit comments

Comments
 (0)