tradcpp.c (output_line_command): Mark system headers as such in `line' commands.

* tradcpp.c (output_line_command): Mark system headers as such in
	`line' commands.

From-SVN: r37616
This commit is contained in:
Kaveh R. Ghazi 2000-11-21 15:55:08 +00:00 committed by Kaveh Ghazi
parent 0faf814fba
commit b3e2d1eb53
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2000-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* tradcpp.c (output_line_command): Mark system headers as such in
`line' commands.
2000-11-21 Jakub Jelinek <jakub@redhat.com>
* configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Sparc has .file/.loc

View File

@ -3535,6 +3535,8 @@ output_line_command (ip, op, conditional, file_change)
sprintf (line_cmd_buf, "# %d \"%s\"", ip->lineno, ip->fname);
if (file_change != same_file)
strcat (line_cmd_buf, file_change == enter_file ? " 1" : " 2");
if (system_include_depth > 0)
strcat (line_cmd_buf, " 3");
len = strlen (line_cmd_buf);
line_cmd_buf[len++] = '\n';
check_expand (op, len + 1);