aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2008-01-17 05:51:08 +0000
committerJoel Brobecker <brobecker@gnat.com>2008-01-17 05:51:08 +0000
commitc70bd6f33eaf92e13835e2535ccad0b96155c014 (patch)
tree4a009ce1c62527df49db9c90c11c1f184477c7b9 /gdb
parentca2e663217aa751c8d525c48658086bb758dd4b5 (diff)
downloadgdb-c70bd6f33eaf92e13835e2535ccad0b96155c014.zip
gdb-c70bd6f33eaf92e13835e2535ccad0b96155c014.tar.gz
gdb-c70bd6f33eaf92e13835e2535ccad0b96155c014.tar.bz2
* hpux-thread.c (hpux_thread_resume): Delete commented-out code.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/hpux-thread.c9
2 files changed, 4 insertions, 9 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6d58755..ac27b70 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/hpux-thread.c b/gdb/hpux-thread.c
index fe87382..4264eed 100644
--- a/gdb/hpux-thread.c
+++ b/gdb/hpux-thread.c
@@ -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;