--- ./gdb/config/rs6000/nm-rs6000.h_orig	2012-04-01 13:40:32.950253757 +0530
+++ ./gdb/config/rs6000/nm-rs6000.h	2012-04-01 13:40:57.563258796 +0530
@@ -30,7 +30,7 @@
    and figure out where the shared libraries have got to.  */
 
 #define	SOLIB_ADD(a, b, c, d)	\
-  if (PIDGET (inferior_ptid))	\
+  if (PIDGET (inferior_ptid) != 1)	\
     /* Attach to process.  */  \
     xcoff_relocate_symtab (PIDGET (inferior_ptid)); \
   else		\
