* linux-nat.h (thread_db_init): New prototype.
+2006-07-23 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * linux-nat.c (linux_nat_add_target): Remove extern.
+ * linux-nat.h (thread_db_init): New prototype.
+
2006-07-22 Daniel Jacobowitz <dan@codesourcery.com>
* configure.tgt: Build gdbserver for Cygwin and mingw32.
void
linux_nat_add_target (struct target_ops *t)
{
- extern void thread_db_init (struct target_ops *);
-
/* Save the provided single-threaded target. We save this in a separate
variable because another target we've inherited from (e.g. inf-ptrace)
may have saved a pointer to T; we want to use it for the final
/* Attempt to initialize libthread_db. */
void check_for_thread_db (void);
+/* Tell the thread_db layer what native target operations to use. */
+void thread_db_init (struct target_ops *);
+
/* Find process PID's pending signal set from /proc/pid/status. */
void linux_proc_pending_signals (int pid, sigset_t *pending, sigset_t *blocked, sigset_t *ignored);