Dump register notes for each thread when generating a FreeBSD core.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 22 Dec 2015 00:34:15 +0000 (16:34 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 19 Jan 2016 16:19:40 +0000 (08:19 -0800)
commit20a0aab3ed0f4bb5c304e560751b09b7b82a3e65
tree037e99f4c7dd9466fd2aaaa098139798629a6c96
parent6e9567fe2ab39d1de89ecc5105c17443b66c9b48
Dump register notes for each thread when generating a FreeBSD core.

gdb/ChangeLog:

* fbsd-tdep.c (find_stop_signal): Remove.
(struct fbsd_collect_regset_section_cb) <lwp>: New field.
<stop_signal>: New field.
<abort_iteration>: New field.
(fbsd_collect_regset_section_cb): Use new fields.
(fbsd_collect_thread_registers): New function.
(struct fbsd_corefile_thread_data): New structure.
(fbsd_corefile_thread): New function.
(fbsd_make_corefile_notes): Use new function to dump notes for each
non-exited thread in a process.
gdb/ChangeLog
gdb/fbsd-tdep.c