This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: Deprecate DWARF 1
- From: Mark Mitchell <mark at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 9 Jul 2002 10:04:38 -0700
- Subject: PATCH: Deprecate DWARF 1
- Reply-to: mark at codesourcery dot com
The consensus seemed to be to deprecate DWARF1 in the next major
release. We'll then remove it after that point.
Here's the deprecation patch.
Tested on i686-pc-linux-gnu, applied on the mainline.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
2002-07-09 Mark Mitchell <mark@codesourcery.com>
* dwarfout.c (dwarfout_init): Warn that DWARF1 is deprecated.
Index: dwarfout.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/dwarfout.c,v
retrieving revision 1.112
diff -c -p -r1.112 dwarfout.c
*** dwarfout.c 5 Jul 2002 16:39:59 -0000 1.112
--- dwarfout.c 9 Jul 2002 17:03:30 -0000
*************** static void
*** 6183,6188 ****
--- 6183,6190 ----
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;