1. Stanislav Sedov
  2. valgrind-freebsd
  3. Issues
Issue #6 new

Valgrind not supporting pselect

Anonymous created an issue

I have been attempting to use Valgrind in some code that uses pselect() and I am getting:

--4765-- WARNING: unhandled syscall: 522 --4765-- You may be able to write your own handler. --4765-- Read the file README_MISSING_SYSCALL_OR_IOCTL. --4765-- Nevertheless we consider this a bug. Please report --4765-- it at http://valgrind.org/support/bug_reports.html.

I have been attempting to create a patch by copying the linux support of pselect to create my own syswrap but I am having some difficulty. Following the instructions in the README referenced has no mention of how to do it for FreeBSD as compared to linux, so I have been guessing (incorrectly)

Comments (1)

  1. Log in to comment