This is an archive of the discontinued LLVM Phabricator instance.

Enable AUXV and QPassSignals in gdb-remote for NetBSD
ClosedPublic

Authored by krytarowski on Mar 20 2017, 11:54 AM.

Details

Summary

NetBSD is an ELF platform and it uses Elf Auxiliary Vector like Linux and other modern BSDs.

While there enable QPassSignals for the NetBSD port as well.

Sponsored by <The NetBSD Foundation>

Diff Detail

Repository
rL LLVM

Event Timeline

krytarowski created this revision.Mar 20 2017, 11:54 AM
labath accepted this revision.Mar 21 2017, 4:56 AM

At one point we will need to come up with a better way to control these features.

This revision is now accepted and ready to land.Mar 21 2017, 4:56 AM

I'm still evaluating whether to implement on the kernel side PT_SET_SIGPASS/PT_GET_SIGPASS. Some software like floating point can use it heavily.

I'm still evaluating whether to implement on the kernel side PT_SET_SIGPASS/PT_GET_SIGPASS. Some software like floating point can use it heavily.

Also there are programs which use SIGALRM or realtime signals very extensively, and those can get very much slowed down by a debugger. I think this would be a great addition, particularly as stopping a process is a much heavier operation on netbsd. I wish linux had that.

krytarowski closed this revision.Mar 21 2017, 10:40 AM