Commit 79406520 by Geoffrey Keating Committed by Geoffrey Keating

cppopts.texi (-undef): Fix texinfo warning.

	* doc/cppopts.texi (-undef): Fix texinfo warning.

	* doc/cppopts.texi (-H): Document that -H works for PCH files too.
	* cppfiles.c (validate_pch): When -H is used, print some information
	about PCH files found.

From-SVN: r66894
parent 72701eab
2003-05-16 Geoffrey Keating <geoffk@apple.com>
* doc/cppopts.texi (-undef): Fix texinfo warning.
* doc/cppopts.texi (-H): Document that -H works for PCH files too.
* cppfiles.c (validate_pch): When -H is used, print some information
about PCH files found.
2003-05-16 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> 2003-05-16 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* config/mips/t-elf: Remove obsolete rules adding dependencies on tm.h. * config/mips/t-elf: Remove obsolete rules adding dependencies on tm.h.
......
...@@ -293,6 +293,13 @@ validate_pch (pfile, filename, pchname) ...@@ -293,6 +293,13 @@ validate_pch (pfile, filename, pchname)
return NULL; return NULL;
if ((file->pch & 2) == 0) if ((file->pch & 2) == 0)
file->pch = pfile->cb.valid_pch (pfile, pchname, file->fd); file->pch = pfile->cb.valid_pch (pfile, pchname, file->fd);
if (CPP_OPTION (pfile, print_include_names))
{
unsigned int i;
for (i = 1; i < pfile->line_maps.depth; i++)
putc ('.', stderr);
fprintf (stderr, "%c %s\n", INCLUDE_PCH_P (file) ? '!' : 'x', pchname);
}
if (INCLUDE_PCH_P (file)) if (INCLUDE_PCH_P (file))
{ {
char *f = xstrdup (filename); char *f = xstrdup (filename);
......
...@@ -43,7 +43,7 @@ provided with a @option{-D} option. ...@@ -43,7 +43,7 @@ provided with a @option{-D} option.
Do not predefine any system-specific or GCC-specific macros. The Do not predefine any system-specific or GCC-specific macros. The
standard predefined macros remain defined. standard predefined macros remain defined.
@ifset cppmanual @ifset cppmanual
@xref{Standard Predefined Macros} @xref{Standard Predefined Macros}.
@end ifset @end ifset
@item -I @var{dir} @item -I @var{dir}
...@@ -636,7 +636,9 @@ execution, and report the final form of the include path. ...@@ -636,7 +636,9 @@ execution, and report the final form of the include path.
@opindex H @opindex H
Print the name of each header file used, in addition to other normal Print the name of each header file used, in addition to other normal
activities. Each name is indented to show how deep in the activities. Each name is indented to show how deep in the
@samp{#include} stack it is. @samp{#include} stack it is. Precompiled header files are also
printed, even if they are found to be invalid; an invalid precompiled
header file is printed with @samp{...x} and a valid one with @samp{...!} .
@item -version @item -version
@itemx --version @itemx --version
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment