aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/server.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2004-02-29 16:46:01 +0000
committerDaniel Jacobowitz <drow@false.org>2004-02-29 16:46:01 +0000
commit6910d122aca0a6e1e9e81b6d74a9ef3215f34137 (patch)
treed1a937836e4e27015e2dc1da7d4f4af1b1f2f369 /gdb/gdbserver/server.c
parentd677d77d05be6878146b9a7062ceea5fb5ba0e00 (diff)
downloadgdb-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/server.c')
-rw-r--r--gdb/gdbserver/server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c
index df226e3..aa7a0d0 100644
--- a/gdb/gdbserver/server.c
+++ b/gdb/gdbserver/server.c
@@ -70,6 +70,8 @@ attach_inferior (int pid, char *statusptr, unsigned char *sigptr)
if (myattach (pid) != 0)
return -1;
+ fprintf (stderr, "Attached; pid = %d\n", pid);
+
/* FIXME - It may be that we should get the SIGNAL_PID from the
attach function, so that it can be the main thread instead of
whichever we were told to attach to. */