gdb/ 2008-09-10 Pedro Alves * Makefile.in (generated_files): Add $(NAT_GENERATED_FILES). * config/i386/i386gnu.mh (NAT_GENERATED_FILES): New. gdb/doc/ 2008-09-10 Pedro Alves * gdbint.texinfo (Native Debugging): Mention NAT_GENERATED_FILES. --- gdb/Makefile.in | 3 ++- gdb/config/i386/i386gnu.mh | 4 ++++ gdb/doc/gdbint.texinfo | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) Index: src/gdb/Makefile.in =================================================================== --- src.orig/gdb/Makefile.in 2008-09-10 19:13:36.000000000 +0100 +++ src/gdb/Makefile.in 2008-09-10 19:24:54.000000000 +0100 @@ -831,7 +831,8 @@ DISTSTUFF = $(YYFILES) # All generated files which can be included by another file. -generated_files = config.h observer.h observer.inc ada-lex.c $(GNULIB_H) +generated_files = config.h observer.h observer.inc ada-lex.c \ + $(GNULIB_H) $(NAT_GENERATED_FILES) .c.o: $(COMPILE) $< Index: src/gdb/config/i386/i386gnu.mh =================================================================== --- src.orig/gdb/config/i386/i386gnu.mh 2008-09-10 19:02:40.000000000 +0100 +++ src/gdb/config/i386/i386gnu.mh 2008-09-10 19:25:45.000000000 +0100 @@ -29,3 +29,7 @@ MIGCOM = $(MIG) -cc cat - /dev/null %_U.h %_U.c: %.defs $(CPP) $(CPPFLAGS) $($*-MIGUFLAGS) -x c $< \ | $(MIGCOM) -sheader /dev/null -server /dev/null -user $*_U.c -header $*_U.h + +NAT_GENERATED_FILES = notify_S.h notify_S.c process_reply_S.h process_reply_S.c \ + msg_reply_S.h msg_reply_S.c msg_U.h msg_U.c \ + exc_request_U.h exc_request_U.c exc_request_S.h exc_request_S.c Index: src/gdb/doc/gdbint.texinfo =================================================================== --- src.orig/gdb/doc/gdbint.texinfo 2008-09-10 19:15:21.000000000 +0100 +++ src/gdb/doc/gdbint.texinfo 2008-09-10 19:27:41.000000000 +0100 @@ -4417,7 +4417,7 @@ native-dependent object files, by defini Also specifies the header file which describes native support on @var{xyz}, by defining @samp{NAT_FILE= nm-@var{xyz}.h}. You can also define @samp{NAT_CFLAGS}, @samp{NAT_ADD_FILES}, @samp{NAT_CLIBS}, -@samp{NAT_CDEPS}, etc.; see @file{Makefile.in}. +@samp{NAT_CDEPS}, @samp{NAT_GENERATED_FILES}, etc.; see @file{Makefile.in}. @emph{Maintainer's note: The @file{.mh} suffix is because this file originally contained @file{Makefile} fragments for hosting @value{GDBN}