Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Eliminate PARAMS from ARM files
@ 2002-01-09 10:22 Richard Earnshaw
  2002-01-09 10:37 ` Andrew Cagney
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Earnshaw @ 2002-01-09 10:22 UTC (permalink / raw)
  To: gdb-patches; +Cc: Richard.Earnshaw

[-- Attachment #1: Type: text/plain, Size: 343 bytes --]


I think this should come under "obvious", but just in case:


Remove deprecated PARAMS from arm-specific files.

<date>  Richard Earnshaw  <rearnsha@arm.com>

	* config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
	* config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
	* config/arm/tm-nbsd.h (get_longjmp_target): Likewise.



[-- Attachment #2: params.patch --]
[-- Type: text/x-patch , Size: 1988 bytes --]

Index: nm-nbsd.h
===================================================================
RCS file: /cvs/src/src/gdb/config/arm/nm-nbsd.h,v
retrieving revision 1.1
diff -p -r1.1 nm-nbsd.h
*** nm-nbsd.h	2001/12/17 16:23:02	1.1
--- nm-nbsd.h	2002/01/09 18:17:47
***************
*** 28,33 ****
  	(addr) = arm_register_u_addr ((blockend),(regno));
  
  extern int
! arm_register_u_addr PARAMS ((int, int));
  
  #endif /* NM_NBSD_H */
--- 28,33 ----
  	(addr) = arm_register_u_addr ((blockend),(regno));
  
  extern int
! arm_register_u_addr (int, int);
  
  #endif /* NM_NBSD_H */
Index: tm-arm.h
===================================================================
RCS file: /cvs/src/src/gdb/config/arm/tm-arm.h,v
retrieving revision 1.12
diff -p -r1.12 tm-arm.h
*** tm-arm.h	2002/01/05 04:30:24	1.12
--- tm-arm.h	2002/01/09 18:17:47
*************** void arm_fix_call_dummy (char *dummy, CO
*** 457,463 ****
  #define SOFTWARE_SINGLE_STEP_P() 1
  
  #define SOFTWARE_SINGLE_STEP(sig,bpt) arm_software_single_step((sig), (bpt))
! void arm_software_single_step PARAMS((int, int));
  
  CORE_ADDR arm_get_next_pc (CORE_ADDR pc);
  
--- 457,463 ----
  #define SOFTWARE_SINGLE_STEP_P() 1
  
  #define SOFTWARE_SINGLE_STEP(sig,bpt) arm_software_single_step((sig), (bpt))
! void arm_software_single_step (int, int);
  
  CORE_ADDR arm_get_next_pc (CORE_ADDR pc);
  
Index: tm-nbsd.h
===================================================================
RCS file: /cvs/src/src/gdb/config/arm/tm-nbsd.h,v
retrieving revision 1.1
diff -p -r1.1 tm-nbsd.h
*** tm-nbsd.h	2001/12/17 16:23:02	1.1
--- tm-nbsd.h	2002/01/09 18:17:47
***************
*** 45,51 ****
     This routine returns true on success */
  
  extern int
! get_longjmp_target PARAMS ((CORE_ADDR *));
  
  #define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR)
  
--- 45,51 ----
     This routine returns true on success */
  
  extern int
! get_longjmp_target (CORE_ADDR *);
  
  #define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR)
  

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-01-09 18:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-09 10:22 Eliminate PARAMS from ARM files Richard Earnshaw
2002-01-09 10:37 ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox