diff options
author | Andreas Färber <afaerber@suse.de> | 2013-06-27 19:49:31 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-07-23 02:41:33 +0200 |
commit | db6b81d43693cec86d62df79dd7402fc045427ed (patch) | |
tree | d2286c4067367ec1e064c3fb28d7d73be01adb7f /linux-user/signal.c | |
parent | 9e0c5422cfbed78990e2edc9d68928647829f5ac (diff) | |
download | qemu-db6b81d43693cec86d62df79dd7402fc045427ed.zip qemu-db6b81d43693cec86d62df79dd7402fc045427ed.tar.gz qemu-db6b81d43693cec86d62df79dd7402fc045427ed.tar.bz2 |
gdbstub: Change gdb_handlesig() argument to CPUState
Prepares for changing GDBState::c_cpu to CPUState.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'linux-user/signal.c')
-rw-r--r-- | linux-user/signal.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-user/signal.c b/linux-user/signal.c index d0727be..a5e8906 100644 --- a/linux-user/signal.c +++ b/linux-user/signal.c @@ -5386,6 +5386,7 @@ long do_rt_sigreturn(CPUArchState *env) void process_pending_signals(CPUArchState *cpu_env) { + CPUState *cpu = ENV_GET_CPU(cpu_env); int sig; abi_ulong handler; sigset_t set, old_set; @@ -5419,7 +5420,7 @@ void process_pending_signals(CPUArchState *cpu_env) if (!k->first) k->pending = 0; - sig = gdb_handlesig (cpu_env, sig); + sig = gdb_handlesig(cpu, sig); if (!sig) { sa = NULL; handler = TARGET_SIG_IGN; |