This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Cannot build GDB for arm-elf targets under cygwin...
- To: Joćo Cadamuro Junior <cadamuro at lit dot cpdtt dot cefetpr dot br>, gdb <gdb at sources dot redhat dot com>
- Subject: Re: Cannot build GDB for arm-elf targets under cygwin...
- From: Fernando Nasser <fnasser at redhat dot com>
- Date: Thu, 21 Jun 2001 03:55:40 -0400
- Organization: Red Hat Canada
- References: <3B30E895.5BDE9E4A@lit.cpdtt.cefetpr.br> <3B31A7F1.4BA158FF@redhat.com>
Of course, you will need the patch... :-)
I have attached it this time.
Fernando Nasser wrote:
>
> Joao,
>
> Please try this patch and let me know if it is compiling now.
>
> Thank you for reporting this.
>
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
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/21 07:54:11
*************** 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);
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/21 07:54:11
*************** 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);