sgx-lkl icon indicating copy to clipboard operation
sgx-lkl copied to clipboard

GDB should skip SIGILL for wrfsbase

Open davidchisnall opened this issue 4 years ago • 1 comments

Since the changes to OE to support emulating the wrfsbase instruction, we now get a SIGILL on every lthread switch. This causes gdb to stop. Ideally, the gdb scripts should check if the faulting instruction is wrfsbase and, if so, resume automatically (or, perhaps, turn off tracing on SIGILL entirely and instead automatically put a breakpoint on the uncommon paths in the OE signal handler).

davidchisnall avatar May 04 '20 15:05 davidchisnall

@anakrish I remember we had a patch for skipping SIGILL for cpuinfo. Was it merged?

jxyang avatar May 04 '20 19:05 jxyang