diff options
author | Daniel Jacobowitz <dan@debian.org> | 2006-03-30 16:34:23 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2006-03-30 16:34:23 +0000 |
commit | c2925413e58f8b3ce7504f2dd097be2ac9646a93 (patch) | |
tree | 440d1282933a9ed92e463d52f4a03f97f92baf9f /gdb/linux-nat.h | |
parent | a788fbb4e1f37129ae4f7296172fbefbc13830f9 (diff) | |
download | gdb-c2925413e58f8b3ce7504f2dd097be2ac9646a93.tar.gz |
* linux-thread-db.c: Include "linux-nat.h".
(check_for_thread_db): New function, split out from
thread_db_new_objfile. Remove dead check for active
thread_db on inapplicable targets.
(thread_db_new_objfile): Call check_for_thread_db.
* Makefile.in (linux-thread-db.o): Update.
* linux-nat.c (child_post_attach): Call check_for_thread_db.
(linux_child_post_startup_inferior): Likewise.
(lin_lwp_attach_lwp): Call target_post_attach instead of
child_post_attach.
* linux-nat.h (check_for_thread_db): New prototype.
Diffstat (limited to 'gdb/linux-nat.h')
-rw-r--r-- | gdb/linux-nat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/linux-nat.h b/gdb/linux-nat.h index ecfaab70e95..b7cc92a327f 100644 --- a/gdb/linux-nat.h +++ b/gdb/linux-nat.h @@ -65,6 +65,8 @@ struct lwp_info struct lwp_info *next; }; +/* Attempt to initialize libthread_db. */ +void check_for_thread_db (void); /* Find process PID's pending signal set from /proc/pid/status. */ void linux_proc_pending_signals (int pid, sigset_t *pending, sigset_t *blocked, sigset_t *ignored); |