summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-04-19 07:24:09 +0000
committerAndrew Cagney <cagney@redhat.com>2000-04-19 07:24:09 +0000
commit92f6099847b3a0a55b9e5a08a7da5e79009330ce (patch)
treed54c5b5973e2e9abc502489ba67e28b7c9093205
parent4d67d7f9a85c28a6402b2d59bb5081903b223e9e (diff)
downloadgdb-92f6099847b3a0a55b9e5a08a7da5e79009330ce.tar.gz
* sol-thread.c (init_sol_core_ops): Initialize to_thread_alive
and document to_find_new_threads bug.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/sol-thread.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0d530ce4ded..c3316dfadae 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2000-04-13 Nick Duffek <nsd@cygnus.com>
+
+ * sol-thread.c (init_sol_core_ops): Initialize to_thread_alive
+ and document to_find_new_threads bug.
+
Wed Apr 19 17:03:07 2000 Andrew Cagney <cagney@b1.cygnus.com>
From Philippe De Muyter <phdm@macqel.be>:
diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c
index 14ca05a1c7a..df54cf87ea8 100644
--- a/gdb/sol-thread.c
+++ b/gdb/sol-thread.c
@@ -1632,7 +1632,13 @@ init_sol_core_ops ()
sol_core_ops.to_has_registers = 1;
sol_core_ops.to_has_execution = 0;
sol_core_ops.to_has_thread_control = tc_none;
+ sol_core_ops.to_thread_alive = sol_thread_alive;
sol_core_ops.to_pid_to_str = solaris_pid_to_str;
+ /* On Solaris/x86, when debugging a threaded core file from process <n>,
+ the following causes "info threads" to produce "procfs: couldn't find pid
+ <n> in procinfo list" where <n> is the pid of the process that produced
+ the core file. Disable it for now. */
+ /* sol_core_ops.to_find_new_threads = sol_find_new_threads; */
sol_core_ops.to_sections = 0;
sol_core_ops.to_sections_end = 0;
sol_core_ops.to_magic = OPS_MAGIC;