diff options
author | marcel <marcel@FreeBSD.org> | 2004-08-11 02:35:06 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2004-08-11 02:35:06 +0000 |
commit | fbbaea5f906ae98c3b2fe400a10aa7f73d292697 (patch) | |
tree | 6873386d3adcd9d8f724266b497cb4615a353766 /sys/compat/ia32 | |
parent | 36e89f928c8909ce943566776b5922f293e7dcd5 (diff) | |
download | FreeBSD-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/compat/ia32')
-rw-r--r-- | sys/compat/ia32/ia32_sysvec.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/compat/ia32/ia32_sysvec.c b/sys/compat/ia32/ia32_sysvec.c index 4b35148..a2d1435 100644 --- a/sys/compat/ia32/ia32_sysvec.c +++ b/sys/compat/ia32/ia32_sysvec.c @@ -157,6 +157,14 @@ SYSINIT(oia32, SI_SUB_EXEC, SI_ORDER_ANY, (sysinit_cfunc_t) elf32_insert_brand_entry, &ia32_brand_oinfo); + +void +elf32_dump_thread(struct thread *td __unused, void *dst __unused, + size_t *off __unused) +{ +} + + /* XXX may be freebsd32 MI */ static register_t * ia32_copyout_strings(struct image_params *imgp) |