This is the mail archive of the gdb-patches@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]

[patch] Fixes to RDI compilation problems


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


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