diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 1995-12-13 20:00:25 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 1995-12-13 20:00:25 +0000 |
commit | e9d523de42fa6ea3fca27322bfbc6dabaa9dd97a (patch) | |
tree | 7ccd9b5aa199c9e0e5cdafdb53e057bf67526eb8 /gcc/c-lex.c | |
parent | 66455505b66e6cd569d5142399c4007e66f1d5fb (diff) | |
download | gcc-e9d523de42fa6ea3fca27322bfbc6dabaa9dd97a.tar.gz |
Call new dbxout functions when changing source files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10705 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r-- | gcc/c-lex.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c index 007b3634384..edb707583db 100644 --- a/gcc/c-lex.c +++ b/gcc/c-lex.c @@ -590,6 +590,10 @@ linenum: p->name = input_filename; input_file_stack = p; input_file_stack_tick++; +#ifdef DBX_DEBUGGING_INFO + if (write_symbols == DBX_DEBUG) + dbxout_start_new_source_file (input_filename); +#endif #ifdef DWARF_DEBUGGING_INFO if (debug_info_level == DINFO_LEVEL_VERBOSE && write_symbols == DWARF_DEBUG) @@ -607,6 +611,10 @@ linenum: input_file_stack = p->next; free (p); input_file_stack_tick++; +#ifdef DBX_DEBUGGING_INFO + if (write_symbols == DBX_DEBUG) + dbxout_resume_previous_source_file (); +#endif #ifdef DWARF_DEBUGGING_INFO if (debug_info_level == DINFO_LEVEL_VERBOSE && write_symbols == DWARF_DEBUG) |