aboutsummaryrefslogtreecommitdiff
path: root/lib/libthread_db/libpthread_db.c
Commit message (Collapse)AuthorAgeFilesLines
* Extend the td_thrinfo_t to include siginfo for the signal that stoppedKonstantin Belousov2010-07-041-1/+12
| | | | | | | | | | the target. Take care of ABI. Suggested by: davidxu MFC after: 2 weeks Notes: svn path=/head/; revision=209689
* Allow psaddr_t to be widened by using thr_pread_{int,long,ptr},Marcel Moolenaar2008-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. Notes: svn path=/head/; revision=183021
* Cleanup for WARNS 6.Marcel Moolenaar2008-08-061-19/+24
| | | | Notes: svn path=/head/; revision=181341
* Cleanup for WARNS 3.Marcel Moolenaar2008-07-311-2/+2
| | | | Notes: svn path=/head/; revision=181059
* Change the type of psaddr_t from void* to uintptr_t. A pointerMarcel Moolenaar2008-07-301-9/+7
| | | | | | | | type cannot be made wider to allow ILP32 platforms to target LP64 platforms. Notes: svn path=/head/; revision=180982
* - Restore kse.h in this directory so other tools don't find it by mistake.Jeff Roberson2008-03-231-1/+1
| | | | | | | | | - Restore the ability to debug kse coredumps in 8.0. Suggested by: marcel Notes: svn path=/head/; revision=177526
* Use linker set to collection all target operations.David Xu2008-03-221-0/+3
| | | | Notes: svn path=/head/; revision=177490
* get thread signal info.David Xu2006-05-171-0/+36
| | | | Notes: svn path=/head/; revision=158680
* Use ps_linfo to retrieve LWP info.David Xu2006-02-071-1/+1
| | | | Notes: svn path=/head/; revision=155413
* Replace ptrace syscall with ps_lgetgregs to check a LWP's existence.David Xu2006-02-071-2/+2
| | | | Notes: svn path=/head/; revision=155411
* Always clear thread info buffer to zero.David Xu2006-02-061-0/+1
| | | | Notes: svn path=/head/; revision=155387
* Add support for XMM registers in GDB for x86 processors that supportDoug Rabson2005-05-311-0/+100
| | | | | | | | | | SSE (or its successors). Reviewed by: marcel, davidxu MFC After: 2 weeks Notes: svn path=/head/; revision=146818
* Remove unused variables.Philippe Charnier2005-05-201-1/+1
| | | | Notes: svn path=/head/; revision=146447
* Sync with debugger code in libthr.David Xu2005-04-121-6/+6
| | | | Notes: svn path=/head/; revision=144922
* Export thread address.David Xu2005-04-051-0/+3
| | | | Notes: svn path=/head/; revision=144663
* Plug a memory leak in error case.David Xu2004-08-161-1/+3
| | | | Notes: svn path=/head/; revision=133805
* 1. Use libpthread's exported symbols to calcuate offset in data structureDavid Xu2004-08-161-111/+112
| | | | | | | 2. Enable TLS debugger support. Notes: svn path=/head/; revision=133802
* 1.Use new way to check if a thread is in critical region, defer suspendingDavid Xu2004-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 Notes: svn path=/head/; revision=133342
* s/TMDF_DONOTRUNUSER/TMDF_SUSPEND/gDavid Xu2004-08-031-3/+3
| | | | | | | Dicussed with: deischen Notes: svn path=/head/; revision=133047
* Add missing thread suspension/resumption code, fix a bug in pt_thr_sstep,David Xu2004-08-011-11/+115
| | | | | | | don't overwrite other debug flags. Notes: svn path=/head/; revision=132951
* Add rudimentary support and stubs for libthr and libc_r on alpha, amd64,Marcel Moolenaar2004-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 Notes: svn path=/head/; revision=132332