summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando Nasser <fnasser@redhat.com>2001-06-24 13:46:09 +0000
committerFernando Nasser <fnasser@redhat.com>2001-06-24 13:46:09 +0000
commitb7bd5909de8feee11ea339919f8ff2e9e6fa3ffc (patch)
tree35da354bb2b9c797f8d32c711e7e0309ab77f784
parentde8e93a09c02390eb9ae1e5c8ee3d80dfc706bb4 (diff)
downloadgdb-b7bd5909de8feee11ea339919f8ff2e9e6fa3ffc.tar.gz
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 in struct so_map. * configure: regenerate.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/rdi-share/host.h2
-rw-r--r--gdb/remote-rdi.c2
3 files changed, 7 insertions, 2 deletions
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 <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 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);