|
@@ -1022,7 +1022,7 @@ void process_pending_signals(CPUArchState *env)
|
|
void cpu_loop_exit_sigsegv(CPUState *cpu, target_ulong addr,
|
|
void cpu_loop_exit_sigsegv(CPUState *cpu, target_ulong addr,
|
|
MMUAccessType access_type, bool maperr, uintptr_t ra)
|
|
MMUAccessType access_type, bool maperr, uintptr_t ra)
|
|
{
|
|
{
|
|
- const struct TCGCPUOps *tcg_ops = CPU_GET_CLASS(cpu)->tcg_ops;
|
|
|
|
|
|
+ const TCGCPUOps *tcg_ops = CPU_GET_CLASS(cpu)->tcg_ops;
|
|
|
|
|
|
if (tcg_ops->record_sigsegv) {
|
|
if (tcg_ops->record_sigsegv) {
|
|
tcg_ops->record_sigsegv(cpu, addr, access_type, maperr, ra);
|
|
tcg_ops->record_sigsegv(cpu, addr, access_type, maperr, ra);
|
|
@@ -1038,7 +1038,7 @@ void cpu_loop_exit_sigsegv(CPUState *cpu, target_ulong addr,
|
|
void cpu_loop_exit_sigbus(CPUState *cpu, target_ulong addr,
|
|
void cpu_loop_exit_sigbus(CPUState *cpu, target_ulong addr,
|
|
MMUAccessType access_type, uintptr_t ra)
|
|
MMUAccessType access_type, uintptr_t ra)
|
|
{
|
|
{
|
|
- const struct TCGCPUOps *tcg_ops = CPU_GET_CLASS(cpu)->tcg_ops;
|
|
|
|
|
|
+ const TCGCPUOps *tcg_ops = CPU_GET_CLASS(cpu)->tcg_ops;
|
|
|
|
|
|
if (tcg_ops->record_sigbus) {
|
|
if (tcg_ops->record_sigbus) {
|
|
tcg_ops->record_sigbus(cpu, addr, access_type, ra);
|
|
tcg_ops->record_sigbus(cpu, addr, access_type, ra);
|