elf.h (DWARF2_DEBUGGING_INFO): Defined.
authorWilliam Cohen <wcohen@redhat.com>
Tue, 15 Aug 2000 20:50:39 +0000 (20:50 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 15 Aug 2000 20:50:39 +0000 (14:50 -0600)
* config/sh/elf.h (DWARF2_DEBUGGING_INFO): Defined.
(PREFERRED_DEBUGGING_TYPE): Set to dwarf2 info.
(DWARF2_ASM_LINE_DEBUG_INFO): Defined.

From-SVN: r35730

gcc/ChangeLog
gcc/config/sh/elf.h

index 5f5960aa271d695859b3f2910f998c1677c28f01..9bf2c701441dcb38b52ac62cf828044553477d0a 100644 (file)
@@ -1,3 +1,9 @@
+2000-08-15  William Cohen  <wcohen@redhat.com>
+
+       * config/sh/elf.h (DWARF2_DEBUGGING_INFO): Defined.
+       (PREFERRED_DEBUGGING_TYPE): Set to dwarf2 info.
+       (DWARF2_ASM_LINE_DEBUG_INFO): Defined.
+
 2000-08-15  Richard Henderson  <rth@cygnus.com>
 
        * flow.c (mark_used_reg): Set reg_cond_reg appropriately.
index ff57fca6171f47f7bb8f6efde252b4481de4509b..0e8146f85c339cd6a28313c7b06162807846d8f2 100644 (file)
@@ -25,6 +25,15 @@ Boston, MA 02111-1307, USA.  */
 /* No SDB debugging info.  */
 #undef SDB_DEBUGGING_INFO
 
+/* Generate DWARF2 debugging information and make it the default */
+#define DWARF2_DEBUGGING_INFO
+
+#undef PREFERRED_DEBUGGING_TYPE
+#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
+
+/* use a more compact format for line information */
+#define DWARF2_ASM_LINE_DEBUG_INFO 1
+
 /* Undefine some macros defined in both sh.h and svr4.h.  */
 #undef IDENT_ASM_OP
 #undef ASM_FILE_END
@@ -36,7 +45,6 @@ Boston, MA 02111-1307, USA.  */
 #undef ASM_OUTPUT_CONSTRUCTOR
 #undef ASM_OUTPUT_DESTRUCTOR
 #undef ASM_DECLARE_FUNCTION_NAME
-#undef PREFERRED_DEBUGGING_TYPE
 #undef MAX_OFILE_ALIGNMENT
 
 /* Be ELF-like.  */