mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-03 21:34:46 +08:00
Make sparc_software_single_step static
sparc_software_single_step is not used out of sparc-tdep.c, so this patch makes it static. gdb: 2016-03-18 Yao Qi <yao.qi@linaro.org> * sparc-tdep.c (sparc_software_single_step): Make it static. * sparc-tdep.h (sparc_software_single_step): Remove declaration.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2016-03-18 Yao Qi <yao.qi@linaro.org>
|
||||||
|
|
||||||
|
* sparc-tdep.c (sparc_software_single_step): Make it static.
|
||||||
|
* sparc-tdep.h (sparc_software_single_step): Remove declaration.
|
||||||
|
|
||||||
2016-03-18 Yao Qi <yao.qi@linaro.org>
|
2016-03-18 Yao Qi <yao.qi@linaro.org>
|
||||||
|
|
||||||
* spu-tdep.c (spu_software_single_step): Throw error when
|
* spu-tdep.c (spu_software_single_step): Throw error when
|
||||||
|
@ -1605,7 +1605,7 @@ sparc_step_trap (struct frame_info *frame, unsigned long insn)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
static int
|
||||||
sparc_software_single_step (struct frame_info *frame)
|
sparc_software_single_step (struct frame_info *frame)
|
||||||
{
|
{
|
||||||
struct gdbarch *arch = get_frame_arch (frame);
|
struct gdbarch *arch = get_frame_arch (frame);
|
||||||
|
@ -198,8 +198,6 @@ extern int
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
extern int sparc_software_single_step (struct frame_info *frame);
|
|
||||||
|
|
||||||
extern void sparc_supply_rwindow (struct regcache *regcache,
|
extern void sparc_supply_rwindow (struct regcache *regcache,
|
||||||
CORE_ADDR sp, int regnum);
|
CORE_ADDR sp, int regnum);
|
||||||
extern void sparc_collect_rwindow (const struct regcache *regcache,
|
extern void sparc_collect_rwindow (const struct regcache *regcache,
|
||||||
|
Reference in New Issue
Block a user