History log of /freebsd-10.0-release/lib/libthread_db/libpthread_db.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 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


# 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.


# 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


# 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.


# 181341 06-Aug-2008 marcel

Cleanup for WARNS 6.


# 181059 31-Jul-2008 marcel

Cleanup for WARNS 3.


# 180982 29-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.


# 158680 17-May-2006 davidxu

get thread signal info.


# 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.


# 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.


# 144922 12-Apr-2005 davidxu

Sync with debugger code in libthr.


# 144663 05-Apr-2005 davidxu

Export thread address.


# 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.


# 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.


# 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