1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/usr.bin/gcore
Attilio Rao 7f08176ee8 Add the ability for GDB to printout the thread name along with other
thread specific informations.

In order to do that, and in order to avoid KBI breakage with existing
infrastructure the following semantic is implemented:
- For live programs, a new member to the PT_LWPINFO is added (pl_tdname)
- For cores, a new ELF note is added (NT_THRMISC) that can be used for
  storing thread specific, miscellaneous, informations. Right now it is
  just popluated with a thread name.

GDB, then, retrieves the correct informations from the corefile via the
BFD interface, as it groks the ELF notes and create appropriate
pseudo-sections.

Sponsored by:	Sandvine Incorporated
Tested by:	gianni
Discussed with:	dim, kan, kib
MFC after:	2 weeks
2010-11-22 14:42:13 +00:00
..
elfcore.c Add the ability for GDB to printout the thread name along with other 2010-11-22 14:42:13 +00:00
extern.h Fix the way the segments are included in the gcore outputs (with the 2010-07-14 17:16:25 +00:00
gcore.1 Fix spelling. 2010-07-14 17:46:44 +00:00
gcore.c Fix the way the segments are included in the gcore outputs (with the 2010-07-14 17:16:25 +00:00
Makefile