aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-tdep.c
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2016-03-18 15:01:47 +0000
committerYao Qi <yao.qi@linaro.org>2016-03-18 15:01:47 +0000
commit9c3f22346dd632201807c0718d5281ed1eea329f (patch)
tree4c4cc11076002610ab3ff5dcde73e4a798634e5f /gdb/sparc-tdep.c
parent4c0ca98e58fc409c93b41bb6c42f3e873db47725 (diff)
downloadgdb-9c3f22346dd632201807c0718d5281ed1eea329f.zip
gdb-9c3f22346dd632201807c0718d5281ed1eea329f.tar.gz
gdb-9c3f22346dd632201807c0718d5281ed1eea329f.tar.bz2
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.
Diffstat (limited to 'gdb/sparc-tdep.c')
-rw-r--r--gdb/sparc-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c
index b85b15f..863ef8f 100644
--- a/gdb/sparc-tdep.c
+++ b/gdb/sparc-tdep.c
@@ -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);