Display per-thread information for threads in FreeBSD cores.
authorJohn Baldwin <jhb@FreeBSD.org>
Mon, 14 Dec 2015 05:49:52 +0000 (21:49 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 19 Jan 2016 16:18:30 +0000 (08:18 -0800)
commit791174281c341539fab650bd934cc0060b7c9720
tree7e2a88f950c6d4d6e56d47ec357544f659305b43
parent4dfc5dbc4e1b267d440dd515a42fe6fd96a8d860
Display per-thread information for threads in FreeBSD cores.

Display the LWP ID of each thread in a FreeBSD core.  Extract thread
names from the per-thread THRMISC note.

gdb/ChangeLog:

* fbsd_tdep.c (fbsd_core_pid_to_str): New function.
(fbsd_core_thread_name): New function.
(fbsd_init_abi): Add "core_pid_to_str" gdbarch method.
Add "core_thread_name" gdbarch method.
gdb/ChangeLog
gdb/fbsd-tdep.c