From: Fernando Nasser Date: Sun, 24 Jun 2001 13:46:09 +0000 (+0000) Subject: 2001-06-24 Fernando Nasser X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cb90e81a8b74a6c9d0d4faf201a4d61c8c0f977c;p=binutils-gdb.git 2001-06-24 Fernando Nasser * 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 * configure.in: include nlist.h when checking for member som_addr in struct so_map. * configure: regenerate. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d6c4f5f0b53..1c245287f0b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-06-24 Fernando Nasser + + * 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 * 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 2955583d083..3c1565b8f11 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 9b7848c741d..22274b59cc9 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);