2008-09-09 Pedro Alves * Makefile.in (gnu-nat.o): New rule. --- gdb/Makefile.in | 7 +++++++ 1 file changed, 7 insertions(+) Index: src/gdb/Makefile.in =================================================================== --- src.orig/gdb/Makefile.in 2008-09-09 16:18:48.000000000 +0100 +++ src/gdb/Makefile.in 2008-09-09 16:23:30.000000000 +0100 @@ -1363,6 +1363,13 @@ monitor.o: $(srcdir)/monitor.c $(COMPILE.pre) $(INTERNAL_WARN_CFLAGS) $(COMPILE.post) $(srcdir)/monitor.c $(POSTCOMPILE) +# "gnu-nat.c" gets "suggest parentheses around assignment used as +# truth value" errors. It turns out that there is a system header +# that does `if (a = b)'. +gnu-nat.o: $(srcdir)/gnu-nat.c + $(COMPILE.pre) $(INTERNAL_WARN_CFLAGS) $(COMPILE.post) $(srcdir)/gnu-nat.c + $(POSTCOMPILE) + # Do not try to build "printcmd.c" with -Wformat-nonliteral. It manually # checks format strings. printcmd.o: $(srcdir)/printcmd.c