* remote-utils.c (remote_open): Print a status notice after
authorDaniel Jacobowitz <drow@false.org>
Sun, 29 Feb 2004 16:46:01 +0000 (16:46 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sun, 29 Feb 2004 16:46:01 +0000 (16:46 +0000)
opening a TCP port.
* server.c (attach_inferior): Print a status notice after
attaching.

gdb/gdbserver/ChangeLog
gdb/gdbserver/remote-utils.c
gdb/gdbserver/server.c

index 63bbc91c76e499e5fad5a22840e6f2b421474c29..ae1117f3a68933942efd4dd5d80291a18dbb151e 100644 (file)
@@ -1,4 +1,11 @@
-2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
+2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
+
+       * remote-utils.c (remote_open): Print a status notice after
+       opening a TCP port.
+       * server.c (attach_inferior): Print a status notice after
+       attaching.
+
+2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
 
        * linux-arm-low.c (arm_get_pc): Print out stop PC in debug mode.
 
index 4e9ca0218b1973d69edca546797a3df80a095f42..c9d198fb289e2ce70a8f86503e188f49d09ea9d1 100644 (file)
@@ -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)
index df226e37df6c0840aef388250ae9bfb47212c5ec..aa7a0d0beedba942f4e332d61587488ccf0d6dcf 100644 (file)
@@ -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.  */
This page took 0.034607 seconds and 4 git commands to generate.