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:
parent
0faf814fba
commit
b3e2d1eb53
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue