Following the rules for converting to multi-arch, step one says we must get it all to compile... So: The following patch is needed to enable building of gdb on arm-netbsd. The definition of IN_SIGTRAMP tests NAME for being NULL and if not calls STREQ to compare the strings. However, STREQ dereferences the pointers directly and this causes a compile time error for the NULL pointer (since *(0) is not defined). Richard Earnshaw (rearnsha@arm.com) * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument of IN_SIGTRAMP to char *.