summaryrefslogtreecommitdiffstats
path: root/sys/sys/imgact_elf.h
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2004-08-11 02:35:06 +0000
committermarcel <marcel@FreeBSD.org>2004-08-11 02:35:06 +0000
commitfbbaea5f906ae98c3b2fe400a10aa7f73d292697 (patch)
tree6873386d3adcd9d8f724266b497cb4615a353766 /sys/sys/imgact_elf.h
parent36e89f928c8909ce943566776b5922f293e7dcd5 (diff)
downloadFreeBSD-src-fbbaea5f906ae98c3b2fe400a10aa7f73d292697.zip
FreeBSD-src-fbbaea5f906ae98c3b2fe400a10aa7f73d292697.tar.gz
Add __elfN(dump_thread). This function is called from __elfN(coredump)
to allow dumping per-thread machine specific notes. On ia64 we use this function to flush the dirty registers onto the backingstore before we write out the PRSTATUS notes. Tested on: alpha, amd64, i386, ia64 & sparc64 Not tested on: arm, powerpc
Diffstat (limited to 'sys/sys/imgact_elf.h')
-rw-r--r--sys/sys/imgact_elf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/imgact_elf.h b/sys/sys/imgact_elf.h
index d69abe6..3454787 100644
--- a/sys/sys/imgact_elf.h
+++ b/sys/sys/imgact_elf.h
@@ -76,6 +76,9 @@ int __elfN(remove_brand_entry)(Elf_Brandinfo *entry);
int __elfN(freebsd_fixup)(register_t **, struct image_params *);
int __elfN(coredump)(struct thread *, struct vnode *, off_t);
+/* Machine specific function to dump per-thread information. */
+void __elfN(dump_thread)(struct thread *, void *, size_t *);
+
extern int __elfN(fallback_brand);
#endif /* _KERNEL */
OpenPOWER on IntegriCloud