aboutsummaryrefslogtreecommitdiff
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
commitcb90e81a8b74a6c9d0d4faf201a4d61c8c0f977c (patch)
treed63dbbc6eede93df76ad842cc80509c3693c5332
parent453520d7adcfbedec1c2e46344ad47c526e31ebf (diff)
downloadgdb-cb90e81a8b74a6c9d0d4faf201a4d61c8c0f977c.zip
gdb-cb90e81a8b74a6c9d0d4faf201a4d61c8c0f977c.tar.gz
gdb-cb90e81a8b74a6c9d0d4faf201a4d61c8c0f977c.tar.bz2
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 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);