Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to | dim | 2012-02-28 | 1 | -3/+1 |
| | | | | | | | | | | | | | | | | | | | | | get rid of testing explicitly for clang (using ${CC:T:Mclang}) in individual Makefiles. Instead, use the following extra macros, for use with clang: - NO_WERROR.clang (disables -Werror) - NO_WCAST_ALIGN.clang (disables -Wcast-align) - NO_WFORMAT.clang (disables -Wformat and friends) - CLANG_NO_IAS (disables integrated assembler) - CLANG_OPT_SMALL (adds flags for extra small size optimizations) As a side effect, this enables setting CC/CXX/CPP in src.conf instead of make.conf! For clang, use the following: CC=clang CXX=clang++ CPP=clang-cpp MFC after: 2 weeks | ||||
* | In lib/libthread_db/arch/i386/libpthread_md.c, clang gives two incorrect | dim | 2011-12-16 | 1 | -0/+6 |
| | | | | | | warnings about alignment, so turn -Wcast-align off for now. MFC after: 1 week | ||||
* | Change lwp to int64_t as thr_pread_long() always uses a 64-bit value | marius | 2011-08-07 | 1 | -4/+4 |
| | | | | | | | | | | | | in order to account for LP64 targets when cross-debugging on ILP32, allowing r224683 to compile on ILP32. Note that thr_p{read,write}_{long,ptr}() still incorrectly use the size of the respective types on the host rather than that on the target when accessing the target address space which still needs to be fixed. This means that r224683 alone may not be sufficient to solve the problem it's intended to fix when cross-debugging. Approved by: re (hrs) | ||||
* | Implement | marius | 2011-08-06 | 1 | -5/+30 |
| | | | | | | Reviewed by: marcel Approved by: re (kib) MFC after: 1 week | ||||
* | Use the size of struct fpreg rather than of the pointer to it when copying | marius | 2011-08-06 | 1 | -2/+5 |
| | | | | | | | | the FPU state. Reviewed by: marcel Approved by: re (kib) MFC after: 1 week | ||||
* | The tid member of struct pthread actually is long so read it as such. | marius | 2011-08-06 | 1 | -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 | ||||
* | Repair some build breakage introduced in r211725 and garbage collect some | nwhitehorn | 2010-08-28 | 1 | -83/+0 |
| | | | | code made obsolete in the same commit. | ||||
* | MFtbemd: | imp | 2010-08-23 | 1 | -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. | ||||
* | Powerpc64 thread libraries support. | nwhitehorn | 2010-07-10 | 1 | -0/+83 |
| | |||||
* | Extend the td_thrinfo_t to include siginfo for the signal that stopped | kib | 2010-07-04 | 6 | -3/+71 |
| | | | | | | | the target. Take care of ABI. Suggested by: davidxu MFC after: 2 weeks | ||||
* | Build lib/ with WARNS=6 by default. | ed | 2010-01-02 | 1 | -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. | des | 2009-06-09 | 2 | -2/+4 |
| | | | | Suggested by: attilio | ||||
* | libc_r_* library is no more required, so just axe it. | attilio | 2009-03-05 | 6 | -563/+0 |
| | | | | | Approved by: marcel, emaste Sponsored by: Sandvine Incorporated | ||||
* | Allow psaddr_t to be widened by using thr_pread_{int,long,ptr}, | marcel | 2008-09-14 | 5 | -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. | obrien | 2008-08-28 | 1 | -0/+90 |
| | | | | Obtained from: Juniper Networks | ||||
* | Change the type of ti_traceme from a char to an int as its | marcel | 2008-08-13 | 1 | -1/+1 |
| | | | | address is passed to ps_pread for reading sizeof(int) bytes. | ||||
* | Cleanup for WARNS 6. | marcel | 2008-08-06 | 7 | -47/+50 |
| | |||||
* | Add thr_pread_{int,long,ptr} and thr_pwrite_{int,long,ptr} to | marcel | 2008-07-31 | 2 | -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. | marcel | 2008-07-31 | 9 | -16/+23 |
| | |||||
* | Cleanup for WARNS 2. | marcel | 2008-07-31 | 4 | -4/+3 |
| | |||||
* | Change the type of psaddr_t from void* to uintptr_t. A pointer | marcel | 2008-07-30 | 5 | -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. | jeff | 2008-03-23 | 3 | -1/+137 |
| | | | | | | - Restore the ability to debug kse coredumps in 8.0. Suggested by: marcel | ||||
* | Use linker set to collection all target operations. | davidxu | 2008-03-22 | 4 | -13/+22 |
| | |||||
* | - Remove libkse and related support code in libpthread from the build. | jeff | 2008-03-12 | 1 | -1/+1 |
| | | | | Don't remove the files yet. Kernel support will be removed shortly. | ||||
* | Add arm support in libthread_db. | cognet | 2007-11-17 | 1 | -0/+116 |
| | |||||
* | Include string.h for memcpy() and memcmp(). | delphij | 2007-05-25 | 1 | -0/+1 |
| | |||||
* | Bump library versions in preparation for 7.0. | deischen | 2007-05-21 | 1 | -1/+1 |
| | | | | Ok'd by: kan | ||||
* | Enable symbol versioning by default. Use WITHOUT_SYMVER to disable it. | deischen | 2007-05-13 | 1 | -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. | marcel | 2007-05-01 | 1 | -1/+19 |
| | |||||
* | Use C comments since we now preprocess these files with CPP. | deischen | 2007-04-29 | 1 | -4/+8 |
| | |||||
* | remove libc_r remanent. | davidxu | 2006-10-20 | 1 | -2/+0 |
| | |||||
* | Remove libc_r support. | davidxu | 2006-10-05 | 1 | -1/+0 |
| | |||||
* | Remove alpha-specific stuff. | ru | 2006-08-23 | 2 | -135/+0 |
| | |||||
* | Add stub functions. This allows libthread_db to be built and installed, | marcel | 2006-08-04 | 2 | -0/+106 |
| | | | | which means that we also have <thread_db.h>. | ||||
* | Fix return value. | davidxu | 2006-05-17 | 1 | -1/+2 |
| | |||||
* | get thread signal info. | davidxu | 2006-05-17 | 2 | -0/+38 |
| | |||||
* | Add symbol versioning. | deischen | 2006-03-29 | 2 | -0/+37 |
| | | | | Reviewed by: davidxu | ||||
* | Use ps_linfo to retrieve LWP info, current it is used to retrieve | davidxu | 2006-02-07 | 1 | -0/+6 |
| | | | | signal mask and pending signals. | ||||
* | Use ps_linfo to retrieve LWP info. | davidxu | 2006-02-07 | 1 | -1/+1 |
| | |||||
* | Replace ptrace syscall with ps_lgetgregs to check a LWP's existence. | davidxu | 2006-02-07 | 1 | -2/+2 |
| | |||||
* | Always clear thread info buffer to zero. | davidxu | 2006-02-06 | 2 | -0/+2 |
| | |||||
* | Bump the shared library version number of all libraries that have not | kensmith | 2005-07-22 | 1 | -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 support | dfr | 2005-05-31 | 8 | -1/+208 |
| | | | | | | | SSE (or its successors). Reviewed by: marcel, davidxu MFC After: 2 weeks | ||||
* | Remove unused variables. | charnier | 2005-05-20 | 2 | -3/+2 |
| | |||||
* | o Code cleanup, eliminate private thread id map, directly | davidxu | 2005-04-13 | 1 | -187/+64 |
| | | | | | use lwpid as thread id. o Export tls pointer. | ||||
* | Fill traceme and events fields. | davidxu | 2005-04-12 | 1 | -0/+8 |
| | |||||
* | Sync with debugger code in libthr. | davidxu | 2005-04-12 | 4 | -46/+173 |
| | |||||
* | Export thread address. | davidxu | 2005-04-05 | 3 | -0/+9 |
| | |||||
* | Update debugger code for new libthr. | davidxu | 2005-04-02 | 1 | -216/+578 |
| | |||||
* | Plug a memory leak in error case. | davidxu | 2004-08-16 | 1 | -1/+3 |
| |