summaryrefslogtreecommitdiffstats
path: root/lib/libthread_db/libpthread_db.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix warnings found by -Wmising-variable-declarations.ed2012-10-191-1/+1
| | | | | | | | | | | This self-written compiler warning, which is hopefully going to be committed into LLVM sources soon, warns about potentially missing `static' keywords, similar to -Wmissing-prototypes. - bin/pax: Move external declaration of chdname and s_mask into extern.h. - bin/setfacl: Move setfacl.c-specific stuff out of setfacl.h. - sbin/mount_fusefs: Remove char *progname; use getprogname(). - others: add `static' where possible.
* Extend the td_thrinfo_t to include siginfo for the signal that stoppedkib2010-07-041-1/+12
| | | | | | | the target. Take care of ABI. Suggested by: davidxu MFC after: 2 weeks
* Allow psaddr_t to be widened by using thr_pread_{int,long,ptr},marcel2008-09-141-57/+36
| | | | | | | where critical. Some places still use ps_pread/ps_pwrite directly, but only need changed when byte-order comes into the picture. Also, change th_p in td_event_msg_t from a pointer type to psaddr_t, so that events also work when psaddr_t is widened.
* Cleanup for WARNS 6.marcel2008-08-061-19/+24
|
* Cleanup for WARNS 3.marcel2008-07-311-2/+2
|
* Change the type of psaddr_t from void* to uintptr_t. A pointermarcel2008-07-301-9/+7
| | | | | type cannot be made wider to allow ILP32 platforms to target LP64 platforms.
* - Restore kse.h in this directory so other tools don't find it by mistake.jeff2008-03-231-1/+1
| | | | | | - Restore the ability to debug kse coredumps in 8.0. Suggested by: marcel
* Use linker set to collection all target operations.davidxu2008-03-221-0/+3
|
* get thread signal info.davidxu2006-05-171-0/+36
|
* Use ps_linfo to retrieve LWP info.davidxu2006-02-071-1/+1
|
* Replace ptrace syscall with ps_lgetgregs to check a LWP's existence.davidxu2006-02-071-2/+2
|
* Always clear thread info buffer to zero.davidxu2006-02-061-0/+1
|
* Add support for XMM registers in GDB for x86 processors that supportdfr2005-05-311-0/+100
| | | | | | | SSE (or its successors). Reviewed by: marcel, davidxu MFC After: 2 weeks
* Remove unused variables.charnier2005-05-201-1/+1
|
* Sync with debugger code in libthr.davidxu2005-04-121-6/+6
|
* Export thread address.davidxu2005-04-051-0/+3
|
* Plug a memory leak in error case.davidxu2004-08-161-1/+3
|
* 1. Use libpthread's exported symbols to calcuate offset in data structuredavidxu2004-08-161-111/+112
| | | | 2. Enable TLS debugger support.
* 1.Use new way to check if a thread is in critical region, defer suspendingdavidxu2004-08-081-31/+108
| | | | | | | | if it is true. 2.Add thread_db api td_thr_tls_get_addr to get tls address, the real code is commented out util tls patch is committed. Reviewed by: deischen
* s/TMDF_DONOTRUNUSER/TMDF_SUSPEND/gdavidxu2004-08-031-3/+3
| | | | Dicussed with: deischen
* Add missing thread suspension/resumption code, fix a bug in pt_thr_sstep,davidxu2004-08-011-11/+115
| | | | don't overwrite other debug flags.
* Add rudimentary support and stubs for libthr and libc_r on alpha, amd64,marcel2004-07-181-0/+825
i386, ia64 and sparc64. Add stubs for alpha, amd64, ia64 and sparc64 for libpthread. Restructure the source files to avoid unnecessary use of subdirectories that also force us to use non-portable compilation flags to deal with the uncommon compilation requirements (building archive libraries for linkage into a shared library). The libpthread support has been copied from the original local and cleaned-up to make them WARNS=2 clean. that also force us to use non-portable compilation flags to deal with the uncommon compilation requirements (building archive libraries for linkage into a shared library). The libpthread support has been copied from the original local and cleaned-up to make them WARNS=2 clean. Tested on: amd64, i386, ia64
OpenPOWER on IntegriCloud