mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-26 20:03:54 -06:00
bsd-user: add stubbed out core dump support
Add a stubbed-out version of the bsd-user fork's core dump support. This allows elfload.c to be almost the same between what's upstream and what's in qemu-project upstream w/o the burden of reviewing the core dump support. Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
25fb5d383d
commit
0475f8fac5
3 changed files with 36 additions and 2 deletions
10
bsd-user/elfcore.c
Normal file
10
bsd-user/elfcore.c
Normal file
|
@ -0,0 +1,10 @@
|
|||
/* Stubbed out version of core dump support, explicitly in public domain */
|
||||
|
||||
static int elf_core_dump(int signr, CPUArchState *env)
|
||||
{
|
||||
struct elf_note en = { 0 };
|
||||
|
||||
bswap_note(&en);
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue