aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/remote.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 291153e..7f546bd 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
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
from svr4_same and expanded to handle the sparc64 case.
(svr4_same): Move up and reimplement using svr4_same_1.
diff --git a/gdb/remote.c b/gdb/remote.c
index 5f8c1c9..fac4d48 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -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)