diff options
author | Yao Qi <yao.qi@linaro.org> | 2016-03-18 15:01:47 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2016-03-18 15:01:47 +0000 |
commit | 9c3f22346dd632201807c0718d5281ed1eea329f (patch) | |
tree | 4c4cc11076002610ab3ff5dcde73e4a798634e5f /gdb/sparc-tdep.c | |
parent | 4c0ca98e58fc409c93b41bb6c42f3e873db47725 (diff) | |
download | gdb-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.c | 2 |
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); |