aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@cygnus.co.uk>1999-07-27 17:02:42 +0000
committerBernd Schmidt <crux@gcc.gnu.org>1999-07-27 17:02:42 +0000
commitf55dcd41d022f1efd89a609954252be89587b768 (patch)
tree5de825b1c6340cdd0e21fd0c72822d4d3b68c1dd
parent59159a105e300b3ed5f9a67a1b76947e91f338b4 (diff)
downloadgcc-f55dcd41d022f1efd89a609954252be89587b768.zip
gcc-f55dcd41d022f1efd89a609954252be89587b768.tar.gz
gcc-f55dcd41d022f1efd89a609954252be89587b768.tar.bz2
Fix SDB debug output generation for ARM/COFF
From-SVN: r28297
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/coff.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3d5b4d7..e5a9e5d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
+
+ * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
+ output_file_directive.
+
Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
* expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
diff --git a/gcc/config/arm/coff.h b/gcc/config/arm/coff.h
index 0acd5b9..87f969e 100644
--- a/gcc/config/arm/coff.h
+++ b/gcc/config/arm/coff.h
@@ -80,6 +80,8 @@ extern int arm_structure_size_boundary;
fprintf (STREAM, "%s Generated by gcc %s for ARM/coff\n", \
ASM_COMMENT_START, version_string); \
fprintf (STREAM, ASM_APP_OFF); \
+ if (write_symbols == SDB_DEBUG) \
+ output_file_directive (STREAM, main_input_filename); \
} \
while (0)