Doug, hackers, a user of the valgrind port reported that it crashed due to an unhandled sysarch call (ports/86007).
I found out, that this was because of the get_fsbase, set_fsbase, get_gsbase and set_gsbase calls, which were introduced in FreeBSD 6. I'd be happy if somebody could review my attached patch. It's quite possible that it does not make sense at all since I created it by adopting the code for the other cases without having a real clue about what I was doing :-/ Also, since I could not find any documentation for these calls, it would be very nice to know what they are good for, and if programs like valgrind have to take special care of them. Best regards, Simon
pgpiFFciIRK9C.pgp
Description: PGP signature