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 fix non-ansi function declaration


Spotted by the ARI checker.

Committed as obvious.

2002-02-06  Richard Earnshaw  <rearnsha@arm.com>

	* arm-tdep.c (arm_software_single_step): ANSIfy function declaration.


===================================================================
RCS file: /cvs/src/src/gdb/arm-tdep.c,v
retrieving revision 1.34
diff -p -r1.34 arm-tdep.c
*** arm-tdep.c	2002/02/06 13:00:44	1.34
--- arm-tdep.c	2002/02/06 13:10:39
*************** arm_get_next_pc (CORE_ADDR pc)
*** 2006,2014 ****
     set up a simulated single-step, we undo our damage.  */
  
  void
! arm_software_single_step (ignore, insert_bpt)
!      int ignore; /* Signal, not needed */
!      int insert_bpt;
  {
    static int next_pc; /* State between setting and unsetting. */
    static char break_mem[BREAKPOINT_MAX]; /* Temporary storage for mem@bpt */
--- 2006,2012 ----
     set up a simulated single-step, we undo our damage.  */
  
  void
! arm_software_single_step (int ignore, int insert_bpt)
  {
    static int next_pc; /* State between setting and unsetting. */
    static char break_mem[BREAKPOINT_MAX]; /* Temporary storage for mem@bpt */

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