This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Cannot build GDB for arm-elf targets under cygwin...


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);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]