summaryrefslogtreecommitdiffstats
path: root/lib/libthread_db
Commit message (Collapse)AuthorAgeFilesLines
* 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