aboutsummaryrefslogtreecommitdiff
path: root/lib/libthread_db
Commit message (Collapse)AuthorAgeFilesLines
...
* ImplementMarius Strobl2011-08-061-5/+30
| | | | | | | | | Reviewed by: marcel Approved by: re (kib) MFC after: 1 week Notes: svn path=/head/; revision=224685
* Use the size of struct fpreg rather than of the pointer to it when copyingMarius Strobl2011-08-061-2/+5
| | | | | | | | | | | the FPU state. Reviewed by: marcel Approved by: re (kib) MFC after: 1 week Notes: svn path=/head/; revision=224684
* The tid member of struct pthread actually is long so read it as such.Marius Strobl2011-08-061-8/+8
| | | | | | | | | | | | Accessing it as an int causes failure on big-endian LP64, i.e. mips64be, powerpc64 and sparc64. Reviewed by: marcel Approved by: re (kib) MFC after: 1 week Notes: svn path=/head/; revision=224683
* Repair some build breakage introduced in r211725 and garbage collect someNathan Whitehorn2010-08-281-83/+0
| | | | | | | code made obsolete in the same commit. Notes: svn path=/head/; revision=211934
* MFtbemd:Warner Losh2010-08-231-1/+1
| | | | | | | | Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform. Notes: svn path=/head/; revision=211725
* Powerpc64 thread libraries support.Nathan Whitehorn2010-07-101-0/+83
| | | | Notes: svn path=/head/; revision=209880
* Extend the td_thrinfo_t to include siginfo for the signal that stoppedKonstantin Belousov2010-07-046-3/+71
| | | | | | | | | | the target. Take care of ABI. Suggested by: davidxu MFC after: 2 weeks Notes: svn path=/head/; revision=209689
* Build lib/ with WARNS=6 by default.Ed Schouten2010-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. Notes: svn path=/head/; revision=201381
* Revert r181651, which changed the ABI, and use a temp variable instead.Dag-Erling Smørgrav2009-06-092-2/+4
| | | | | | | Suggested by: attilio Notes: svn path=/head/; revision=193826
* libc_r_* library is no more required, so just axe it.Attilio Rao2009-03-056-563/+0
| | | | | | | | Approved by: marcel, emaste Sponsored by: Sandvine Incorporated Notes: svn path=/head/; revision=189416
* Allow psaddr_t to be widened by using thr_pread_{int,long,ptr},Marcel Moolenaar2008-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. Notes: svn path=/head/; revision=183021
* Add the needed libpthread_md.c for MIPS.David E. O'Brien2008-08-281-0/+90
| | | | | | | Obtained from: Juniper Networks Notes: svn path=/head/; revision=182372
* Change the type of ti_traceme from a char to an int as itsMarcel Moolenaar2008-08-131-1/+1
| | | | | | | address is passed to ps_pread for reading sizeof(int) bytes. Notes: svn path=/head/; revision=181651
* Cleanup for WARNS 6.Marcel Moolenaar2008-08-067-47/+50
| | | | Notes: svn path=/head/; revision=181341
* Add thr_pread_{int,long,ptr} and thr_pwrite_{int,long,ptr} toMarcel Moolenaar2008-07-312-0/+179
| | | | | | | | help abstract the sizes and endianness of the primary types of the target. These currently use the native characteristics. Notes: svn path=/head/; revision=181065
* Cleanup for WARNS 3.Marcel Moolenaar2008-07-319-16/+23
| | | | Notes: svn path=/head/; revision=181059
* Cleanup for WARNS 2.Marcel Moolenaar2008-07-314-4/+3
| | | | Notes: svn path=/head/; revision=181044
* Change the type of psaddr_t from void* to uintptr_t. A pointerMarcel Moolenaar2008-07-305-27/+25
| | | | | | | | 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-233-1/+137
| | | | | | | | | - 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-224-13/+22
| | | | Notes: svn path=/head/; revision=177490
* - Remove libkse and related support code in libpthread from the build.Jeff Roberson2008-03-121-1/+1
| | | | | | | Don't remove the files yet. Kernel support will be removed shortly. Notes: svn path=/head/; revision=177088
* Add arm support in libthread_db.Olivier Houchard2007-11-171-0/+116
| | | | Notes: svn path=/head/; revision=173703
* Include string.h for memcpy() and memcmp().Xin LI2007-05-251-0/+1
| | | | Notes: svn path=/head/; revision=169985
* Bump library versions in preparation for 7.0.Daniel Eischen2007-05-211-1/+1
| | | | | | | Ok'd by: kan Notes: svn path=/head/; revision=169807
* Enable symbol versioning by default. Use WITHOUT_SYMVER to disable it.Daniel Eischen2007-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. Notes: svn path=/head/; revision=169524
* Roughly implement libpthread support.Marcel Moolenaar2007-05-011-1/+19
| | | | Notes: svn path=/head/; revision=169187
* Use C comments since we now preprocess these files with CPP.Daniel Eischen2007-04-291-4/+8
| | | | Notes: svn path=/head/; revision=169092
* remove libc_r remanent.David Xu2006-10-201-2/+0
| | | | Notes: svn path=/head/; revision=163540
* Remove libc_r support.David Xu2006-10-051-1/+0
| | | | Notes: svn path=/head/; revision=163023
* Remove alpha-specific stuff.Ruslan Ermilov2006-08-232-135/+0
| | | | Notes: svn path=/head/; revision=161547
* Add stub functions. This allows libthread_db to be built and installed,Marcel Moolenaar2006-08-042-0/+106
| | | | | | | which means that we also have <thread_db.h>. Notes: svn path=/head/; revision=160971
* Fix return value.David Xu2006-05-171-1/+2
| | | | Notes: svn path=/head/; revision=158681
* get thread signal info.David Xu2006-05-172-0/+38
| | | | Notes: svn path=/head/; revision=158680
* Add symbol versioning.Daniel Eischen2006-03-292-0/+37
| | | | | | | Reviewed by: davidxu Notes: svn path=/head/; revision=157263
* Use ps_linfo to retrieve LWP info, current it is used to retrieveDavid Xu2006-02-071-0/+6
| | | | | | | signal mask and pending signals. Notes: svn path=/head/; revision=155414
* 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-062-0/+2
| | | | Notes: svn path=/head/; revision=155387
* Bump the shared library version number of all libraries that have notKen Smith2005-07-221-1/+1
| | | | | | | | | | been bumped since RELENG_5. Reviewed by: ru Approved by: re (not needed for commit check but in principle...) Notes: svn path=/head/; revision=148297
* Add support for XMM registers in GDB for x86 processors that supportDoug Rabson2005-05-318-1/+208
| | | | | | | | | | SSE (or its successors). Reviewed by: marcel, davidxu MFC After: 2 weeks Notes: svn path=/head/; revision=146818
* Remove unused variables.Philippe Charnier2005-05-202-3/+2
| | | | Notes: svn path=/head/; revision=146447
* o Code cleanup, eliminate private thread id map, directlyDavid Xu2005-04-131-187/+64
| | | | | | | | use lwpid as thread id. o Export tls pointer. Notes: svn path=/head/; revision=144989
* Fill traceme and events fields.David Xu2005-04-121-0/+8
| | | | Notes: svn path=/head/; revision=144974
* Sync with debugger code in libthr.David Xu2005-04-124-46/+173
| | | | Notes: svn path=/head/; revision=144922
* Export thread address.David Xu2005-04-053-0/+9
| | | | Notes: svn path=/head/; revision=144663
* Update debugger code for new libthr.David Xu2005-04-021-209/+571
| | | | Notes: svn path=/head/; revision=144519
* 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-163-130/+130
| | | | | | | 2. Enable TLS debugger support. Notes: svn path=/head/; revision=133802
* 1. Add missing functions: libthr_dbresume,libthr_dbsuspend.David Xu2004-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. Notes: svn path=/head/; revision=133631
* 1.Use new way to check if a thread is in critical region, defer suspendingDavid Xu2004-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 Notes: svn path=/head/; revision=133342