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:
parent
4c0ca98e58
commit
9c3f22346d
@ -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>
|
||||
|
||||
* 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;
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
sparc_software_single_step (struct frame_info *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,
|
||||
CORE_ADDR sp, int regnum);
|
||||
extern void sparc_collect_rwindow (const struct regcache *regcache,
|
||||
|
Loading…
x
Reference in New Issue
Block a user