summaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>1997-10-23 12:11:19 +0000
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>1997-10-23 12:11:19 +0000
commit7fce9088d46341836189b7b5856631ee21dc657b (patch)
tree0990603d8c4f67df81b97cd873f1cccec0c196f4 /gcc/dbxout.c
parent9d8c80eac01826e88f08b5230e2550e552f9c2e0 (diff)
downloadgcc-7fce9088d46341836189b7b5856631ee21dc657b.tar.gz
* dbxout.c (dbxout_start_new_source_file): Use output_quoted_string
for FILENAME. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16155 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r--gcc/dbxout.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index a0a9665acab..79c065b5c29 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
}