summaryrefslogtreecommitdiffstats
path: root/lib/libthread_db
Commit message (Collapse)AuthorAgeFilesLines
* First pass through library packaging.gjb2016-02-041-0/+1
| | | | Sponsored by: The FreeBSD Foundation
* Add the RISC-V MD parts of libthread_db.br2016-01-271-0/+104
| | | | | | Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Differential Revision: https://reviews.freebsd.org/D5064
* META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host.bdrewery2015-11-251-1/+0
| | | | | | | | This both avoids some dependencies on xinstall.host and allows bootstrapping on older releases to work due to lack of at least 'install -l' support. Sponsored by: EMC / Isilon Storage Division
* new dependssjg2015-06-161-1/+0
|
* Add META_MODE support.sjg2015-06-131-0/+20
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-272-1/+97
| |\ | |/ |/|
| * Merge head from 7/28sjg2014-08-192-65/+1
| |\
| * | Updated dependenciessjg2014-05-161-1/+1
| | |
| * | Updated dependenciessjg2014-05-101-0/+2
| | |
| * | Merge from headsjg2013-09-052-7/+7
| |\ \
| * | | Updated dependenciessjg2013-03-111-0/+1
| | | |
| * | | Updated dependenciessjg2013-02-161-2/+0
| | | |
| * | | Updated/new Makefile.dependsjg2012-11-081-0/+3
| | | |
| | | |
| | \ \
| *-. \ \ Sync from headsjg2012-11-042-2/+2
| |\ \ \ \
| * | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+16
| | |/ / / | |/| | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | Add the arm64 parts of libthread_db.andrew2015-04-011-0/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Differential Revision: https://reviews.freebsd.org/D2184 Reviewed by: imp Sponsored by: The FreeBSD Foundation
* | | | | Constify a struct savexmm pointer in pt_ucontext_to_fpreg(), to silencedim2015-01-271-1/+1
| |_|_|/ |/| | | | | | | | | | | a -Wcast-qual warning from clang 3.6.0.
* | | | Remove ia64.marcel2014-07-071-65/+0
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes: o All directories named *ia64* o All files named *ia64* o All ia64-specific code guarded by __ia64__ o All ia64-specific makefile logic o Mention of ia64 in comments and documentation This excludes: o Everything under contrib/ o Everything under crypto/ o sys/xen/interface o sys/sys/elf_common.h Discussed at: BSDcan
* | | Ensure we set all fpu registers to zero by using the address and size ofandrew2013-08-171-1/+1
| | | | | | | | | | | | the union over one of its members.
* | | Prefix the alias macros for members of struct __mcontext with an underscoremarius2013-07-121-6/+6
| |/ |/| | | | | in order to avoid a clash in the net80211 code.
* | Fix warnings found by -Wmising-variable-declarations.ed2012-10-192-2/+2
|/ | | | | | | | | | | This self-written compiler warning, which is hopefully going to be committed into LLVM sources soon, warns about potentially missing `static' keywords, similar to -Wmissing-prototypes. - bin/pax: Move external declaration of chdname and s_mask into extern.h. - bin/setfacl: Move setfacl.c-specific stuff out of setfacl.h. - sbin/mount_fusefs: Remove char *progname; use getprogname(). - others: add `static' where possible.
* Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, todim2012-02-281-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 incorrectdim2011-12-161-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 valuemarius2011-08-071-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)
* Implementmarius2011-08-061-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 copyingmarius2011-08-061-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.marius2011-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
* Repair some build breakage introduced in r211725 and garbage collect somenwhitehorn2010-08-281-83/+0
| | | | code made obsolete in the same commit.
* MFtbemd:imp2010-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.
* Powerpc64 thread libraries support.nwhitehorn2010-07-101-0/+83
|
* Extend the td_thrinfo_t to include siginfo for the signal that stoppedkib2010-07-046-3/+71
| | | | | | | the target. Take care of ABI. Suggested by: davidxu MFC after: 2 weeks
* 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.
OpenPOWER on IntegriCloud