gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 17 Apr 2011 19:11:07 +0000 (19:11 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 17 Apr 2011 19:11:07 +0000 (19:11 +0000)
commit254f582e7e9b0f5112489bdc7700c3edb0d00a08
treefc480d8a52530ab5239ddfe7514123c9db965ed2
parent4fe85f5c276ced5f5c35f9d3ba32644e83b5dc07
gdb/
* linux-thread-db.c (find_new_threads_callback): Exit on zero TI_TID
even if !TARGET_HAS_EXECUTION.

gdb/testsuite/
* gdb.threads/gcore-thread.exp ($core0file): New variable.
(clear __stack_user.next, clear stack_used.next)
(save a zeroed-threads corefile): New test.
Call core_load for $core0file.
(zeroed-threads cannot be listed): New test.
gdb/ChangeLog
gdb/linux-thread-db.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/gcore-thread.exp