Re: GSOC - valgrind-hurd queries

2014-06-03 Thread Samuel Thibault
Subhashish, le Wed 04 Jun 2014 05:03:53 +0530, a écrit : > Second the in the log in line 38 we have "return VG_(do_syscall1)(__NR_dup, > oldfd);" . > The linux one just #defines it(__NR_dup) with a number, whereas darwin's > does it with this VG_DARWIN_SYSCALL_CONSTRUCT_UNIX(41). How do we do it?

Re: GSOC - valgrind-hurd queries

2014-06-03 Thread Subhashish
Hello, I'm stuck with this long log of errors and warnings: [5] Now, I understand a couple of things: First the VKI_EACCES symbol is to be defined in vki-gnu.h. Second the in the log in line 38 we have "return VG_(do_syscall1)(__NR_dup, oldfd);" . Here __NR_dup is undeclared and it has to be