On May 22, 2025 10:53:16 AM PDT, Andrew Cooper andrew.cooper3@citrix.com wrote:
On 22/05/2025 6:22 pm, Dave Hansen wrote:
On 5/22/25 10:17, Xin Li (Intel) wrote:
Clear the software event flag in the augmented SS to prevent infinite SIGTRAP handler loop if TF is used without an external debugger.
Do you have a test case for this? It seems like the kind of thing we'd want in selftests/.
Hmm.
This was a behaviour intentionally changed in FRED so traps wouldn't get lost if an exception where to occur.
What precise case is triggering this?
~Andrew
SIGTRAP → sigreturn. Basically, we have to uplevel the suppression behavior to the kernel (where it belongs) instead of doing it at the ISA level.