gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 5 Mar 2012 21:07:46 +0000 (21:07 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 5 Mar 2012 21:07:46 +0000 (21:07 +0000)
commit2e7941949d5bab63696c842cb5fe3d96edba29fb
tree7582b76b9fd41ee0d59fe72764a801e2e8dd9bc5
parent9f9f1f31e7b0df2da2fac6a8de06d9286f71f4d2
gdb/
Code cleanup.
* common/linux-osdata.c (linux_common_core_of_thread): New function
comment.
* linux-nat.c (linux_nat_wait_1): Replace linux_nat_core_of_thread_1
call by linux_common_core_of_thread.
(linux_nat_core_of_thread_1): Remove.
* linux-nat.h (linux_nat_core_of_thread_1): Remove declaration.
* linux-thread-db.c: Include linux-osdata.h.
(update_thread_core): Replace linux_nat_core_of_thread_1 call by
linux_common_core_of_thread.
gdb/ChangeLog
gdb/common/linux-osdata.c
gdb/linux-nat.c
gdb/linux-nat.h
gdb/linux-thread-db.c