diff options
author | Nicholas Duffek <nsd@redhat.com> | 2000-04-13 16:31:50 +0000 |
---|---|---|
committer | Nicholas Duffek <nsd@redhat.com> | 2000-04-13 16:31:50 +0000 |
commit | db348f274580cbf2c07ab62ea3ff2a710709e076 (patch) | |
tree | a29360dade829c6ce370b92ddac97bb047847d12 /gdb | |
parent | 010a3cd9559edb01d09c7bfb7b11fca26b8bc602 (diff) | |
download | gdb-db348f274580cbf2c07ab62ea3ff2a710709e076.zip gdb-db348f274580cbf2c07ab62ea3ff2a710709e076.tar.gz gdb-db348f274580cbf2c07ab62ea3ff2a710709e076.tar.bz2 |
* sol-thread.c (init_sol_core_ops): Initialize to_thread_alive
and document to_find_new_threads bug.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/sol-thread.c | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0439393..a5a7685 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. + 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il> * infrun.c (proceed, normal_stop): Change the error message about diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c index 14ca05a..df54cf8 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; |