X-Git-Url: https://repo.jachan.dev/qemu.git/blobdiff_plain/fa79c914efd35cb60e0bc18512c03690c48b13e2..b8a75b6093309a43f9837bc2ce63bcf15a7b305f:/dump-stub.c diff --git a/dump-stub.c b/dump-stub.c index 4c8bedb6ce..b3f42cb2f1 100644 --- a/dump-stub.c +++ b/dump-stub.c @@ -6,28 +6,15 @@ * Authors: * Wen Congyang * - * This work is licensed under the terms of the GNU GPL, version 2. See - * the COPYING file in the top-level directory. + * This work is licensed under the terms of the GNU GPL, version 2 or later. + * See the COPYING file in the top-level directory. * */ #include "qemu-common.h" -#include -#include "elf.h" -#include -#include -#include "cpu.h" -#include "cpu-all.h" -#include "targphys.h" -#include "monitor.h" -#include "kvm.h" -#include "dump.h" -#include "sysemu.h" -#include "bswap.h" -#include "memory_mapping.h" -#include "error.h" +#include "sysemu/dump.h" +#include "qapi/qmp/qerror.h" #include "qmp-commands.h" -#include "gdbstub.h" /* we need this function in hmp.c */ void qmp_dump_guest_memory(bool paging, const char *file, bool has_begin, @@ -37,34 +24,6 @@ void qmp_dump_guest_memory(bool paging, const char *file, bool has_begin, error_set(errp, QERR_UNSUPPORTED); } -int cpu_write_elf64_note(write_core_dump_function f, - CPUArchState *env, int cpuid, - void *opaque) -{ - return -1; -} - -int cpu_write_elf32_note(write_core_dump_function f, - CPUArchState *env, int cpuid, - void *opaque) -{ - return -1; -} - -int cpu_write_elf64_qemunote(write_core_dump_function f, - CPUArchState *env, - void *opaque) -{ - return -1; -} - -int cpu_write_elf32_qemunote(write_core_dump_function f, - CPUArchState *env, - void *opaque) -{ - return -1; -} - int cpu_get_dump_info(ArchDumpInfo *info) { return -1;