Re: {get,set}_fsbase, {get,set}_gsbase and Valgrind

2005-09-15 Thread John Baldwin
On Thursday 15 September 2005 06:48 am, Simon Barner wrote: > 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 we

Re: {get,set}_fsbase, {get,set}_gsbase and Valgrind

2005-09-15 Thread Simon Barner
Here is the patch. --- coregrind/vg_syscalls.c.origFri Jul 16 19:21:08 2004 +++ coregrind/vg_syscalls.c Wed Sep 14 22:13:44 2005 @@ -1369,6 +1369,38 @@ &tst->m_eflags, arg1, arg2); break; +case

{get,set}_fsbase, {get,set}_gsbase and Valgrind

2005-09-15 Thread Simon Barner
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 atta