Makefile.in (HFILES_NO_SRCDIR): Remove "common/gdb_dirent.h".
[deliverable/binutils-gdb.git] / gdb / dec-thread.c
index 11cf50147f0b2c5a72e8b3abb9966d8328d1a79b..03768283f6fc7cf114841d1341a5b319a6eed839 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2013 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -108,7 +108,7 @@ write_clbk (void *caller_context, void *address, void *buffer,
   return ESUCCESS;
 }
 
-/* Get integer regs */
+/* Get integer regs */
 
 static int
 get_reg_clbk(void *caller_context, pthreadDebugGetRegRtn_t regs,
@@ -120,7 +120,7 @@ get_reg_clbk(void *caller_context, pthreadDebugGetRegRtn_t regs,
   return ESUCCESS;
 }
 
-/* Set integer regs */
+/* Set integer regs */
 
 static int
 set_reg_clbk(void *caller_context, const pthreadDebugRegs_t *regs,
@@ -256,7 +256,7 @@ enable_dec_thread (void)
   debug ("enable_dec_thread: Thread support enabled.");
 }
 
-/* Deactivate thread support.  Do nothing is thread support is
+/* Deactivate thread support.  Do nothing if thread support is
    already inactive.  */
 
 static void
@@ -444,7 +444,7 @@ resync_thread_list (struct target_ops *ops)
 /* The "to_detach" method of the dec_thread_ops.  */
 
 static void
-dec_thread_detach (struct target_ops *ops, char *args, int from_tty)
+dec_thread_detach (struct target_ops *ops, const char *args, int from_tty)
 {   
   struct target_ops *beneath = find_target_beneath (ops);
 
@@ -700,7 +700,7 @@ dec_thread_get_ada_task_ptid (long lwp, long thread)
     if (info->info.teb == (pthread_t) thread)
       return ptid_build_from_info (*info);
   
-  warning (_("Could not find thread id from THREAD = 0x%lx\n"), thread);
+  warning (_("Could not find thread id from THREAD = 0x%lx"), thread);
   return inferior_ptid;
 }
 
@@ -727,7 +727,7 @@ void
 _initialize_dec_thread (void)
 {
   init_dec_thread_ops ();
-  add_target (&dec_thread_ops);
+  complete_target_initialization (&dec_thread_ops);
 
   observer_attach_new_objfile (dec_thread_new_objfile_observer);
 
This page took 0.026506 seconds and 4 git commands to generate.