OSDN Git Service

* hpux-thread.c (hpux_thread_resume): Delete commented-out code.
authorJoel Brobecker <brobecker@gnat.com>
Thu, 17 Jan 2008 05:51:08 +0000 (05:51 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 17 Jan 2008 05:51:08 +0000 (05:51 +0000)
gdb/ChangeLog
gdb/hpux-thread.c

index 6d58755..ac27b70 100644 (file)
@@ -1,3 +1,7 @@
+2008-01-17  Joel Brobecker  <brobecker@adacore.com>
+
+       * hpux-thread.c (hpux_thread_resume): Delete commented-out code.
+
 2008-01-16  Mark Kettenis  <kettenis@gnu.org>
 
        * auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS.
index fe87382..4264eed 100644 (file)
@@ -180,15 +180,6 @@ hpux_thread_resume (ptid_t ptid, int step, enum target_signal signo)
   ptid = main_ptid;
   inferior_ptid = main_ptid;
 
-#if 0
-  if (pid != -1)
-    {
-      pid = thread_to_lwp (pid, -2);
-      if (pid == -2)           /* Inactive thread */
-       error (_("This version of Solaris can't start inactive threads."));
-    }
-#endif
-
   deprecated_child_ops.to_resume (ptid, step, signo);
 
   cached_thread = 0;