Respected Ulrich and GDB community members, Hi, In the recent commit {https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=6d30ada87b7a515a0f623687e2faadc1d4acf440} the parameters of the scoped_restore_current_inferior_for_memory function was changed and in AIX we did not update the same. This fixed the build and threads debugging works alright. Kindly accept this patch and commit the same. Let me know if any changes needed. Have a nice day ahead. Thanks and regards, Aditya.