aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ"orn Rennecke <amylaar@cygnus.co.uk>1997-10-23 12:11:19 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>1997-10-23 13:11:19 +0100
commitc401498bbfa94ce07742945e5b9a24a44e3b8cab (patch)
tree0990603d8c4f67df81b97cd873f1cccec0c196f4
parent7b4f18a3817f6d4016a9c8caac30a0ca9cc376dd (diff)
downloadgcc-c401498bbfa94ce07742945e5b9a24a44e3b8cab.zip
gcc-c401498bbfa94ce07742945e5b9a24a44e3b8cab.tar.gz
gcc-c401498bbfa94ce07742945e5b9a24a44e3b8cab.tar.bz2
dbxout.c (dbxout_start_new_source_file): Use output_quoted_string for FILENAME.
* dbxout.c (dbxout_start_new_source_file): Use output_quoted_string for FILENAME. From-SVN: r16155
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/dbxout.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d104b6f..e4c250c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Thu Oct 23 08:03:59 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
+
+ * dbxout.c (dbxout_start_new_source_file): Use output_quoted_string
+ for FILENAME.
+
Wed Oct 22 00:34:12 1997 Jeffrey A Law (law@cygnus.com)
* toplev.c (flag_exceptions): Default value is 2.
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index a0a9665..79c065b 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -501,7 +501,9 @@ dbxout_start_new_source_file (filename)
n->file_number = next_file_number++;
n->next_type_number = 1;
current_file = n;
- fprintf (asmfile, "%s \"%s\",%d,0,0,0\n", ASM_STABS_OP, filename, N_BINCL);
+ fprintf (asmfile, "%s ", ASM_STABS_OP);
+ output_quoted_string (asmfile, filename);
+ fprintf (asmfile, ",%d,0,0,0\n", N_BINCL);
#endif
}