summaryrefslogtreecommitdiffstats
path: root/sys/sys/procfs.h
Commit message (Collapse)AuthorAgeFilesLines
* Add the ability for GDB to printout the thread name along with otherattilio2010-11-221-0/+7
| | | | | | | | | | | | | | | | | | | | 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
* Widen psaddr_t from uintptr_t to uint64_t. This results in anmarcel2008-09-141-1/+1
| | | | | | | | | | | | | | | ABI change on ILP32 platforms and relating to events. However it's harmless on little-endian ILP32 platforms in the sense that it doesn't cause breakages. Old ILP32 thread libraries write a 32-bit th_p and new thread libraries write a 64-bit th_p. But due to the fact that we have an unused 32-bit data field right after th_p and that field is always initialized to zero, little-endian ILP32 machines effectively have a valid 64-bit th_p by accident. Likewise for new thread libraries and old libthread_db: little endian ILP32 is unaffected. At this time we don't support big-endian threaded applications in GDB, so the breakage for the ILP32 case goes unnoticed.
* Change the type of psaddr_t from void* to uintptr_t. A pointermarcel2008-07-301-1/+1
| | | | | type cannot be made wider to allow ILP32 platforms to target LP64 platforms.
* type prgregset_t really should be an array. this is odd, however, otherdavidxu2004-07-151-1/+1
| | | | | | systems defined interfaces in thread_db.h use prgregset_t but not prgregset_t * to be a output parameter, this is the only way to maintain source code compatible with them.
* Add type definitions for prgregset_t and psaddr_t. Both are used bymarcel2004-06-251-0/+3
| | | | the proc services API. The prfpregset_t type already existed.
* Use explicit sizes for the prpsinfo command length string so thatpeter2001-08-161-1/+2
| | | | | we dont have any more unexpected changes in core dumps. This gets us back to the original core dump layout from a few days ago.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Viola! The kernel now generates standard ELF core dumps for ELFjdp1998-09-141-0/+81
executables. Currently only data and stack are included in the core dumps. I am looking into adding the other (mmapped) writable segments as well.
OpenPOWER on IntegriCloud