summaryrefslogtreecommitdiffstats
path: root/lib/libthread_db
Commit message (Collapse)AuthorAgeFilesLines
* Use ps_linfo to retrieve LWP info, current it is used to retrievedavidxu2006-02-071-0/+6
| | | | signal mask and pending signals.
* 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-062-0/+2
|
* Bump the shared library version number of all libraries that have notkensmith2005-07-221-1/+1
| | | | | | | been bumped since RELENG_5. Reviewed by: ru Approved by: re (not needed for commit check but in principle...)
* Add support for XMM registers in GDB for x86 processors that supportdfr2005-05-318-1/+208
| | | | | | | SSE (or its successors). Reviewed by: marcel, davidxu MFC After: 2 weeks
* Remove unused variables.charnier2005-05-202-3/+2
|
* o Code cleanup, eliminate private thread id map, directlydavidxu2005-04-131-187/+64
| | | | | use lwpid as thread id. o Export tls pointer.
* Fill traceme and events fields.davidxu2005-04-121-0/+8
|
* Sync with debugger code in libthr.davidxu2005-04-124-46/+173
|
* Export thread address.davidxu2005-04-053-0/+9
|
* Update debugger code for new libthr.davidxu2005-04-021-216/+578
|
* 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-163-130/+130
| | | | 2. Enable TLS debugger support.
* 1. Add missing functions: libthr_dbresume,libthr_dbsuspend.davidxu2004-08-131-20/+77
| | | | | | 2. Implement functions: libthr_db_thr_setfpregs, libthr_db_thr_setregs, libthr_db_ta_map_id2thr. 3. simplify libthr_db_thr_getfpregs, libthr_db_thr_getgregs.
* 1.Use new way to check if a thread is in critical region, defer suspendingdavidxu2004-08-085-32/+126
| | | | | | | | 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 code to implement register structure converter.davidxu2004-08-011-1/+56
|
* prgregset_t changed type from being a typedef of struct reg to anmarcel2004-07-191-1/+1
| | | | | array of one element of type struct reg. Change the argument to libc_r_md_getgregs() accordingly.
* This library is not WARNS=2 clean for -O2 builds, because we includemarcel2004-07-181-1/+1
| | | | | | headers from libpthread that are not WARNS=2 clean for -O2 builds. Lower the WARNS level to 1. This is the highest level possible for now.
* Correct the mess I made by committing from the wrong tree. Mostmarcel2004-07-185-33/+33
| | | | | | | | | notably, this restores some of the contents in thread_db.h as well as David Xu's copyright notice. This also fixes the includes in the MD libpthread files which Scott tried to provide a quick fix for. Pointy hat: marcel
* Try to fix ia64 and alpha compiles. I don't have either equipment firedscottl2004-07-182-0/+14
| | | | up now, but it appears to be the same problem and solution as sparc64.
* Add missing #includes so that this can compile. Obtained from the i386 version.scottl2004-07-181-0/+7
|
* Add rudimentary support and stubs for libthr and libc_r on alpha, amd64,marcel2004-07-1822-1178/+1851
| | | | | | | | | | | | | | | | | | | | | 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
* Add the const qualifier to the prgregset_t argument for the *setregs*marcel2004-07-174-4/+4
| | | | functions.
* Add my initial work of libthread_db. The library is used by gdb to debugdavidxu2004-07-159-0/+2030
threaded process. Current, only libpthread is supported, but macrel will work on it to support libthr and libc_r.
OpenPOWER on IntegriCloud