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]
Other format: [Raw text]

[patch] arm-netbsd clean up native include file.



The native include file for arm*-*-netbsd* was

1) Using #include "nm-nbsd.h" which was potentially self-recursive

2) Defining REGISTER_U_ADDR to call a function that doesn't exist.

Fortunately we never compiled a file that needed this definition ;-)

2002-05-15  Richard Earnshaw  <rearnsha@arm.com>

	* config/arm/nm-nbsd.h: Use <> for include of config/nm-nbsd.h.
	(REGISTER_U_ADDR): Delete definition.
	(arm_register_u_addr): Delete declaration.


Index: config/arm/nm-nbsd.h
===================================================================
RCS file: /cvs/src/src/gdb/config/arm/nm-nbsd.h,v
retrieving revision 1.2
diff -p -r1.2 nm-nbsd.h
*** config/arm/nm-nbsd.h	9 Jan 2002 18:39:37 -0000	1.2
--- config/arm/nm-nbsd.h	15 May 2002 16:17:29 -0000
***************
*** 22,33 ****
  #define NM_NBSD_H
  
  /* Get generic NetBSD native definitions. */
! #include "nm-nbsd.h"
! 
! #define REGISTER_U_ADDR(addr, blockend, regno) \
! 	(addr) = arm_register_u_addr ((blockend),(regno));
! 
! extern int
! arm_register_u_addr (int, int);
  
  #endif /* NM_NBSD_H */
--- 22,27 ----
  #define NM_NBSD_H
  
  /* Get generic NetBSD native definitions. */
! #include <nm-nbsd.h>
  
  #endif /* NM_NBSD_H */

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