* bsd-kvm.c: Include "gdbthread.h".
authorPedro Alves <palves@redhat.com>
Sun, 10 Aug 2008 21:55:15 +0000 (21:55 +0000)
committerPedro Alves <palves@redhat.com>
Sun, 10 Aug 2008 21:55:15 +0000 (21:55 +0000)
commit6c6131323a8378d0a4e29565a1110930c9513bb1
tree5ad6a543fd158d469a1f10e4172ac4be2590dac3
parent230335c43abb50996fa8755bce454c96b10c397a
* bsd-kvm.c: Include "gdbthread.h".
(bsd_kvm_ptid): New.
(bsd_kvm_open): Add a main thread.
(bsd_kvm_close): Delete it.
(bsd_kvm_thread_alive): New.
(bsd_kvm_pid_to_str): New.
(bsd_kvm_add_target): Register bsd_kvm_thread_alive and
bsd_kvm_pid_to_str.
(bsd_kvm_add_target): Initialize bsd_kvm_ptid.
gdb/ChangeLog
gdb/bsd-kvm.c