diff options
author | Daniel Jacobowitz <drow@false.org> | 2004-02-29 16:46:01 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2004-02-29 16:46:01 +0000 |
commit | 6910d122aca0a6e1e9e81b6d74a9ef3215f34137 (patch) | |
tree | d1a937836e4e27015e2dc1da7d4f4af1b1f2f369 /gdb/gdbserver/remote-utils.c | |
parent | d677d77d05be6878146b9a7062ceea5fb5ba0e00 (diff) | |
download | gdb-6910d122aca0a6e1e9e81b6d74a9ef3215f34137.zip gdb-6910d122aca0a6e1e9e81b6d74a9ef3215f34137.tar.gz gdb-6910d122aca0a6e1e9e81b6d74a9ef3215f34137.tar.bz2 |
* remote-utils.c (remote_open): Print a status notice after
opening a TCP port.
* server.c (attach_inferior): Print a status notice after
attaching.
Diffstat (limited to 'gdb/gdbserver/remote-utils.c')
-rw-r--r-- | gdb/gdbserver/remote-utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/gdbserver/remote-utils.c b/gdb/gdbserver/remote-utils.c index 4e9ca02..c9d198f 100644 --- a/gdb/gdbserver/remote-utils.c +++ b/gdb/gdbserver/remote-utils.c @@ -135,6 +135,8 @@ remote_open (char *name) || listen (tmp_desc, 1)) perror_with_name ("Can't bind address"); + fprintf (stderr, "Listening on port %d\n", port); + tmp = sizeof (sockaddr); remote_desc = accept (tmp_desc, (struct sockaddr *) &sockaddr, &tmp); if (remote_desc == -1) |