[commit] Delete commented-out code in hpux-thread.c
Joel Brobecker
brobecker@adacore.com
Thu Jan 17 05:54:00 GMT 2008
Hello,
I deleted some code that was commented out, and looked like it was
coming from a copy/paste of the solaris thread code...
2008-01-17 Joel Brobecker <brobecker@adacore.com>
* hpux-thread.c (hpux_thread_resume): Delete commented-out code.
Checked in as obvious.
--
Joel
-------------- next part --------------
Index: hpux-thread.c
===================================================================
RCS file: /cvs/src/src/gdb/hpux-thread.c,v
retrieving revision 1.41
diff -u -p -r1.41 hpux-thread.c
--- hpux-thread.c 1 Jan 2008 22:53:10 -0000 1.41
+++ hpux-thread.c 17 Jan 2008 05:47:44 -0000
@@ -180,15 +180,6 @@ hpux_thread_resume (ptid_t ptid, int ste
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;
More information about the Gdb-patches
mailing list