]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix attach-twice.c testcase for AIX.
authorAditya Vidyadhar Kamath <Aditya.Kamath1@ibm.com>
Thu, 25 Jan 2024 12:28:29 +0000 (06:28 -0600)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Thu, 25 Jan 2024 13:55:27 +0000 (14:55 +0100)
commit0759c1bc9f0eb096ac5a04ce4abb1510e9963fbb
treef815259bd70fe77de32f7338cedfc27ed51965f3
parent3eb33b8875a032678c375a76f689f928f57dfb15
Fix attach-twice.c testcase for AIX.

Currently, in AIX attach-twice.exp testcase is untested due to the below error.
gdb/testsuite/gdb.base/attach-twice.c:43:7: error: too few arguments to function 'ptrace'

This is because in AIX ptrace has five arguments. This patch is a fix for the same such that
this test case runs in AIX and other targets as well.
gdb/testsuite/gdb.base/attach-twice.c