summaryrefslogtreecommitdiffstats
path: root/lib/libthread_db
Commit message (Collapse)AuthorAgeFilesLines
* Build lib/ with WARNS=6 by default.ed2010-01-021-1/+0
| | | | | | | | | Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed. I'm setting WARNS?=0 for secure/. It seems secure/ includes the Makefile.inc provided by lib/. I'm not going to touch that directory. Most of the code there is contributed anyway.
* Revert r181651, which changed the ABI, and use a temp variable instead.des2009-06-092-2/+4
| | | | Suggested by: attilio
* libc_r_* library is no more required, so just axe it.attilio2009-03-056-563/+0
| | | | | Approved by: marcel, emaste Sponsored by: Sandvine Incorporated
* Allow psaddr_t to be widened by using thr_pread_{int,long,ptr},marcel2008-09-145-123/+94
| | | | | | | 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.
* Add the needed libpthread_md.c for MIPS.obrien2008-08-281-0/+90
| | | | Obtained from: Juniper Networks
* Change the type of ti_traceme from a char to an int as itsmarcel2008-08-131-1/+1
| | | | address is passed to ps_pread for reading sizeof(int) bytes.
* Cleanup for WARNS 6.marcel2008-08-067-47/+50
|
* Add thr_pread_{int,long,ptr} and thr_pwrite_{int,long,ptr} tomarcel2008-07-312-0/+179
| | | | | help abstract the sizes and endianness of the primary types of the target. These currently use the native characteristics.
* Cleanup for WARNS 3.marcel2008-07-319-16/+23
|
* Cleanup for WARNS 2.marcel2008-07-314-4/+3
|
* Change the type of psaddr_t from void* to uintptr_t. A pointermarcel2008-07-305-27/+25
| | | | | 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-233-1/+137
| | | | | | - Restore the ability to debug kse coredumps in 8.0. Suggested by: marcel
* Use linker set to collection all target operations.davidxu2008-03-224-13/+22
|
* - Remove libkse and related support code in libpthread from the build.jeff2008-03-121-1/+1
| | | | Don't remove the files yet. Kernel support will be removed shortly.
* Add arm support in libthread_db.cognet2007-11-171-0/+116
|
* Include string.h for memcpy() and memcmp().delphij2007-05-251-0/+1
|
* Bump library versions in preparation for 7.0.deischen2007-05-211-1/+1
| | | | Ok'd by: kan
* Enable symbol versioning by default. Use WITHOUT_SYMVER to disable it.deischen2007-05-131-2/+0
| | | | | | | | | | Warning, after symbol versioning is enabled, going back is not easy (use WITHOUT_SYMVER at your own risk). Change the default thread library to libthr. There most likely still needs to be a version bump for at least the thread libraries. If necessary, this will happen later.
* Roughly implement libpthread support.marcel2007-05-011-1/+19
|
* Use C comments since we now preprocess these files with CPP.deischen2007-04-291-4/+8
|
* remove libc_r remanent.davidxu2006-10-201-2/+0
|
* Remove libc_r support.davidxu2006-10-051-1/+0
|
* Remove alpha-specific stuff.ru2006-08-232-135/+0
|
* Add stub functions. This allows libthread_db to be built and installed,marcel2006-08-042-0/+106
| | | | which means that we also have <thread_db.h>.
* Fix return value.davidxu2006-05-171-1/+2
|
* get thread signal info.davidxu2006-05-172-0/+38
|
* Add symbol versioning.deischen2006-03-292-0/+37
| | | | Reviewed by: davidxu
* 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.
OpenPOWER on IntegriCloud