In article <[email protected]>,
Kamil Rytarowski  <[email protected]> wrote:
>-=-=-=-=-=-
>-=-=-=-=-=-
>
>I propose to remove e_trapsignal from the compat framework
>
>Rationale:
> - It's currently unused. It was used for Darwin compat.
> - It's certainly broken and not used in part of the code where it could
>be used, generating a trap signal.
> - Maintaining debugging features in the compat framework is not a
>viable goal with the current resources.
>
>If we will ever want to run native Linux GDB or other debugger on the
>NetBSD kernel we will need to rework the existing code anyway.

I don't think this is for debuggers; it is there to remap the trap
and signal numbers on trap delivery to the traps and signals the
emulated application expects to receive:

https://nxr.netbsd.org/xref/src/sys/arch/x86/x86/linux_trap.c#145

christos

Reply via email to