VG_(memset)(fpu->padding, 0, sizeof(fpu->padding));
}
-void VG_(make_coredump)(ThreadId tid, const vki_siginfo_t *si, UInt max_size)
-{
- ML_(make_elf_coredump)(tid, si, max_size);
-}
+/*--------------------------------------------------------------------*/
+/*--- end ---*/
+/*--------------------------------------------------------------------*/
}
#endif
-void ML_(make_elf_coredump)(ThreadId tid, const vki_siginfo_t *si, UInt max_size)
+static
+void make_elf_coredump(ThreadId tid, const vki_siginfo_t *si, UInt max_size)
{
Char buf[1000];
Char *basename = "vgcore";
VG_(close)(core_fd);
}
+void VG_(make_coredump)(ThreadId tid, const vki_siginfo_t *si, UInt max_size)
+{
+ make_elf_coredump(tid, si, max_size);
+}
+
/*--------------------------------------------------------------------*/
/*--- end ---*/
/*--------------------------------------------------------------------*/
# undef DO
}
-void VG_(make_coredump)(ThreadId tid, const vki_siginfo_t *si, UInt max_size)
-{
- ML_(make_elf_coredump)(tid, si, max_size);
-}
+/*--------------------------------------------------------------------*/
+/*--- end ---*/
+/*--------------------------------------------------------------------*/
VG_(memset)(xfpu->padding, 0, sizeof(xfpu->padding));
}
-void VG_(make_coredump)(ThreadId tid, const vki_siginfo_t *si, UInt max_size)
-{
- ML_(make_elf_coredump)(tid, si, max_size);
-}
+/*--------------------------------------------------------------------*/
+/*--- end ---*/
+/*--------------------------------------------------------------------*/
#ifndef __PRIV_SYMTAB_H
#define __PRIV_SYMTAB_H
-void ML_(make_elf_coredump)(ThreadId tid, const vki_siginfo_t *si, UInt max_size);
-
void ML_(fill_elfregs_from_tst)(struct vki_user_regs_struct* regs,
const ThreadArchState* arch);