From: William Cohen Date: Tue, 15 Aug 2000 20:50:39 +0000 (+0000) Subject: elf.h (DWARF2_DEBUGGING_INFO): Defined. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=568472074acbbbb5ea2964161c9eb26fd5f55a0b;p=gcc.git elf.h (DWARF2_DEBUGGING_INFO): Defined. * config/sh/elf.h (DWARF2_DEBUGGING_INFO): Defined. (PREFERRED_DEBUGGING_TYPE): Set to dwarf2 info. (DWARF2_ASM_LINE_DEBUG_INFO): Defined. From-SVN: r35730 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5f5960aa271..9bf2c701441 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2000-08-15 William Cohen + + * 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 * flow.c (mark_used_reg): Set reg_cond_reg appropriately. diff --git a/gcc/config/sh/elf.h b/gcc/config/sh/elf.h index ff57fca6171..0e8146f85c3 100644 --- a/gcc/config/sh/elf.h +++ b/gcc/config/sh/elf.h @@ -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. */