History log of /freebsd-head/lib/libthread_db/libthr_db.c
Revision Date Author Comments
260ba0bff18bb32b01216d6870c8273cf22246a7 26-Nov-2017 pfg <pfg@FreeBSD.org> lib: further adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 2-Clause license, however the tool I
was using mis-identified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
00d578928eca75be320b36d37543a7e2a4f9fbdb 27-May-2016 grehan <grehan@FreeBSD.org> Create branch for bhyve graphics import.
eb1a5f8de9f7ea602c373a710f531abbf81141c4 21-Feb-2014 gjb <gjb@FreeBSD.org> Move ^/user/gjb/hacking/release-embedded up one directory, and remove
^/user/gjb/hacking since this is likely to be merged to head/ soon.

Sponsored by: The FreeBSD Foundation
6b01bbf146ab195243a8e7d43bb11f8835c76af8 27-Dec-2013 gjb <gjb@FreeBSD.org> Copy head@r259933 -> user/gjb/hacking/release-embedded for initial
inclusion of (at least) arm builds with the release.

Sponsored by: The FreeBSD Foundation
fbb83e78c0ca90b09e1e9c0a76030f46f419dcaf 19-Oct-2012 ed <ed@FreeBSD.org> 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.
d5a429b2e4110c4c333667ce5db2f6b094707707 07-Aug-2011 marius <marius@FreeBSD.org> 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)
c027f659aec89f64db78bfcc9d1f69960b2ba7df 06-Aug-2011 marius <marius@FreeBSD.org> 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
09f9c897d33c41618ada06fbbcf1a9b3812dee53 19-Oct-2010 jamie <jamie@FreeBSD.org> A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.
2b9a53839c45891fab833be19313b39fd70bdecb 04-Jul-2010 kib <kib@FreeBSD.org> 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
f1216d1f0ade038907195fc114b7e630623b402c 19-Mar-2010 delphij <delphij@FreeBSD.org> Create a custom branch where I will be able to do the merge.
1ae61ff79c5773a71ea32e2f3571dc726f547c46 09-Jun-2009 des <des@FreeBSD.org> Revert r181651, which changed the ABI, and use a temp variable instead.

Suggested by: attilio
19b6af98ec71398e77874582eb84ec5310c7156f 22-Nov-2008 dfr <dfr@FreeBSD.org> Clone Kip's Xen on stable/6 tree so that I can work on improving FreeBSD/amd64
performance in Xen's HVM mode.
cf5320822f93810742e3d4a1ac8202db8482e633 19-Oct-2008 lulf <lulf@FreeBSD.org> - Import the HEAD csup code which is the basis for the cvsmode work.
ead754945e1303f4902bb9c1d2f3da9dcc13c967 14-Sep-2008 marcel <marcel@FreeBSD.org> 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.
57f1d2180272b9cf2b9b244dae4b426fc3e57baa 06-Aug-2008 marcel <marcel@FreeBSD.org> Cleanup for WARNS 6.
b40c2c680dab0e4c2250a79f7e6e931adb991a37 30-Jul-2008 marcel <marcel@FreeBSD.org> 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.
3367c267b34ad2829e2902ae8f45beef27b57591 22-Mar-2008 davidxu <davidxu@FreeBSD.org> Use linker set to collection all target operations.
b52bed3a5a768bf2a4fcc344c3c0760ced271b06 23-May-2006 davidxu <davidxu@FreeBSD.org> MFC following revisions:
libpthread_db.c 1.11-1.14
libpthread_db.h 1.4
libthr_db.c 1.12
abd1aa54e63d35afe2c504302482c8465969da41 17-May-2006 davidxu <davidxu@FreeBSD.org> Fix return value.
1d9cc561aef90018e0d729092e8f51f597db1289 17-May-2006 davidxu <davidxu@FreeBSD.org> MFC revisions 1.10, 1.11.
b9945d52e2cc57d71eeca4887e493f697ee87a33 07-Feb-2006 davidxu <davidxu@FreeBSD.org> Use ps_linfo to retrieve LWP info, current it is used to retrieve
signal mask and pending signals.
f9048c6816a9649ba4b286b978b18f1e4a7861d0 06-Feb-2006 davidxu <davidxu@FreeBSD.org> Always clear thread info buffer to zero.
874478d7fd90e4178b95bc5a6f3b15c0c057c491 31-May-2005 dfr <dfr@FreeBSD.org> Add support for XMM registers in GDB for x86 processors that support
SSE (or its successors).

Reviewed by: marcel, davidxu
MFC After: 2 weeks
3ee2620203dcef05df39874f3da8b436d0db957f 20-May-2005 charnier <charnier@FreeBSD.org> Remove unused variables.
03aa59f2eea8a2e6d5f779977babedb23cac6ad1 13-Apr-2005 davidxu <davidxu@FreeBSD.org> o Code cleanup, eliminate private thread id map, directly
use lwpid as thread id.
o Export tls pointer.
1f525cc1908f86461af8c459072759055e7c016c 12-Apr-2005 davidxu <davidxu@FreeBSD.org> Fill traceme and events fields.
6b1b88e88d2dca06c92296fd281c7dc374cf42e0 12-Apr-2005 davidxu <davidxu@FreeBSD.org> Sync with debugger code in libthr.
e911a0459cd4aab7095b0405d720ac72e19580b0 05-Apr-2005 davidxu <davidxu@FreeBSD.org> Export thread address.
6c73121667c2f76c921bfb304e36d513d1e7857f 02-Apr-2005 davidxu <davidxu@FreeBSD.org> Update debugger code for new libthr.
fd9ef6980b3e9e841e87bddbc8bfbb8ab4360be7 13-Aug-2004 davidxu <davidxu@FreeBSD.org> 1. Add missing functions: libthr_dbresume,libthr_dbsuspend.
2. Implement functions: libthr_db_thr_setfpregs, libthr_db_thr_setregs,
3. simplify libthr_db_thr_getfpregs, libthr_db_thr_getgregs.
03a64a6205cacf6f86c1fd453ba860c7c396b285 18-Jul-2004 marcel <marcel@FreeBSD.org> 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

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