This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
PATCH ARM fix non-ansi function declaration
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: gdb-patches at sources dot redhat dot com
- Cc: Richard dot Earnshaw at arm dot com
- Date: Wed, 06 Feb 2002 13:13:40 +0000
- Subject: PATCH ARM fix non-ansi function declaration
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
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 */