From 7ca0873c2abfa2d891f71b05798ba20e66b72d9a Mon Sep 17 00:00:00 2001
From: Mark Mitchell <mark@codesourcery.com>
Date: Tue, 9 Jul 2002 17:04:56 +0000
Subject: [PATCH] * dwarfout.c (dwarfout_init): Warn that DWARF1 is deprecated.

From-SVN: r55342
---
 gcc/ChangeLog  | 5 +++++
 gcc/dwarfout.c | 2 ++
 2 files changed, 7 insertions(+)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e825dede3d98..036852c9cfda 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,4 +1,9 @@
+2002-07-09  Mark Mitchell  <mark@codesourcery.com>
+
+	* dwarfout.c (dwarfout_init): Warn that DWARF1 is deprecated.
+
 2002-07-09  Steve Ellcey  <sje@cup.hp.com>
+
 	* gcc/except.c (expand_eh_region_end_cleanup): Change exception pointer
 	from Pmode to ptr_mode.
 	(get_exception_pointer): Ditto.
diff --git a/gcc/dwarfout.c b/gcc/dwarfout.c
index d51e65f473b1..0a41dbb9731f 100644
--- a/gcc/dwarfout.c
+++ b/gcc/dwarfout.c
@@ -6183,6 +6183,8 @@ static void
 dwarfout_init (main_input_filename)
      const char *main_input_filename;
 {
+  warning ("support for the DWARF1 debugging format is deprecated");
+
   /* Remember the name of the primary input file.  */
 
   primary_filename = main_input_filename;
-- 
GitLab