Hi, The attached proposed patch adds multi process debugging feature in AIX.” Till now AIX supported debugging only one inferior at a time, now we can be able to debug multi process. Users can use set follow fork mode in child or parent and set detach on fork on or off to enable/disable simultaneous debugging of parent/child. An example program is written below as follows with the gdb output: #include #include #include void hello_from_child(){ printf("Hello from child \n"); } void hello_from_parent(){ printf("Hello from Parent \n"); } int main(){ pid_t childpid; printf("I should not be printed after fork as I am executed \n"); childpid = fork(); if (childpid == 0) hello_from_child(); else hello_from_parent(); return 0; } GDB Output:- (gdb) b hello_from_child Breakpoint 1 at 0x10000584: file test_fork.c, line 6. (gdb) set follow-fork-mode child (gdb) set detach-on-fork off (gdb) r Starting program: /home/test_fork I should not be printed after fork as I am executed [Attaching after process 23331156 fork to child process 23134700] [New inferior 2 (process 23134700)] [Switching to process 23134700] Thread 2.1 hit Breakpoint 1, hello_from_child () at test_fork.c:6 6 printf("Hello from child \n"); (gdb) c Continuing. Hello from child [Inferior 2 (process 23134700) exited normally] (gdb) The following are the results after running the "gdb.base" test suite:- With patch # of expected passes 26584 # of unexpected failures 3968 # of unexpected successes 1 # of expected failures 17 # of known failures 26 # of unresolved testcases 109 # of untested testcases 79 # of unsupported tests 62 # of paths in test names 1 # of duplicate test names 2 Without patch # of expected passes 26244 # of unexpected failures 4230 # of unexpected successes 1 # of expected failures 17 # of known failures 26 # of unresolved testcases 110 # of untested testcases 79 # of unsupported tests 62 # of paths in test names 1 # of duplicate test names 4 Please find attached the patch [See file: 0001-Enable-multi-process-debugging-for-AIX.patch] I have left comments in my patch to make it easy to understand and justify [code lines] the same. Let me know what you think. Kindly give us feedback at the earliest. Have a nice day ahead. Thanks and regards, Aditya. Bye.