Respected community members, Hi, Please find attached a patch. (See: 0001-Fix-attach-twice.c-testcase-for-AIX.patch) This is a small fix to resolve the attach-twice untested test case in AIX. Currently we are getting an error gdb/testsuite/gdb.base/attach-twice.c:43:7: error: too few arguments to function 'ptrace' which is why this testcase is untested. In AIX, we use 5 arguments for ptrace. Kindly give me your feedback for the same. Have a nice day ahead. Thanks and regards, Aditya.