mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 07:31:11 +00: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133748
|
@ -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