Andrew Turner
b013dea54e
Ensure we set all fpu registers to zero by using the address and size of
...
the union over one of its members.
2013-08-17 14:42:40 +00:00
Marius Strobl
85338755c1
Prefix the alias macros for members of struct __mcontext with an underscore
...
in order to avoid a clash in the net80211 code.
2013-07-12 14:24:52 +00:00
Marius Strobl
70b9a9a9f6
Implement
...
Reviewed by: marcel
Approved by: re (kib)
MFC after: 1 week
2011-08-06 17:50:37 +00:00
Marius Strobl
21a305d4af
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
2011-08-06 17:49:21 +00:00
Nathan Whitehorn
b12277d1d4
Repair some build breakage introduced in r211725 and garbage collect some
...
code made obsolete in the same commit.
2010-08-28 15:03:11 +00:00
Nathan Whitehorn
65801ce52d
Powerpc64 thread libraries support.
2010-07-10 15:13:49 +00:00
Attilio Rao
8655c70597
libc_r_* library is no more required, so just axe it.
...
Approved by: marcel, emaste
Sponsored by: Sandvine Incorporated
2009-03-05 18:27:16 +00:00
David E. O'Brien
3337af98b4
Add the needed libpthread_md.c for MIPS.
...
Obtained from: Juniper Networks
2008-08-28 15:41:12 +00:00
Marcel Moolenaar
f60a5b31c8
Cleanup for WARNS 6.
2008-08-06 03:14:18 +00:00
Marcel Moolenaar
820c1c554f
Cleanup for WARNS 3.
2008-07-31 16:26:58 +00:00
Marcel Moolenaar
2f6a179eb9
Cleanup for WARNS 2.
2008-07-31 05:25:52 +00:00
Olivier Houchard
ebbcec3ad2
Add arm support in libthread_db.
2007-11-17 21:27:53 +00:00
Xin LI
ec5430045b
Include string.h for memcpy() and memcmp().
2007-05-25 13:43:14 +00:00
Marcel Moolenaar
85999a0155
Roughly implement libpthread support.
2007-05-01 18:28:08 +00:00
Ruslan Ermilov
2d05c776ef
Remove alpha-specific stuff.
2006-08-23 12:12:56 +00:00
Marcel Moolenaar
e4e9813eb9
Add stub functions. This allows libthread_db to be built and installed,
...
which means that we also have <thread_db.h>.
2006-08-04 17:55:55 +00:00
Doug Rabson
8d7681bb7f
Add support for XMM registers in GDB for x86 processors that support
...
SSE (or its successors).
Reviewed by: marcel, davidxu
MFC After: 2 weeks
2005-05-31 09:43:04 +00:00
David Xu
6cc695d3b2
Add code to implement register structure converter.
2004-08-01 02:08:39 +00:00
Marcel Moolenaar
c465e9a1f0
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.
2004-07-19 16:54:52 +00:00
Marcel Moolenaar
a7092d3091
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
2004-07-18 19:29:38 +00:00
Scott Long
7a76c247bd
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.
2004-07-18 15:24:37 +00:00
Scott Long
4bfe920594
Add missing #includes so that this can compile. Obtained from the i386 version.
2004-07-18 15:20:03 +00:00
Marcel Moolenaar
3c1e38ea6e
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
2004-07-18 04:17:15 +00:00