diff options
author | William Cohen <wcohen@redhat.com> | 2000-08-15 20:50:39 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2000-08-15 14:50:39 -0600 |
commit | 568472074acbbbb5ea2964161c9eb26fd5f55a0b (patch) | |
tree | 34f252c50d8f3b80d0a9314e2e5f9a034bfc445d | |
parent | 1156b23c785de68c3ebcba98a11634f388f97bf7 (diff) | |
download | gcc-568472074acbbbb5ea2964161c9eb26fd5f55a0b.zip gcc-568472074acbbbb5ea2964161c9eb26fd5f55a0b.tar.gz gcc-568472074acbbbb5ea2964161c9eb26fd5f55a0b.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/sh/elf.h | 10 |
2 files changed, 15 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5f5960a..9bf2c70 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/sh/elf.h b/gcc/config/sh/elf.h index ff57fca..0e8146f 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. */ |