]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
PowerPC, add support for recording pipe2 system call.
authorCarl Love <cel@us.ibm.com>
Mon, 31 Oct 2022 18:43:47 +0000 (14:43 -0400)
committerCarl Love <cel@us.ibm.com>
Mon, 31 Oct 2022 18:43:47 +0000 (14:43 -0400)
commit15a1e4e2a7dac11fdf338c70efc355348d8a6d49
tree1ed93514e53b40677d78ad5b046d72cabc5d42a9
parent8f0212acb19da47fa9d9feeaae42e71c8817cafc
PowerPC, add support for recording pipe2 system call.

Test gdb.reverse/pipe-reverse.exp fails on Power 10 running the fedora 36
distro.  The gdb record error message is:

  Process record and replay target doesn't support syscall number 317.

System call 317 on PowerPC maps to the pipe2 system call.

This patch adds support for the missing pipe2 system call for PowerPC.

Patch fixes the test failure in gdb.reverse/pipe-reverse.exp.

The patch has been tested on Power 10 with no regression failures.
gdb/ppc-linux-tdep.c