summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/dwarf2out.c7
2 files changed, 11 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e7263548c2b..54683036749 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-03-31 Olivier Hainque <hainque@adacore.com>
+
+ * dwarf2out.c (dwarf2out_frame_finish): Honor DWARF2_FRAME_INFO
+ defined and non-zero.
+
2005-03-31 Gabriel Dos Reis <gdr@integrable-solutions.net>
PR c++/18644
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 3f340ba2652..70ad88749aa 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -2468,7 +2468,12 @@ void
dwarf2out_frame_finish (void)
{
/* Output call frame information. */
- if (write_symbols == DWARF2_DEBUG || write_symbols == VMS_AND_DWARF2_DEBUG)
+ if (write_symbols == DWARF2_DEBUG
+ || write_symbols == VMS_AND_DWARF2_DEBUG
+#ifdef DWARF2_FRAME_INFO
+ || DWARF2_FRAME_INFO
+#endif
+ )
output_call_frame_info (0);
#ifndef TARGET_UNWIND_INFO