diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2008-01-02 13:36:38 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2008-01-02 13:36:38 +0000 |
commit | ef29ce1ab3161205aec793706eb411a7b2bdba8b (patch) | |
tree | 6096042db0bbe4fcf59d38faf12c50f602d36dea /gdb/linux-nat.c | |
parent | 0fafefe31511097c49239948a41d1ceeffc60235 (diff) | |
download | gdb-ef29ce1ab3161205aec793706eb411a7b2bdba8b.zip gdb-ef29ce1ab3161205aec793706eb411a7b2bdba8b.tar.gz gdb-ef29ce1ab3161205aec793706eb411a7b2bdba8b.tar.bz2 |
* linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
* gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
New files
Diffstat (limited to 'gdb/linux-nat.c')
-rw-r--r-- | gdb/linux-nat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index 09f538b..b79e40f 100644 --- a/gdb/linux-nat.c +++ b/gdb/linux-nat.c @@ -517,6 +517,7 @@ linux_child_follow_fork (struct target_ops *ops, int follow_child) push_target (ops); linux_nat_switch_fork (inferior_ptid); + check_for_thread_db (); /* Reset breakpoints in the child as appropriate. */ follow_inferior_reset_breakpoints (); |