+2012-03-13 Josh Matthews <josh@joshmatthews.net>
+
+ * darwin-nat-info.c (_initialize_darwin_info_commands): Add
+ prototype.
+ (darwin_debug_port_info): Make static.
+ * darwin-nat.c (_initialize_darwin_inferior): Add prototype.
+ * machoread.c (_initialize_machoread): Add prototype.
+ * i386-darwin-nat.c (i386_darwin_dr_set, i386_darwin_dr_get)
+ (i386_darwin_set_control, i386_darwin_get_control)
+ i386_darwin_dr_set_addr, i386_darwin_get_addr)
+ i386_darwin_get_status, i386_darwin_get_control):
+ Comment out with HW_WATCHPOINT_NOT_YET_ENABLED macro.
+
2012-03-13 Joel Brobecker <brobecker@adacore.com>
* ax-gdb.c (gen_usual_unary): Remove special handling of
}
-void
+static void
darwin_debug_port_info (task_t task, mach_port_t port)
{
kern_return_t kret;
}
}
+/* -Wmissing-prototypes */
+extern initialize_file_ftype _initialize_darwin_info_commands;
+
void
_initialize_darwin_info_commands (void)
{
return 1;
}
+/* -Wmissing-prototypes */
+extern initialize_file_ftype _initialize_darwin_inferior;
+
void
_initialize_darwin_inferior (void)
{
}
}
-
+#ifdef HW_WATCHPOINT_NOT_YET_ENABLED
/* Support for debug registers, boosted mostly from i386-linux-nat.c. */
static void
{
return i386_darwin_dr_get (DR_CONTROL);
}
+#endif
void
darwin_check_osabi (darwin_inferior *inf, thread_t thread)