This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] Fixes to RDI compilation problems
- To: gdb-patches at sources dot redhat dot com
- Subject: [patch] Fixes to RDI compilation problems
- From: Fernando Nasser <fnasser at redhat dot com>
- Date: Sun, 24 Jun 2001 09:40:29 -0400
- Organization: Red Hat Canada
I checked the following in:
ChangeLog:
* remote-rdi.c (arm_rdi_wait): Fix return type in prototype.
* rdi-share/host.h: Add missing parenthesis in conditional.
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
Index: rdi-share/host.h
===================================================================
RCS file: /cvs/src/src/gdb/rdi-share/host.h,v
retrieving revision 1.2
diff -c -p -r1.2 host.h
*** host.h 2001/06/10 16:25:51 1.2
--- host.h 2001/06/24 13:40:36
*************** typedef char *ArgvType;
*** 180,186 ****
# define FILENAME_MAX 256
#endif
! #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);
--- 180,186 ----
# define FILENAME_MAX 256
#endif
! #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);
Index: remote-rdi.c
===================================================================
RCS file: /cvs/src/src/gdb/remote-rdi.c,v
retrieving revision 1.16
diff -c -p -r1.16 remote-rdi.c
*** remote-rdi.c 2001/05/04 04:15:26 1.16
--- remote-rdi.c 2001/06/24 13:40:36
*************** static void arm_rdi_mourn (void);
*** 77,83 ****
static void arm_rdi_send (char *buf);
! static int arm_rdi_wait (ptid_t ptid, struct target_waitstatus
*status);
static void arm_rdi_kill (void);
--- 77,83 ----
static void arm_rdi_send (char *buf);
! static ptid_t arm_rdi_wait (ptid_t ptid, struct target_waitstatus
*status);
static void arm_rdi_kill (void);