diff options
author | Joel Brobecker <brobecker@gnat.com> | 2008-03-07 19:41:06 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2008-03-07 19:41:06 +0000 |
commit | be86555cb7d724ad60c64a275c7b5a94c0cf2169 (patch) | |
tree | da7144d735c4a41463e7550b1d410a26a073e343 | |
parent | 4d7b2d5b9d56cb1122b58b411368dbf6630c84c9 (diff) | |
download | gdb-be86555cb7d724ad60c64a275c7b5a94c0cf2169.zip gdb-be86555cb7d724ad60c64a275c7b5a94c0cf2169.tar.gz gdb-be86555cb7d724ad60c64a275c7b5a94c0cf2169.tar.bz2 |
* remote.c (extended_remote_attach_1): Make local variable pid an int
instead of a pid_t.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/remote.c | 2 |
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) |