* linux-nat.c (linux_nat_add_target): Remove extern.
authorDaniel Jacobowitz <drow@false.org>
Sun, 23 Jul 2006 21:21:01 +0000 (21:21 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sun, 23 Jul 2006 21:21:01 +0000 (21:21 +0000)
* linux-nat.h (thread_db_init): New prototype.

gdb/ChangeLog
gdb/linux-nat.c
gdb/linux-nat.h

index 7176b68fdadd05f7318868af9b3901c0540643fa..76c1b4e6eab60fd980da29cd52c3026236b37ea5 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 6c63ba97a8511cc0f10dd246e7065db427f42fbe..d9e5726218119cd7160f741436ebaea26498c6c2 100644 (file)
@@ -3180,8 +3180,6 @@ linux_target (void)
 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
index b7cc92a327fbc1e1c1479e1be1e581a0372912ae..f820ff63170b119bc5cd0174c564144acfb1bc59 100644 (file)
@@ -68,6 +68,9 @@ struct lwp_info
 /* 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);
 
This page took 0.028497 seconds and 4 git commands to generate.