aboutsummaryrefslogtreecommitdiff
path: root/gdb/spu-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/spu-tdep.c')
-rw-r--r--gdb/spu-tdep.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/spu-tdep.c b/gdb/spu-tdep.c
index cbcf1b5..7b35c0e 100644
--- a/gdb/spu-tdep.c
+++ b/gdb/spu-tdep.c
@@ -1284,7 +1284,7 @@ spu_breakpoint_from_pc (struct gdbarch *gdbarch, CORE_ADDR * pcptr, int *lenptr)
/* Software single-stepping support. */
-int
+static int
spu_software_single_step (struct frame_info *frame)
{
CORE_ADDR pc, next_pc;
@@ -2154,6 +2154,9 @@ spu_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
return gdbarch;
}
+/* Provide a prototype to silence -Wmissing-prototypes. */
+extern initialize_file_ftype _initialize_spu_tdep;
+
void
_initialize_spu_tdep (void)
{