Index: gdb/ravenscar-thread.c |
diff --git a/gdb/ravenscar-thread.c b/gdb/ravenscar-thread.c |
index 63ecad5440a39faa1bd4a68706222529ea09608f..385438175a271e0ba833a78ed9f21c7330686038 100644 |
--- a/gdb/ravenscar-thread.c |
+++ b/gdb/ravenscar-thread.c |
@@ -72,7 +72,7 @@ static void ravenscar_store_registers (struct target_ops *ops, |
static void ravenscar_prepare_to_store (struct regcache *regcache); |
static void ravenscar_initialize (char *name, int from_tty); |
static void ravenscar_resume (struct target_ops *ops, ptid_t ptid, int step, |
- enum target_signal siggnal); |
+ enum gdb_signal siggnal); |
static void ravenscar_mourn_inferior (struct target_ops *ops); |
static void ravenscar_update_inferior_ptid (void); |
static int has_ravenscar_runtime (void); |
@@ -187,7 +187,7 @@ ravenscar_close (int quitting) |
static void |
ravenscar_resume (struct target_ops *ops, ptid_t ptid, int step, |
- enum target_signal siggnal) |
+ enum gdb_signal siggnal) |
{ |
struct target_ops *beneath = find_target_beneath (ops); |
@@ -421,6 +421,9 @@ Support for Ravenscar task/thread switching is enabled\n")); |
Support for Ravenscar task/thread switching is disabled\n")); |
} |
+/* Provide a prototype to silence -Wmissing-prototypes. */ |
+extern void _initialize_ravenscar (void); |
+ |
/* Module startup initialization function, automagically called by |
init.c. */ |