OSDN Git Service

* arm/aout.h (DBX_OUTPUT_MAIN_SOURCE_FILENAME): Fix quoting.
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Mar 1999 10:01:56 +0000 (10:01 +0000)
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Mar 1999 10:01:56 +0000 (10:01 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25945 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/arm/aout.h

index 65325b9..fba63e3 100644 (file)
@@ -1,3 +1,7 @@
+1999-02-24  Mike Stump  <mrs@wrs.com>
+
+       * arm/aout.h (DBX_OUTPUT_MAIN_SOURCE_FILENAME): Fix quoting.
+
 1999-03-24  Jim Blandy  <jimb@zwingli.cygnus.com>
 
        * libgcc2.c (__CTOR_LIST__, __DTOR_LIST__): Initialize on all
index 4f9d4da..faf395a 100644 (file)
@@ -118,8 +118,9 @@ Boston, MA 02111-1307, USA.  */
    ``desc'' field is set to compiler version number >= 315 (sic).  */
 #define DBX_OUTPUT_MAIN_SOURCE_FILENAME(STREAM,NAME)                   \
 do {                                                                   \
-  fprintf (STREAM, ".stabs \"%s\",%d,0,315,%s\n", (NAME), N_SO,                \
-          &ltext_label_name[1]);                                       \
+  fprintf (STREAM, ".stabs ");                                         \
+  output_quoted_string (STREAM, NAME);                                 \
+  fprintf (STREAM, ",%d,0,315,%s\n", N_SO, &ltext_label_name[1]);      \
   text_section ();                                                     \
   ASM_OUTPUT_INTERNAL_LABEL (STREAM, "Ltext", 0);                      \
 } while (0)