diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/rdi-share/host.h | 2 | ||||
-rw-r--r-- | gdb/remote-rdi.c | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d6c4f5f..1c24528 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-06-24 Fernando Nasser <fnasser@redhat.com> + + * remote-rdi.c (arm_rdi_wait): Fix return type in prototype. + * rdi-share/host.h: Add missing parenthesis in conditional. + 2001-06-22 J.T. Conklin <jtc@redback.com> * configure.in: include nlist.h when checking for member som_addr diff --git a/gdb/rdi-share/host.h b/gdb/rdi-share/host.h index 2955583..3c1565b 100644 --- a/gdb/rdi-share/host.h +++ b/gdb/rdi-share/host.h @@ -180,7 +180,7 @@ typedef char *ArgvType; # define FILENAME_MAX 256 #endif -#if (!defined(__STDC__) && !defined(__cplusplus) || defined(COMPILING_ON_SUNOS) +#if (!defined(__STDC__) && !defined(__cplusplus)) || defined(COMPILING_ON_SUNOS) /* Use bcopy rather than memmove, as memmove is not available. */ /* There does not seem to be a header for bcopy. */ void bcopy(const char *src, char *dst, int length); diff --git a/gdb/remote-rdi.c b/gdb/remote-rdi.c index 9b7848c..22274b5 100644 --- a/gdb/remote-rdi.c +++ b/gdb/remote-rdi.c @@ -77,7 +77,7 @@ static void arm_rdi_mourn (void); static void arm_rdi_send (char *buf); -static int arm_rdi_wait (ptid_t ptid, struct target_waitstatus *status); +static ptid_t arm_rdi_wait (ptid_t ptid, struct target_waitstatus *status); static void arm_rdi_kill (void); |