aboutsummaryrefslogtreecommitdiff
path: root/gas/frags.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2000-12-27 21:37:57 +0000
committerMark Kettenis <kettenis@gnu.org>2000-12-27 21:37:57 +0000
commitbda9cb723c0f733f03ed6fe74dfc3b87fe5e775f (patch)
tree2f63f711c762f3d5d607d99e2e975a0e420a1687 /gas/frags.c
parentb6f6b44d62d6068e4198ed702fbba1db7d59700f (diff)
downloadgdb-bda9cb723c0f733f03ed6fe74dfc3b87fe5e775f.zip
gdb-bda9cb723c0f733f03ed6fe74dfc3b87fe5e775f.tar.gz
gdb-bda9cb723c0f733f03ed6fe74dfc3b87fe5e775f.tar.bz2
Fix debugging programs statically linked against the thread library.
* thread-db.c: Various comment fixes and additions. Include "bfd.h", "symfile.h" and "objfiles.h". (keep_thread_db): New variable. (find_new_threads_callback): Remove prototype. (thread_db_find_new_threads): New prototype. (thread_db_push_target, thread_db_unpush_target): Remove functions. (deactivate_target): New function. (thread_db_new_objfile): If OBJFILE == NULL, force deactivation of target vector. Activate target vector directly instead of calling thread_db_push_target. Set keep_thread_db if thread library is detected in the main symbol file. Only enable thread event reporting if there actually is a child process. Likewise for detecting new threads, done by calling thread_db_find_new_threads instead of iterating over the threads ourselves. (thread_db_detach): Call deactivate_target instead of thread_db_unpush_target. (thread_db_wait): Bail out early if we're not debugging the multi-threaded child process yet. (thread_db_post_startup_inferior): New function. (thread_db_mourn_inferior): Call deactivate_target instead of thread_db_unpush_target. (init_thread_db_ops): Add thread_db_post_startup_inferior to thread_db_ops.
Diffstat (limited to 'gas/frags.c')
0 files changed, 0 insertions, 0 deletions