diff options
author | Geoffrey Keating <geoffk@redhat.com> | 2002-01-26 02:38:57 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2002-01-26 02:38:57 +0000 |
commit | 33c7f925c66c9e03e95c3ceaf76cb65bf4d218c1 (patch) | |
tree | ce56da7401d4da9ee02287915125c6e42fb0d8c4 /gcc/dbxout.c | |
parent | 6cd444b4e06b236803fc44ec1f1867d9cb08f810 (diff) | |
download | gcc-33c7f925c66c9e03e95c3ceaf76cb65bf4d218c1.zip gcc-33c7f925c66c9e03e95c3ceaf76cb65bf4d218c1.tar.gz gcc-33c7f925c66c9e03e95c3ceaf76cb65bf4d218c1.tar.bz2 |
Index: gcc/ChangeLog
* dbxout.c (dbxout_init): Use assemble_name rather than just
stripping off the first character.
(dbxout_source_file): Likewise.
Index: gcc/testsuite/ChangeLog
* gcc.dg/debug/debug.exp: New file.
* gcc.dg/debug/trivial.c: New file.
* gcc.dg/debug/20000503-1.c: Moved from gcc.dg/.
* gcc.dg/debug/20010207-1.c: Moved from gcc.dg/.
* gcc.dg/debug/20011223-1.c: Moved from gcc.dg/.
* gcc.dg/debug/20020104-2.c: Moved from gcc.dg/.
* gcc.dg/debug/debug-1.c: Moved from gcc.dg/.
* gcc.dg/debug/debug-2.c: Moved from gcc.dg/.
* gcc.dg/debug/debug-3.c: Moved from gcc.dg/.
* gcc.dg/debug/debug-4.c: Moved from gcc.dg/.
* gcc.dg/debug/debug-5.c: Moved from gcc.dg/.
* gcc.dg/debug/debug-6.c: Moved from gcc.dg/.
* gcc.dg/debug/dwarf2-1.c: Moved from gcc.dg/.
* gcc.dg/debug/dwarf2-2.c: Moved from gcc.dg/.
* gcc.dg/20000503-1.c: Removed.
* gcc.dg/20010207-1.c: Removed.
* gcc.dg/20011223-1.c: Removed.
* gcc.dg/20020104-2.c: Removed.
* gcc.dg/debug-1.c: Removed.
* gcc.dg/debug-2.c: Removed.
* gcc.dg/debug-3.c: Removed.
* gcc.dg/debug-4.c: Removed.
* gcc.dg/debug-5.c: Removed.
* gcc.dg/debug-6.c: Removed.
* gcc.dg/dwarf2-1.c: Removed.
* gcc.dg/dwarf2-2.c: Removed.
From-SVN: r49238
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r-- | gcc/dbxout.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c index abcbee0..f352745 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -439,7 +439,9 @@ dbxout_init (input_file_name) #else /* no DBX_OUTPUT_MAIN_SOURCE_DIRECTORY */ fprintf (asmfile, "%s", ASM_STABS_OP); output_quoted_string (asmfile, cwd); - fprintf (asmfile, ",%d,0,0,%s\n", N_SO, <ext_label_name[1]); + fprintf (asmfile, ",%d,0,0,", N_SO); + assemble_name (asmfile, ltext_label_name); + fputc ('\n', asmfile); #endif /* no DBX_OUTPUT_MAIN_SOURCE_DIRECTORY */ } } @@ -454,8 +456,9 @@ dbxout_init (input_file_name) /* Used to put `Ltext:' before the reference, but that loses on sun 4. */ fprintf (asmfile, "%s", ASM_STABS_OP); output_quoted_string (asmfile, input_file_name); - fprintf (asmfile, ",%d,0,0,%s\n", - N_SO, <ext_label_name[1]); + fprintf (asmfile, ",%d,0,0,", N_SO); + assemble_name (asmfile, ltext_label_name); + fputc ('\n', asmfile); text_section (); ASM_OUTPUT_INTERNAL_LABEL (asmfile, "Ltext", 0); #endif /* no DBX_OUTPUT_MAIN_SOURCE_FILENAME */ @@ -577,7 +580,9 @@ dbxout_source_file (file, filename) source_label_number); fprintf (file, "%s", ASM_STABS_OP); output_quoted_string (file, filename); - fprintf (file, ",%d,0,0,%s\n", N_SOL, <ext_label_name[1]); + fprintf (asmfile, ",%d,0,0,", N_SOL); + assemble_name (asmfile, ltext_label_name); + fputc ('\n', asmfile); if (current_function_decl != NULL_TREE && DECL_SECTION_NAME (current_function_decl) != NULL_TREE) ; /* Don't change section amid function. */ |