summaryrefslogtreecommitdiffstats
path: root/lib/libthread_db/arch/amd64
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2004-07-18 19:29:38 +0000
committermarcel <marcel@FreeBSD.org>2004-07-18 19:29:38 +0000
commitbfb6f90a9eeb6d250ab63fba2e7501f78a24821a (patch)
tree4b42d6e10aba85d775b13f551f23384ffdeb87b4 /lib/libthread_db/arch/amd64
parentb862fe68f09527177a4f7c4c3deaa6a0ff5e1a4e (diff)
downloadFreeBSD-src-bfb6f90a9eeb6d250ab63fba2e7501f78a24821a.zip
FreeBSD-src-bfb6f90a9eeb6d250ab63fba2e7501f78a24821a.tar.gz
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
Diffstat (limited to 'lib/libthread_db/arch/amd64')
-rw-r--r--lib/libthread_db/arch/amd64/libpthread_md.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libthread_db/arch/amd64/libpthread_md.c b/lib/libthread_db/arch/amd64/libpthread_md.c
index 4959387..7553ed1 100644
--- a/lib/libthread_db/arch/amd64/libpthread_md.c
+++ b/lib/libthread_db/arch/amd64/libpthread_md.c
@@ -27,6 +27,9 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include <sys/procfs.h>
+#include <ucontext.h>
+
void
pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc)
{
OpenPOWER on IntegriCloud