get darwin qemu-irix to compile
This commit is contained in:
parent
e8b66af9c9
commit
25d6223cc9
|
@ -245,6 +245,7 @@ trace-events-subdirs += target/s390x
|
|||
trace-events-subdirs += target/ppc
|
||||
trace-events-subdirs += qom
|
||||
trace-events-subdirs += linux-user
|
||||
trace-events-subdirs += darwin-user
|
||||
trace-events-subdirs += qapi
|
||||
trace-events-subdirs += accel/tcg
|
||||
trace-events-subdirs += accel/kvm
|
||||
|
|
|
@ -594,7 +594,6 @@ static void QEMU_NORETURN dump_core_and_abort(CPUArchState *env, int target_sig)
|
|||
struct sigaction act;
|
||||
|
||||
host_sig = target_to_host_signal(target_sig);
|
||||
// TODO: why isn't this function defined anywhere? macro?
|
||||
trace_user_force_sig(env, target_sig, host_sig);
|
||||
gdb_signalled(env, target_sig);
|
||||
|
||||
|
@ -647,7 +646,6 @@ int queue_signal(CPUArchState *env, int sig, int si_type,
|
|||
CPUState *cpu = ENV_GET_CPU(env);
|
||||
TaskState *ts = cpu->opaque;
|
||||
|
||||
/* is this a real function? */
|
||||
trace_user_queue_signal(env, sig);
|
||||
|
||||
info->si_code = deposit32(info->si_code, 16, 16, si_type);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# See docs/devel/tracing.txt for syntax documentation.
|
||||
|
||||
# linux-user/signal.c
|
||||
# darwin-user/signal.c
|
||||
user_setup_frame(void *env, uint64_t frame_addr) "env=%p frame_addr=0x%"PRIx64
|
||||
user_setup_rt_frame(void *env, uint64_t frame_addr) "env=%p frame_addr=0x%"PRIx64
|
||||
user_do_rt_sigreturn(void *env, uint64_t frame_addr) "env=%p frame_addr=0x%"PRIx64
|
||||
|
|
|
@ -25,7 +25,11 @@
|
|||
|
||||
#ifdef TARGET_ABI_IRIX
|
||||
/* argh, ugly! need TaskState here to access PRDA storage */
|
||||
#ifdef CONFIG_DARWIN_USER
|
||||
#include <darwin-user/qemu.h>
|
||||
#else
|
||||
#include <linux-user/qemu.h>
|
||||
#endif
|
||||
|
||||
#define DEBUG(x) //x
|
||||
|
||||
|
|
Loading…
Reference in New Issue