mirror of
https://github.com/opnsense/src.git
synced 2026-04-26 16:47:30 -04:00
Disable surplus detection of breakpoint event in signal stack, the check
causes a normal breakpoint event in new thread to be ignored unexpectly, result is process SIGSEGV. Test on: AMD64, i386
This commit is contained in:
parent
d1d6dbf120
commit
82552011ab
1 changed files with 4 additions and 0 deletions
|
|
@ -1395,7 +1395,11 @@ adjust_pc_after_break (struct execution_control_state *ecs)
|
|||
|| (software_breakpoint_inserted_here_p (stop_pc)
|
||||
&& !(currently_stepping (ecs)
|
||||
&& prev_pc != stop_pc
|
||||
#if 1
|
||||
&& !(step_range_end))))
|
||||
#else
|
||||
&& !(step_range_end && INNER_THAN (read_sp (), (step_sp - 16))))))
|
||||
#endif
|
||||
write_pc_pid (stop_pc, ecs->ptid);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue