* remote.c (extended_remote_attach_1): Make local variable pid an int
authorJoel Brobecker <brobecker@gnat.com>
Fri, 7 Mar 2008 19:41:06 +0000 (19:41 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Fri, 7 Mar 2008 19:41:06 +0000 (19:41 +0000)
        instead of a pid_t.

gdb/ChangeLog
gdb/remote.c

index 291153efb8892564af2dcc86ba5312a4183b33bf..7f546bd7bbe99c32bfd9d06cda6747487948dcc6 100644 (file)
@@ -1,3 +1,8 @@
+2008-03-07  Joel Brobecker  <brobecker@adacore.com>
+
+       * remote.c (extended_remote_attach_1): Make local variable pid an int
+       instead of a pid_t.
+
 2008-03-07  Joel Brobecker  <brobecker@adacore.com>
 
        * solib-svr4.c (svr4_same_1): New function, originally extracted
index 5f8c1c934ef61cd058867cf0a1668683b22994b2..fac4d482aa383cb89ca9e28c1a3ad40a1606bce2 100644 (file)
@@ -2841,7 +2841,7 @@ static void
 extended_remote_attach_1 (struct target_ops *target, char *args, int from_tty)
 {
   struct remote_state *rs = get_remote_state ();
-  pid_t pid;
+  int pid;
   char *dummy;
 
   if (!args)