259065 |
07-Dec-2013 |
gjb |
- Copy stable/10 (r259064) to releng/10.0 as part of the 10.0-RELEASE cycle. - Update __FreeBSD_version [1] - Set branch name to -RC1
[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so start releng/10.0 at '100' so the branch is started with a value ending in zero.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
256281 |
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
254450 |
17-Aug-2013 |
andrew |
Ensure we set all fpu registers to zero by using the address and size of the union over one of its members.
|
253266 |
12-Jul-2013 |
marius |
Prefix the alias macros for members of struct __mcontext with an underscore in order to avoid a clash in the net80211 code.
|
241720 |
19-Oct-2012 |
ed |
Fix warnings found by -Wmising-variable-declarations.
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.
|
232263 |
28-Feb-2012 |
dim |
Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to 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
|
228578 |
16-Dec-2011 |
dim |
In lib/libthread_db/arch/i386/libpthread_md.c, clang gives two incorrect warnings about alignment, so turn -Wcast-align off for now.
MFC after: 1 week
|
224693 |
07-Aug-2011 |
marius |
Change lwp to int64_t as thr_pread_long() always uses a 64-bit value 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)
|
224685 |
06-Aug-2011 |
marius |
Implement
Reviewed by: marcel Approved by: re (kib) MFC after: 1 week
|
224684 |
06-Aug-2011 |
marius |
Use the size of struct fpreg rather than of the pointer to it when copying the FPU state.
Reviewed by: marcel Approved by: re (kib) MFC after: 1 week
|
224683 |
06-Aug-2011 |
marius |
The tid member of struct pthread actually is long so read it as such. 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
|
211934 |
28-Aug-2010 |
nwhitehorn |
Repair some build breakage introduced in r211725 and garbage collect some code made obsolete in the same commit.
|
211725 |
23-Aug-2010 |
imp |
MFtbemd:
Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform.
|
209880 |
10-Jul-2010 |
nwhitehorn |
Powerpc64 thread libraries support.
|
209689 |
04-Jul-2010 |
kib |
Extend the td_thrinfo_t to include siginfo for the signal that stopped the target. Take care of ABI.
Suggested by: davidxu MFC after: 2 weeks
|
201381 |
02-Jan-2010 |
ed |
Build lib/ with WARNS=6 by default.
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.
|
193826 |
09-Jun-2009 |
des |
Revert r181651, which changed the ABI, and use a temp variable instead.
Suggested by: attilio
|
189416 |
05-Mar-2009 |
attilio |
libc_r_* library is no more required, so just axe it.
Approved by: marcel, emaste Sponsored by: Sandvine Incorporated
|
183021 |
14-Sep-2008 |
marcel |
Allow psaddr_t to be widened by using thr_pread_{int,long,ptr}, 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.
|
182372 |
28-Aug-2008 |
obrien |
Add the needed libpthread_md.c for MIPS.
Obtained from: Juniper Networks
|
181651 |
13-Aug-2008 |
marcel |
Change the type of ti_traceme from a char to an int as its address is passed to ps_pread for reading sizeof(int) bytes.
|
181341 |
06-Aug-2008 |
marcel |
Cleanup for WARNS 6.
|
181065 |
31-Jul-2008 |
marcel |
Add thr_pread_{int,long,ptr} and thr_pwrite_{int,long,ptr} to help abstract the sizes and endianness of the primary types of the target. These currently use the native characteristics.
|
181059 |
31-Jul-2008 |
marcel |
Cleanup for WARNS 3.
|
181044 |
31-Jul-2008 |
marcel |
Cleanup for WARNS 2.
|
180982 |
30-Jul-2008 |
marcel |
Change the type of psaddr_t from void* to uintptr_t. A pointer type cannot be made wider to allow ILP32 platforms to target LP64 platforms.
|
177526 |
23-Mar-2008 |
jeff |
- Restore kse.h in this directory so other tools don't find it by mistake. - Restore the ability to debug kse coredumps in 8.0.
Suggested by: marcel
|
177490 |
22-Mar-2008 |
davidxu |
Use linker set to collection all target operations.
|
177088 |
12-Mar-2008 |
jeff |
- Remove libkse and related support code in libpthread from the build. Don't remove the files yet. Kernel support will be removed shortly.
|
173703 |
17-Nov-2007 |
cognet |
Add arm support in libthread_db.
|
169985 |
25-May-2007 |
delphij |
Include string.h for memcpy() and memcmp().
|
169807 |
21-May-2007 |
deischen |
Bump library versions in preparation for 7.0.
Ok'd by: kan
|
169524 |
13-May-2007 |
deischen |
Enable symbol versioning by default. Use WITHOUT_SYMVER to disable it. 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.
|
169187 |
01-May-2007 |
marcel |
Roughly implement libpthread support.
|
169092 |
29-Apr-2007 |
deischen |
Use C comments since we now preprocess these files with CPP.
|
163540 |
20-Oct-2006 |
davidxu |
remove libc_r remanent.
|
163023 |
05-Oct-2006 |
davidxu |
Remove libc_r support.
|
161547 |
23-Aug-2006 |
ru |
Remove alpha-specific stuff.
|
160971 |
04-Aug-2006 |
marcel |
Add stub functions. This allows libthread_db to be built and installed, which means that we also have <thread_db.h>.
|
158681 |
17-May-2006 |
davidxu |
Fix return value.
|
158680 |
17-May-2006 |
davidxu |
get thread signal info.
|
157263 |
29-Mar-2006 |
deischen |
Add symbol versioning.
Reviewed by: davidxu
|
155414 |
07-Feb-2006 |
davidxu |
Use ps_linfo to retrieve LWP info, current it is used to retrieve signal mask and pending signals.
|
155413 |
07-Feb-2006 |
davidxu |
Use ps_linfo to retrieve LWP info.
|
155411 |
07-Feb-2006 |
davidxu |
Replace ptrace syscall with ps_lgetgregs to check a LWP's existence.
|
155387 |
06-Feb-2006 |
davidxu |
Always clear thread info buffer to zero.
|
148297 |
22-Jul-2005 |
kensmith |
Bump the shared library version number of all libraries that have not been bumped since RELENG_5.
Reviewed by: ru Approved by: re (not needed for commit check but in principle...)
|
146818 |
31-May-2005 |
dfr |
Add support for XMM registers in GDB for x86 processors that support SSE (or its successors).
Reviewed by: marcel, davidxu MFC After: 2 weeks
|
146447 |
20-May-2005 |
charnier |
Remove unused variables.
|
144989 |
13-Apr-2005 |
davidxu |
o Code cleanup, eliminate private thread id map, directly use lwpid as thread id. o Export tls pointer.
|
144974 |
12-Apr-2005 |
davidxu |
Fill traceme and events fields.
|
144922 |
12-Apr-2005 |
davidxu |
Sync with debugger code in libthr.
|
144663 |
05-Apr-2005 |
davidxu |
Export thread address.
|
144519 |
02-Apr-2005 |
davidxu |
Update debugger code for new libthr.
|
133805 |
16-Aug-2004 |
davidxu |
Plug a memory leak in error case.
|
133802 |
16-Aug-2004 |
davidxu |
1. Use libpthread's exported symbols to calcuate offset in data structure 2. Enable TLS debugger support.
|
133631 |
13-Aug-2004 |
davidxu |
1. Add missing functions: libthr_dbresume,libthr_dbsuspend. 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.
|
133342 |
08-Aug-2004 |
davidxu |
1.Use new way to check if a thread is in critical region, defer suspending 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
|
133047 |
03-Aug-2004 |
davidxu |
s/TMDF_DONOTRUNUSER/TMDF_SUSPEND/g
Dicussed with: deischen
|
132951 |
01-Aug-2004 |
davidxu |
Add missing thread suspension/resumption code, fix a bug in pt_thr_sstep, don't overwrite other debug flags.
|
132950 |
01-Aug-2004 |
davidxu |
Add code to implement register structure converter.
|
132409 |
19-Jul-2004 |
marcel |
prgregset_t changed type from being a typedef of struct reg to an array of one element of type struct reg. Change the argument to libc_r_md_getgregs() accordingly.
|
132361 |
18-Jul-2004 |
marcel |
This library is not WARNS=2 clean for -O2 builds, because we include 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.
|
132360 |
18-Jul-2004 |
marcel |
Correct the mess I made by committing from the wrong tree. Most 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
|
132352 |
18-Jul-2004 |
scottl |
Try to fix ia64 and alpha compiles. I don't have either equipment fired up now, but it appears to be the same problem and solution as sparc64.
|
132351 |
18-Jul-2004 |
scottl |
Add missing #includes so that this can compile. Obtained from the i386 version.
|
132332 |
18-Jul-2004 |
marcel |
Add rudimentary support and stubs for libthr and libc_r on alpha, amd64, 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
|
132301 |
17-Jul-2004 |
marcel |
Add the const qualifier to the prgregset_t argument for the *setregs* functions.
|
132172 |
15-Jul-2004 |
davidxu |
Add my initial work of libthread_db. The library is used by gdb to debug threaded process. Current, only libpthread is supported, but macrel will work on it to support libthr and libc_r.
|