summaryrefslogtreecommitdiff
path: root/gdb/sol-thread.c
diff options
context:
space:
mode:
authorNicholas Duffek <nsd@redhat.com>2000-04-13 16:31:50 +0000
committerNicholas Duffek <nsd@redhat.com>2000-04-13 16:31:50 +0000
commitdaa2f7dfbdca3bfaaf3b68e495678f07cdd004ee (patch)
tree2b2465c23333fc74a3529d4cf79a46eb4ee7973a /gdb/sol-thread.c
parentc7d3f624dcba897e2f13e0f8943a7e441b71399c (diff)
downloadgdb-daa2f7dfbdca3bfaaf3b68e495678f07cdd004ee.tar.gz
* sol-thread.c (init_sol_core_ops): Initialize to_thread_alive
and document to_find_new_threads bug.
Diffstat (limited to 'gdb/sol-thread.c')
-rw-r--r--gdb/sol-thread.c6
1 files changed, 6 insertions, 0 deletions
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;