From d158c3f77738e1d44aa117c1674e9ec8dee38661 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 31 Aug 2021 09:48:02 -0400 Subject: More stabs removal. gcc/ * config.gcc (cris-*-elf, cris-*-none): Remove dbxelf.h from tm_file. (m32r-*-elf, m32rle-*-elf, m32r-*-linux): Likewise. (mn10300-*-*, am33_2.0-*-linux*): Likewise. (xtensa*-*-elf, xtensa*-*-linux, xtensa*-*-uclinux): Likewise. (m32c-*-elf*, m32c-*-rtems*): Likewise. * config/cris/cris.h (DBX_NO_XREFS): Remove. (DBX_CONTIN_LENGTH, DBX_CONTIN_CHAR): Likewise. * config/m32r/m32r.h (DBXOUT_SOURCE_LINE): Likewise. (DBX_DEBUGGING_INFO, DBX_CONTIN_LENGTH): Likewise. * config/mn10300/mn10300.h (DEFAULT_GDB_EXTENSIONS): Likewise. * config/mn10300/linux.h (DBX_REGISTER_NAMES): Likewise. --- gcc/config/m32r/m32r.h | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) (limited to 'gcc/config/m32r') diff --git a/gcc/config/m32r/m32r.h b/gcc/config/m32r/m32r.h index 83a4b0b..047805f 100644 --- a/gcc/config/m32r/m32r.h +++ b/gcc/config/m32r/m32r.h @@ -769,29 +769,6 @@ L2: .word STATIC /* Globalizing directive for a label. */ #define GLOBAL_ASM_OP "\t.global\t" -/* We do not use DBX_LINES_FUNCTION_RELATIVE or - dbxout_stab_value_internal_label_diff here because - we need to use .debugsym for the line label. */ - -#define DBX_OUTPUT_SOURCE_LINE(file, line, counter) \ - do \ - { \ - const char * begin_label = \ - XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0); \ - char label[64]; \ - ASM_GENERATE_INTERNAL_LABEL (label, "LM", counter); \ - \ - dbxout_begin_stabn_sline (line); \ - assemble_name (file, label); \ - putc ('-', file); \ - assemble_name (file, begin_label); \ - fputs ("\n\t.debugsym ", file); \ - assemble_name (file, label); \ - putc ('\n', file); \ - counter += 1; \ - } \ - while (0) - /* How to refer to registers in assembler output. This sequence is indexed by compiler's hard-register-number (see above). */ #ifndef SUBTARGET_REGISTER_NAMES @@ -930,16 +907,13 @@ L2: .word STATIC /* Debugging information. */ -/* Generate DBX and DWARF debugging information. */ -#define DBX_DEBUGGING_INFO 1 +/* Generate DWARF debugging information. */ #define DWARF2_DEBUGGING_INFO 1 /* Use DWARF2 debugging info by default. */ #undef PREFERRED_DEBUGGING_TYPE #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG -/* Turn off splitting of long stabs. */ -#define DBX_CONTIN_LENGTH 0 /* Miscellaneous. */ -- cgit v1.1