aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2022-08-24 15:04:37 +0200
committerMartin Liska <mliska@suse.cz>2022-09-02 08:52:37 +0200
commit7e0db0cdf01e9c885a29cb37415f5bc00d90c029 (patch)
tree2d4b357a75ae2a1bf2ebb8f44fcdf73a668f6b3d /gcc/config
parent0b0a3cdbff64d97e7de3e0e2c26e965708064193 (diff)
downloadgcc-7e0db0cdf01e9c885a29cb37415f5bc00d90c029.zip
gcc-7e0db0cdf01e9c885a29cb37415f5bc00d90c029.tar.gz
gcc-7e0db0cdf01e9c885a29cb37415f5bc00d90c029.tar.bz2
STABS: remove -gstabs and -gxcoff functionality
gcc/ChangeLog: * Makefile.in: Remove -gstabs option support, DBX-related macros and DBX debugging info support. * collect2.cc (scan_prog_file): Likewise. * common.opt: Likewise. * config.gcc: Likewise. * config.in: Likewise. * config/aarch64/aarch64-elf.h (DBX_DEBUGGING_INFO): Likewise. * config/alpha/alpha.cc: Likewise. * config/alpha/elf.h (ASM_SPEC): Likewise. * config/arc/arc.h (DBX_DEBUGGING_INFO): Likewise. (DBX_CONTIN_LENGTH): Likewise. * config/arm/aout.h (DBX_DEBUGGING_INFO): Likewise. (DBX_CONTIN_LENGTH): Likewise. * config/arm/netbsd-elf.h (DBX_CONTIN_LENGTH): Likewise. * config/darwin.h (DSYMUTIL_SPEC): Likewise. (ASM_DEBUG_SPEC): Likewise. (DBX_DEBUGGING_INFO): Likewise. (DBX_USE_BINCL): Likewise. (DBX_CONTIN_LENGTH): Likewise. (DBX_OUTPUT_NULL_N_SO_AT_MAIN_SOURCE_FILE_END): Likewise. * config/epiphany/epiphany.h (DBX_DEBUGGING_INFO): Likewise. (DBX_CONTIN_LENGTH): Likewise. * config/i386/bsd.h (DBX_NO_XREFS): Likewise. (DBX_CONTIN_LENGTH): Likewise. * config/i386/gas.h (DBX_NO_XREFS): Likewise. (DBX_CONTIN_LENGTH): Likewise. * config/ia64/ia64.h: Likewise. * config/ia64/sysv4.h (DBX_DEBUGGING_INFO): Likewise. * config/m68k/linux.h (DBX_CONTIN_LENGTH): Likewise. * config/m68k/openbsd.h (DBX_DEBUGGING_INFO): Likewise. (DBX_CONTIN_LENGTH): Likewise. (DBX_CONTIN_CHAR): Likewise. * config/mips/mips.cc (mips_output_filename): Likewise. (mips_option_override): Likewise. * config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Likewise. (DBX_DEBUGGING_INFO): Likewise. (DBX_CONTIN_LENGTH): Likewise. (DBX_REGISTER_NUMBER): Likewise. (GP_DBX_FIRST): Likewise. (FP_DBX_FIRST): Likewise. (MD_DBX_FIRST): Likewise. * config/nvptx/nvptx.cc: Likewise. * config/openbsd.h (DBX_NO_XREFS): Likewise. * config/pa/pa-64.h (DBX_DEBUGGING_INFO): Likewise. * config/pa/pa.h (ASSEMBLER_DIALECT): Likewise. (DBX_CONTIN_LENGTH): Likewise. * config/pa/som.h (PREFERRED_DEBUGGING_TYPE): Likewise. (DBX_USE_BINCL): Likewise. (DBX_LINES_FUNCTION_RELATIVE): Likewise. (DBX_OUTPUT_NULL_N_SO_AT_MAIN_SOURCE_FILE_END): Likewise. * config/pdp11/pdp11.cc: Likewise. * config/pdp11/pdp11.h (DBX_DEBUGGING_INFO): Likewise. (PREFERRED_DEBUGGING_TYPE): Likewise. (DBX_CONTIN_LENGTH): Likewise. * config/rs6000/rs6000-builtin.cc: Likewise. * config/rs6000/rs6000-call.cc: Likewise. * config/rs6000/rs6000-logue.cc (defined): Likewise. * config/rs6000/rs6000.cc (rs6000_option_override_internal): Likewise. (HAVE_XCOFF_DWARF_EXTRAS): Likewise. (rs6000_xcoff_declare_function_name): Likewise. * config/rs6000/sysv4.h (DBX_DEBUGGING_INFO): Likewise. (DBX_FUNCTION_FIRST): Likewise. * config/rs6000/xcoff.h (XCOFF_DEBUGGING_INFO): Likewise. * config/rx/rx.h (DBX_DEBUGGING_INFO): Likewise. * config/sh/elf.h (DBX_LINES_FUNCTION_RELATIVE): Likewise. (DBX_OUTPUT_NULL_N_SO_AT_MAIN_SOURCE_FILE_END): Likewise. * config/sol2.h (NO_DBX_BNSYM_ENSYM): Likewise. * config/sparc/freebsd.h (DBX_CONTIN_CHAR): Likewise. * config/sparc/netbsd-elf.h (DBX_CONTIN_CHAR): Likewise. * config/sparc/sparc.h (DBX_CONTIN_LENGTH): Likewise. * config/vax/vax.cc (vax_file_start): Likewise. * config/vax/vax.h (DBX_DEBUGGING_INFO): Likewise. (DBX_CONTIN_LENGTH): Likewise. (DBX_CONTIN_CHAR): Likewise. (DBX_NO_XREFS): Likewise. (DBX_STATIC_STAB_DATA_SECTION): Likewise. * config/vx-common.h (DBX_DEBUGGING_INFO): Likewise. (XCOFF_DEBUGGING_INFO): Likewise. * configure: Regenerate. Likewise. * configure.ac: Likewise. * debug.h: Likewise. * doc/install.texi: Likewise. * doc/invoke.texi: Likewise. * doc/passes.texi: Likewise. * doc/tm.texi: Likewise. * doc/tm.texi.in: Likewise. * dwarf2asm.cc (XCOFF_DEBUGGING_INFO): Likewise. (dw2_asm_output_nstring): Likewise. (USE_LINKONCE_INDIRECT): Likewise. * dwarf2out.cc (XCOFF_DEBUGGING_INFO): Likewise. (HAVE_XCOFF_DWARF_EXTRAS): Likewise. (output_fde): Likewise. (output_call_frame_info): Likewise. (have_macinfo): Likewise. (add_AT_loc_list): Likewise. (add_AT_view_list): Likewise. (output_compilation_unit_header): Likewise. (output_pubnames): Likewise. (output_aranges): Likewise. (output_line_info): Likewise. (output_macinfo): Likewise. (dwarf2out_finish): Likewise. (dwarf2out_early_finish): Likewise. * final.cc (final_scan_insn_1): Likewise. (rest_of_handle_final): Likewise. * flag-types.h (enum debug_info_type): Likewise. (DBX_DEBUG): Likewise. (XCOFF_DEBUG): Likewise. * function.cc (defined): Likewise. * gcc.cc (defined): Likewise. (ASM_DEBUG_SPEC): Likewise. (ASM_DEBUG_OPTION_SPEC): Likewise. * opts.cc (common_handle_option): Likewise. (set_debug_level): Likewise. * system.h (fancy_abort): Likewise. * target-def.h (TARGET_ASM_CONSTRUCTOR): Likewise. (TARGET_ASM_DESTRUCTOR): Likewise. * toplev.cc (defined): Likewise. * varasm.cc: Likewise. * config/dbxcoff.h: Removed. * config/dbxelf.h: Removed. * dbxout.cc: Removed. * dbxout.h: Removed. * gstab.h: Removed. * stab.def: Removed. * xcoffout.cc: Removed. * xcoffout.h: Removed. gcc/go/ChangeLog: * go-lang.cc (go_langhook_pushdecl): Remove -gstabs option support, DBX-related macros and DBX debugging info support. * gospec.cc (lang_specific_driver): Likewise. gcc/testsuite/ChangeLog: * lib/gcc-dg.exp: Remove -gstabs option support, DBX-related macros and DBX debugging info support. * lib/gfortran-dg.exp: Likewise. * lib/target-supports.exp: Likewise. * g++.dg/cpp0x/alias-decl-debug-0.C: Removed. * g++.dg/other/PR23205.C: Removed. * g++.dg/other/pr23205-2.C: Removed. * gcc.dg/20040813-1.c: Removed. * gcc.dg/darwin-20040809-2.c: Removed. * gcc.dg/debug/pr35154.c: Removed. * gcc.dg/pr69471-2.c: Removed. * gcc.target/powerpc/stabs-attrib-vect-darwin.c: Removed. * gcc.target/s390/20041216-1.c: Removed. * gfortran.dg/debug/pr35154-stabs.f: Removed. * objc.dg/stabs-1.m: Removed.
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/aarch64/aarch64-elf.h3
-rw-r--r--gcc/config/alpha/alpha.cc4
-rw-r--r--gcc/config/alpha/elf.h2
-rw-r--r--gcc/config/arc/arc.h10
-rw-r--r--gcc/config/arm/aout.h9
-rw-r--r--gcc/config/arm/netbsd-elf.h3
-rw-r--r--gcc/config/darwin.h27
-rw-r--r--gcc/config/dbxcoff.h56
-rw-r--r--gcc/config/dbxelf.h68
-rw-r--r--gcc/config/epiphany/epiphany.h7
-rw-r--r--gcc/config/i386/bsd.h6
-rw-r--r--gcc/config/i386/gas.h4
-rw-r--r--gcc/config/ia64/ia64.h2
-rw-r--r--gcc/config/ia64/sysv4.h3
-rw-r--r--gcc/config/m68k/linux.h4
-rw-r--r--gcc/config/m68k/openbsd.h12
-rw-r--r--gcc/config/mips/mips.cc16
-rw-r--r--gcc/config/mips/mips.h17
-rw-r--r--gcc/config/nvptx/nvptx.cc1
-rw-r--r--gcc/config/openbsd.h11
-rw-r--r--gcc/config/pa/pa-64.h4
-rw-r--r--gcc/config/pa/pa.h10
-rw-r--r--gcc/config/pa/som.h15
-rw-r--r--gcc/config/pdp11/pdp11.cc1
-rw-r--r--gcc/config/pdp11/pdp11.h9
-rw-r--r--gcc/config/rs6000/rs6000-builtin.cc3
-rw-r--r--gcc/config/rs6000/rs6000-call.cc8
-rw-r--r--gcc/config/rs6000/rs6000-logue.cc12
-rw-r--r--gcc/config/rs6000/rs6000.cc24
-rw-r--r--gcc/config/rs6000/sysv4.h8
-rw-r--r--gcc/config/rs6000/xcoff.h3
-rw-r--r--gcc/config/rx/rx.h1
-rw-r--r--gcc/config/sh/elf.h3
-rw-r--r--gcc/config/sol2.h4
-rw-r--r--gcc/config/sparc/freebsd.h6
-rw-r--r--gcc/config/sparc/netbsd-elf.h5
-rw-r--r--gcc/config/sparc/sparc.h8
-rw-r--r--gcc/config/vax/vax.cc3
-rw-r--r--gcc/config/vax/vax.h21
-rw-r--r--gcc/config/vx-common.h2
40 files changed, 15 insertions, 400 deletions
diff --git a/gcc/config/aarch64/aarch64-elf.h b/gcc/config/aarch64/aarch64-elf.h
index 410a40b..8e05b1f 100644
--- a/gcc/config/aarch64/aarch64-elf.h
+++ b/gcc/config/aarch64/aarch64-elf.h
@@ -144,7 +144,4 @@ ASM_MABI_SPEC
#undef TYPE_OPERAND_FMT
#define TYPE_OPERAND_FMT "%%%s"
-/* Stabs debug not required. */
-#undef DBX_DEBUGGING_INFO
-
#endif /* GCC_AARCH64_ELF_H */
diff --git a/gcc/config/alpha/alpha.cc b/gcc/config/alpha/alpha.cc
index 0a85e66..66c1714 100644
--- a/gcc/config/alpha/alpha.cc
+++ b/gcc/config/alpha/alpha.cc
@@ -8458,10 +8458,6 @@ alpha_output_mi_thunk_osf (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED,
}
#endif /* TARGET_ABI_OSF */
-/* Debugging support. */
-
-#include "gstab.h"
-
/* Name of the file containing the current function. */
static const char *current_function_file = "";
diff --git a/gcc/config/alpha/elf.h b/gcc/config/alpha/elf.h
index 4447a7f..c9cd42e 100644
--- a/gcc/config/alpha/elf.h
+++ b/gcc/config/alpha/elf.h
@@ -22,7 +22,7 @@ along with GCC; see the file COPYING3. If not see
#define CC1_SPEC "%{G*}"
#undef ASM_SPEC
-#define ASM_SPEC "%{G*} %{relax:-relax} %{!gstabs*:-no-mdebug}%{gstabs*:-mdebug} %{mcpu=*:-m%*}"
+#define ASM_SPEC "%{G*} %{relax:-relax} %{mcpu=*:-m%*}"
/* Do not output a .file directive at the beginning of the input file. */
diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h
index 539a166..0cb560b 100644
--- a/gcc/config/arc/arc.h
+++ b/gcc/config/arc/arc.h
@@ -1330,12 +1330,7 @@ do { \
/* Debugging information. */
-/* Generate DBX and DWARF debugging information. */
-#ifdef DBX_DEBUGGING_INFO
-#undef DBX_DEBUGGING_INFO
-#endif
-#define DBX_DEBUGGING_INFO
-
+/* Generate DWARF debugging information. */
#ifdef DWARF2_DEBUGGING_INFO
#undef DWARF2_DEBUGGING_INFO
#endif
@@ -1385,9 +1380,6 @@ do { \
#define EH_RETURN_STACKADJ_RTX gen_rtx_REG (Pmode, 2)
-/* Turn off splitting of long stabs. */
-#define DBX_CONTIN_LENGTH 0
-
/* Miscellaneous. */
/* Specify the machine mode that this machine uses
diff --git a/gcc/config/arm/aout.h b/gcc/config/arm/aout.h
index b918ad3..cfb8db5 100644
--- a/gcc/config/arm/aout.h
+++ b/gcc/config/arm/aout.h
@@ -145,15 +145,6 @@
#define NO_DOLLAR_IN_LABEL 1
#endif
-/* Generate DBX debugging information. riscix.h will undefine this because
- the native assembler does not support stabs. */
-#define DBX_DEBUGGING_INFO 1
-
-/* Acorn dbx moans about continuation chars, so don't use any. */
-#ifndef DBX_CONTIN_LENGTH
-#define DBX_CONTIN_LENGTH 0
-#endif
-
/* Output a function label definition. */
#ifndef ASM_DECLARE_FUNCTION_NAME
#define ASM_DECLARE_FUNCTION_NAME(STREAM, NAME, DECL) \
diff --git a/gcc/config/arm/netbsd-elf.h b/gcc/config/arm/netbsd-elf.h
index d239c73..ef1bba2 100644
--- a/gcc/config/arm/netbsd-elf.h
+++ b/gcc/config/arm/netbsd-elf.h
@@ -85,9 +85,6 @@
#undef PTRDIFF_TYPE
#define PTRDIFF_TYPE "long int"
-/* We don't have any limit on the length as out debugger is GDB. */
-#undef DBX_CONTIN_LENGTH
-
/* NetBSD does its profiling differently to the Acorn compiler. We
don't need a word following the mcount call; and to skip it
requires either an assembly stub or use of fomit-frame-pointer when
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index c5e1ba8..d1b4f27 100644
--- a/gcc/config/darwin.h
+++ b/gcc/config/darwin.h
@@ -396,10 +396,10 @@ extern GTY(()) int darwin_ms_struct;
#define DSYMUTIL_SPEC \
"%{!c:%{!E:%{!S:%{!r:%{!M:%{!MM:%{!fsyntax-only:%{!fdump=*:\
- %{g*:%{!gctf:%{!gbtf:%{!gstabs*:%{%:debug-level-gt(0): -idsym \
+ %{g*:%{!gctf:%{!gbtf:%{%:debug-level-gt(0): -idsym \
%{.c|.cc|.C|.cpp|.cp|.c++|.cxx|.CPP|.m|.mm|.s|.f|.f90|\
.f95|.f03|.f77|.for|.F|.F90|.F95|.F03|.d: -dsym }\
- }}}}}\
+ }}}}\
}}}}}}}}"
#define LINK_COMMAND_SPEC LINK_COMMAND_SPEC_A DSYMUTIL_SPEC
@@ -583,14 +583,7 @@ extern GTY(()) int darwin_ms_struct;
"%{static} -arch %(darwin_arch) " \
ASM_OPTIONS ASM_MMACOSX_VERSION_MIN_SPEC
-#ifdef HAVE_AS_STABS_DIRECTIVE
-/* We only pass a debug option to the assembler if that supports stabs, since
- dwarf is not uniformly supported in the assemblers. */
-#define ASM_DEBUG_SPEC "%{g*:%{%:debug-level-gt(0):%{!gdwarf*:--gstabs}}}"
-#else
#define ASM_DEBUG_SPEC ""
-#endif
-
#undef ASM_DEBUG_OPTION_SPEC
#define ASM_DEBUG_OPTION_SPEC ""
@@ -604,10 +597,6 @@ ASM_OPTIONS ASM_MMACOSX_VERSION_MIN_SPEC
#define DWARF2_DEBUGGING_INFO 1
#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
-#ifdef HAVE_AS_STABS_DIRECTIVE
-#define DBX_DEBUGGING_INFO 1
-#endif
-
#define DEBUG_FRAME_SECTION "__DWARF,__debug_frame,regular,debug"
#define DEBUG_INFO_SECTION "__DWARF,__debug_info,regular,debug"
#define DEBUG_ABBREV_SECTION "__DWARF,__debug_abbrev,regular,debug"
@@ -639,18 +628,6 @@ ASM_OPTIONS ASM_MMACOSX_VERSION_MIN_SPEC
? "__DWARF,__debug_gnu_pubt,regular,debug" \
: "__DWARF,__debug_pubtypes,regular,debug")
-/* When generating stabs debugging, use N_BINCL entries. */
-
-#define DBX_USE_BINCL
-
-/* There is no limit to the length of stabs strings. */
-
-#define DBX_CONTIN_LENGTH 0
-
-/* gdb needs a null N_SO at the end of each file for scattered loading. */
-
-#define DBX_OUTPUT_NULL_N_SO_AT_MAIN_SOURCE_FILE_END
-
/* GCC's definition of 'one_only' is the same as its definition of 'weak'. */
#define MAKE_DECL_ONE_ONLY(DECL) (DECL_WEAK (DECL) = 1)
diff --git a/gcc/config/dbxcoff.h b/gcc/config/dbxcoff.h
deleted file mode 100644
index 02b78c6..0000000
--- a/gcc/config/dbxcoff.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/* Definitions needed when using stabs embedded in COFF sections.
- Copyright (C) 1996-2022 Free Software Foundation, Inc.
-
-This file is part of GCC.
-
-GCC is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 3, or (at your option)
-any later version.
-
-GCC is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GCC; see the file COPYING3. If not see
-<http://www.gnu.org/licenses/>. */
-
-/* This file may be included by any COFF target which wishes to
- support -gstabs generating stabs in sections, as produced by gas
- and understood by gdb. */
-
-/* Output DBX (stabs) debugging information if doing -gstabs. */
-
-#define DBX_DEBUGGING_INFO 1
-
-/* Be function-relative for block and source line stab directives. */
-
-#define DBX_BLOCKS_FUNCTION_RELATIVE 1
-
-/* but, to make this work, functions must appear prior to line info. */
-
-#define DBX_FUNCTION_FIRST
-
-/* Generate a blank trailing N_SO to mark the end of the .o file, since
- we can't depend upon the linker to mark .o file boundaries with
- embedded stabs. */
-
-#define DBX_OUTPUT_NULL_N_SO_AT_MAIN_SOURCE_FILE_END
-
-/* Like block addresses, stabs line numbers are relative to the
- current function. */
-
-#define DBX_LINES_FUNCTION_RELATIVE 1
-
-/* When generating stabs debugging, use N_BINCL entries. */
-
-#undef DBX_USE_BINCL
-#define DBX_USE_BINCL
-
-/* There is no limit to the length of stabs strings. */
-
-#ifndef DBX_CONTIN_LENGTH
-#define DBX_CONTIN_LENGTH 0
-#endif
diff --git a/gcc/config/dbxelf.h b/gcc/config/dbxelf.h
deleted file mode 100644
index 4b90e95..0000000
--- a/gcc/config/dbxelf.h
+++ /dev/null
@@ -1,68 +0,0 @@
-/* Definitions needed when using stabs embedded in ELF sections.
- Copyright (C) 1999-2022 Free Software Foundation, Inc.
-
-This file is part of GCC.
-
-GCC is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 3, or (at your option)
-any later version.
-
-GCC is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-Under Section 7 of GPL version 3, you are granted additional
-permissions described in the GCC Runtime Library Exception, version
-3.1, as published by the Free Software Foundation.
-
-You should have received a copy of the GNU General Public License and
-a copy of the GCC Runtime Library Exception along with this program;
-see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
-<http://www.gnu.org/licenses/>. */
-
-/* This file may be included by any ELF target which wishes to
- support -gstabs generating stabs in sections, as produced by gas
- and understood by gdb. */
-
-#ifndef GCC_DBX_ELF_H
-#define GCC_DBX_ELF_H
-
-/* Output DBX (stabs) debugging information if doing -gstabs. */
-
-#define DBX_DEBUGGING_INFO 1
-
-/* Make LBRAC and RBRAC addresses relative to the start of the
- function. The native Solaris stabs debugging format works this
- way, gdb expects it, and it reduces the number of relocation
- entries... */
-
-#define DBX_BLOCKS_FUNCTION_RELATIVE 1
-
-/* ... but, to make this work, functions must appear prior to line info. */
-
-#define DBX_FUNCTION_FIRST
-
-/* When generating stabs debugging, use N_BINCL entries. */
-
-#define DBX_USE_BINCL
-
-/* There is no limit to the length of stabs strings. */
-
-#ifndef DBX_CONTIN_LENGTH
-#define DBX_CONTIN_LENGTH 0
-#endif
-
-/* Like block addresses, stabs line numbers are relative to the
- current function. */
-
-#define DBX_LINES_FUNCTION_RELATIVE 1
-
-/* Generate a blank trailing N_SO to mark the end of the .o file, since
- we can't depend upon the linker to mark .o file boundaries with
- embedded stabs. */
-
-#define DBX_OUTPUT_NULL_N_SO_AT_MAIN_SOURCE_FILE_END
-
-#endif /* ! GCC_DBX_ELF_H */
diff --git a/gcc/config/epiphany/epiphany.h b/gcc/config/epiphany/epiphany.h
index 8c723845a..7c6a7f3 100644
--- a/gcc/config/epiphany/epiphany.h
+++ b/gcc/config/epiphany/epiphany.h
@@ -795,14 +795,9 @@ do \
/* Debugging information. */
-/* Generate DBX and DWARF debugging information. */
-#define DBX_DEBUGGING_INFO 1
-
+/* Generate DWARF debugging information. */
#undef PREFERRED_DEBUGGING_TYPE
#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
-
-/* Turn off splitting of long stabs. */
-#define DBX_CONTIN_LENGTH 0
/* Miscellaneous. */
diff --git a/gcc/config/i386/bsd.h b/gcc/config/i386/bsd.h
index d19ad27..98d2810 100644
--- a/gcc/config/i386/bsd.h
+++ b/gcc/config/i386/bsd.h
@@ -91,9 +91,3 @@ along with GCC; see the file COPYING3. If not see
/* The prefix to add to user-visible assembler symbols. */
#define USER_LABEL_PREFIX "_"
-
-/* Sequent has some changes in the format of DBX symbols. */
-#define DBX_NO_XREFS 1
-
-/* Don't split DBX symbols into continuations. */
-#define DBX_CONTIN_LENGTH 0
diff --git a/gcc/config/i386/gas.h b/gcc/config/i386/gas.h
index 3bac8eb..e0ffc75 100644
--- a/gcc/config/i386/gas.h
+++ b/gcc/config/i386/gas.h
@@ -36,10 +36,6 @@ along with GCC; see the file COPYING3. If not see
* people who want both form will have to compile twice.
*/
-/* these come from i386/bsd.h, but are specific to sequent */
-#undef DBX_NO_XREFS
-#undef DBX_CONTIN_LENGTH
-
/* Output #ident as a .ident. */
#undef TARGET_ASM_OUTPUT_IDENT
diff --git a/gcc/config/ia64/ia64.h b/gcc/config/ia64/ia64.h
index bd0ef35e..6964662 100644
--- a/gcc/config/ia64/ia64.h
+++ b/gcc/config/ia64/ia64.h
@@ -1426,8 +1426,6 @@ do { \
/* Specific Options for DBX Output. */
-/* This is handled by dbxelf.h. */
-
/* Open ended Hooks for DBX Output. */
diff --git a/gcc/config/ia64/sysv4.h b/gcc/config/ia64/sysv4.h
index 045752a..046c511 100644
--- a/gcc/config/ia64/sysv4.h
+++ b/gcc/config/ia64/sysv4.h
@@ -30,9 +30,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#undef PREFERRED_DEBUGGING_TYPE
#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
-/* Stabs does not work properly for 64-bit targets. */
-#undef DBX_DEBUGGING_INFO
-
/* Various pseudo-ops for which the Intel assembler uses non-standard
definitions. */
diff --git a/gcc/config/m68k/linux.h b/gcc/config/m68k/linux.h
index 05661bf..0c66c91 100644
--- a/gcc/config/m68k/linux.h
+++ b/gcc/config/m68k/linux.h
@@ -146,10 +146,6 @@ along with GCC; see the file COPYING3. If not see
fprintf (FILE, "\tjbsr _mcount\n"); \
}
-/* Do not break .stabs pseudos into continuations. */
-
-#define DBX_CONTIN_LENGTH 0
-
/* 1 if N is a possible register number for a function value. For
m68k/SVR4 allow d0, a0, or fp0 as return registers, for integral,
pointer, or floating types, respectively. Reject fp0 if not using
diff --git a/gcc/config/m68k/openbsd.h b/gcc/config/m68k/openbsd.h
index 63c57fd..ab99817 100644
--- a/gcc/config/m68k/openbsd.h
+++ b/gcc/config/m68k/openbsd.h
@@ -60,18 +60,6 @@ along with GCC; see the file COPYING3. If not see
/* Every structure or union's size must be a multiple of 2 bytes. */
#define STRUCTURE_SIZE_BOUNDARY 16
-/* Specific options for DBX Output. */
-
-/* This is BSD, so it wants DBX format. */
-#define DBX_DEBUGGING_INFO 1
-
-/* Do not break .stabs pseudos into continuations. */
-#define DBX_CONTIN_LENGTH 0
-
-/* This is the char to use for continuation (in case we need to turn
- continuation back on). */
-#define DBX_CONTIN_CHAR '?'
-
/* Stack & calling: aggregate returns. */
/* ??? This is traditional, but quite possibly wrong. It appears to
diff --git a/gcc/config/mips/mips.cc b/gcc/config/mips/mips.cc
index e81a245..4772495 100644
--- a/gcc/config/mips/mips.cc
+++ b/gcc/config/mips/mips.cc
@@ -445,7 +445,6 @@ int num_source_filenames;
const char *current_function_file = "";
/* Arrays that map GCC register numbers to debugger register numbers. */
-int mips_dbx_regno[FIRST_PSEUDO_REGISTER];
int mips_dwarf_regno[FIRST_PSEUDO_REGISTER];
/* Information about the current function's epilogue, used only while
@@ -9595,10 +9594,6 @@ mips_output_filename (FILE *stream, const char *name)
output_quoted_string (stream, name);
putc ('\n', stream);
}
- /* If we are emitting stabs, let dbxout.cc handle this (except for
- the mips_output_filename_first_time case). */
- else if (write_symbols == DBX_DEBUG)
- return;
else if (name != current_function_file
&& strcmp (name, current_function_file) != 0)
{
@@ -20505,24 +20500,13 @@ mips_option_override (void)
for (i = 0; i < FIRST_PSEUDO_REGISTER; i++)
{
- mips_dbx_regno[i] = IGNORED_DWARF_REGNUM;
if (GP_REG_P (i) || FP_REG_P (i) || ALL_COP_REG_P (i))
mips_dwarf_regno[i] = i;
else
mips_dwarf_regno[i] = INVALID_REGNUM;
}
- start = GP_DBX_FIRST - GP_REG_FIRST;
- for (i = GP_REG_FIRST; i <= GP_REG_LAST; i++)
- mips_dbx_regno[i] = i + start;
-
- start = FP_DBX_FIRST - FP_REG_FIRST;
- for (i = FP_REG_FIRST; i <= FP_REG_LAST; i++)
- mips_dbx_regno[i] = i + start;
-
/* Accumulator debug registers use big-endian ordering. */
- mips_dbx_regno[HI_REGNUM] = MD_DBX_FIRST + 0;
- mips_dbx_regno[LO_REGNUM] = MD_DBX_FIRST + 1;
mips_dwarf_regno[HI_REGNUM] = MD_REG_FIRST + 0;
mips_dwarf_regno[LO_REGNUM] = MD_REG_FIRST + 1;
for (i = DSP_ACC_REG_FIRST; i <= DSP_ACC_REG_LAST; i += 2)
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index 0029864..85ea24c 100644
--- a/gcc/config/mips/mips.h
+++ b/gcc/config/mips/mips.h
@@ -1384,9 +1384,7 @@ struct mips_cpu_info {
#ifndef SUBTARGET_ASM_DEBUGGING_SPEC
#define SUBTARGET_ASM_DEBUGGING_SPEC "\
%{g} %{g0} %{g1} %{g2} %{g3} \
-%{ggdb:-g} %{ggdb0:-g0} %{ggdb1:-g1} %{ggdb2:-g2} %{ggdb3:-g3} \
-%{gstabs:-g} %{gstabs0:-g0} %{gstabs1:-g1} %{gstabs2:-g2} %{gstabs3:-g3} \
-%{gstabs+:-g} %{gstabs+0:-g0} %{gstabs+1:-g1} %{gstabs+2:-g2} %{gstabs+3:-g3}"
+%{ggdb:-g} %{ggdb0:-g0} %{ggdb1:-g1} %{ggdb2:-g2} %{ggdb3:-g3}"
#endif
/* FP_ASM_SPEC represents the floating-point options that must be passed
@@ -1508,7 +1506,6 @@ FP_ASM_SPEC "\
#define SUBTARGET_EXTRA_SPECS
#endif
-#define DBX_DEBUGGING_INFO 1 /* generate stabs (OSF/rose) */
#define DWARF2_DEBUGGING_INFO 1 /* dwarf2 debugging info */
#ifndef PREFERRED_DEBUGGING_TYPE
@@ -1548,14 +1545,6 @@ FP_ASM_SPEC "\
#define USER_LABEL_PREFIX ""
#endif
-/* On Sun 4, this limit is 2048. We use 1500 to be safe,
- since the length can run past this up to a continuation point. */
-#undef DBX_CONTIN_LENGTH
-#define DBX_CONTIN_LENGTH 1500
-
-/* How to renumber registers for dbx and gdb. */
-#define DBX_REGISTER_NUMBER(REGNO) mips_dbx_regno[REGNO]
-
/* The mapping from gcc register number to DWARF 2 CFA column number. */
#define DWARF_FRAME_REGNUM(REGNO) mips_dwarf_regno[REGNO]
@@ -1869,7 +1858,6 @@ FP_ASM_SPEC "\
#define GP_REG_FIRST 0
#define GP_REG_LAST 31
#define GP_REG_NUM (GP_REG_LAST - GP_REG_FIRST + 1)
-#define GP_DBX_FIRST 0
#define K0_REG_NUM (GP_REG_FIRST + 26)
#define K1_REG_NUM (GP_REG_FIRST + 27)
#define KERNEL_REG_P(REGNO) (IN_RANGE (REGNO, K0_REG_NUM, K1_REG_NUM))
@@ -1877,12 +1865,10 @@ FP_ASM_SPEC "\
#define FP_REG_FIRST 32
#define FP_REG_LAST 63
#define FP_REG_NUM (FP_REG_LAST - FP_REG_FIRST + 1)
-#define FP_DBX_FIRST ((write_symbols == DBX_DEBUG) ? 38 : 32)
#define MD_REG_FIRST 64
#define MD_REG_LAST 65
#define MD_REG_NUM (MD_REG_LAST - MD_REG_FIRST + 1)
-#define MD_DBX_FIRST (FP_DBX_FIRST + FP_REG_NUM)
#define MSA_REG_FIRST FP_REG_FIRST
#define MSA_REG_LAST FP_REG_LAST
@@ -3221,7 +3207,6 @@ extern int num_source_filenames; /* current .file # */
extern struct mips_asm_switch mips_noreorder;
extern struct mips_asm_switch mips_nomacro;
extern struct mips_asm_switch mips_noat;
-extern int mips_dbx_regno[];
extern int mips_dwarf_regno[];
extern bool mips_split_p[];
extern bool mips_split_hi_p[];
diff --git a/gcc/config/nvptx/nvptx.cc b/gcc/config/nvptx/nvptx.cc
index e4297e2..3634a49 100644
--- a/gcc/config/nvptx/nvptx.cc
+++ b/gcc/config/nvptx/nvptx.cc
@@ -52,7 +52,6 @@
#include "tm-preds.h"
#include "tm-constrs.h"
#include "langhooks.h"
-#include "dbxout.h"
#include "cfgrtl.h"
#include "gimple.h"
#include "stor-layout.h"
diff --git a/gcc/config/openbsd.h b/gcc/config/openbsd.h
index 54be222..aa90ef7 100644
--- a/gcc/config/openbsd.h
+++ b/gcc/config/openbsd.h
@@ -151,17 +151,6 @@ while (0)
#define TARGET_LIBC_HAS_FUNCTION default_libc_has_function
-/* Runtime target specification. */
-
-/* Miscellaneous parameters. */
-
-/* Controlling debugging info: dbx options. */
-
-/* Don't use the `xsTAG;' construct in DBX output; OpenBSD systems that
- use DBX don't support it. */
-#define DBX_NO_XREFS
-
-
/* - we use . - _func instead of a local label,
- we put extra spaces in expressions such as
.type _func , @function
diff --git a/gcc/config/pa/pa-64.h b/gcc/config/pa/pa-64.h
index bf50576..5157b7f3 100644
--- a/gcc/config/pa/pa-64.h
+++ b/gcc/config/pa/pa-64.h
@@ -65,10 +65,6 @@ along with GCC; see the file COPYING3. If not see
#undef LONG_DOUBLE_TYPE_SIZE
#define LONG_DOUBLE_TYPE_SIZE 128
-/* Temporary until we figure out what to do with those *(&@$ 32bit
- relocs which appear in stabs. */
-#undef DBX_DEBUGGING_INFO
-
/* ?!? This needs to be made compile-time selectable.
The PA64 runtime model has arguments that grow to higher addresses
diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h
index 92d3d18..95787ab 100644
--- a/gcc/config/pa/pa.h
+++ b/gcc/config/pa/pa.h
@@ -130,8 +130,6 @@ extern unsigned long total_code_bytes;
and the old mnemonics are dialect zero. */
#define ASSEMBLER_DIALECT (TARGET_PA_20 ? 1 : 0)
-/* Override some settings from dbxelf.h. */
-
/* We do not have to be compatible with dbx, so we enable gdb extensions
by default. */
#define DEFAULT_GDB_EXTENSIONS 1
@@ -139,14 +137,6 @@ extern unsigned long total_code_bytes;
/* Select dwarf2 as the preferred debug format. */
#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
-/* This used to be zero (no max length), but big enums and such can
- cause huge strings which killed gas.
-
- We also have to avoid lossage in dbxout.cc -- it does not compute the
- string size accurately, so we are real conservative here. */
-#undef DBX_CONTIN_LENGTH
-#define DBX_CONTIN_LENGTH 3000
-
/* GDB always assumes the current function's frame begins at the value
of the stack pointer upon entry to the current function. Accessing
local variables and parameters passed on the stack is done using the
diff --git a/gcc/config/pa/som.h b/gcc/config/pa/som.h
index d2510e9..3efae0e 100644
--- a/gcc/config/pa/som.h
+++ b/gcc/config/pa/som.h
@@ -21,21 +21,6 @@ along with GCC; see the file COPYING3. If not see
#undef TARGET_SOM
#define TARGET_SOM 1
-/* With SOM we can only do STABS. */
-#undef PREFERRED_DEBUGGING_TYPE
-#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
-
-/* We do not use BINCL stabs in SOM.
- ??? If it does not hurt, we probably should to avoid useless divergence
- from other embedded stabs implementations. */
-#undef DBX_USE_BINCL
-
-#define DBX_LINES_FUNCTION_RELATIVE 1
-
-/* gdb needs a null N_SO at the end of each file for scattered loading. */
-
-#define DBX_OUTPUT_NULL_N_SO_AT_MAIN_SOURCE_FILE_END
-
/* HPUX has a program 'chatr' to list the dependencies of dynamically
linked executables and shared libraries. */
#define LDD_SUFFIX "chatr"
diff --git a/gcc/config/pdp11/pdp11.cc b/gcc/config/pdp11/pdp11.cc
index f7482df..3802234 100644
--- a/gcc/config/pdp11/pdp11.cc
+++ b/gcc/config/pdp11/pdp11.cc
@@ -44,7 +44,6 @@ along with GCC; see the file COPYING3. If not see
#include "calls.h"
#include "expr.h"
#include "builtins.h"
-#include "dbxout.h"
#include "explow.h"
#include "expmed.h"
diff --git a/gcc/config/pdp11/pdp11.h b/gcc/config/pdp11/pdp11.h
index b7d66c3..1fa52e8 100644
--- a/gcc/config/pdp11/pdp11.h
+++ b/gcc/config/pdp11/pdp11.h
@@ -51,12 +51,6 @@ along with GCC; see the file COPYING3. If not see
/* Generate DBX debugging information. */
-
-#define DBX_DEBUGGING_INFO
-
-#undef PREFERRED_DEBUGGING_TYPE
-#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
-
#define TARGET_40_PLUS (TARGET_40 || TARGET_45)
#define TARGET_10 (! TARGET_40_PLUS)
@@ -489,9 +483,6 @@ extern int current_first_parm_offset;
/* Nonzero if access to memory by byte is no faster than by word. */
#define SLOW_BYTE_ACCESS 1
-/* Do not break .stabs pseudos into continuations. */
-#define DBX_CONTIN_LENGTH 0
-
/* Give a comparison code (EQ, NE etc) and the first operand of a COMPARE,
return the mode to be used for the comparison. */
diff --git a/gcc/config/rs6000/rs6000-builtin.cc b/gcc/config/rs6000/rs6000-builtin.cc
index e6948b9..65b950d 100644
--- a/gcc/config/rs6000/rs6000-builtin.cc
+++ b/gcc/config/rs6000/rs6000-builtin.cc
@@ -51,9 +51,6 @@
#include "tree-ssa-propagate.h"
#include "builtins.h"
#include "tree-vector-builder.h"
-#if TARGET_XCOFF
-#include "xcoffout.h" /* get declarations of xcoff_*_section_name */
-#endif
#include "ppc-auxv.h"
#include "rs6000-internal.h"
diff --git a/gcc/config/rs6000/rs6000-call.cc b/gcc/config/rs6000/rs6000-call.cc
index 551968b..ac3cb7e 100644
--- a/gcc/config/rs6000/rs6000-call.cc
+++ b/gcc/config/rs6000/rs6000-call.cc
@@ -61,20 +61,12 @@
#include "tree-ssa-propagate.h"
#include "builtins.h"
#include "tree-vector-builder.h"
-#if TARGET_XCOFF
-#include "xcoffout.h" /* get declarations of xcoff_*_section_name */
-#endif
#include "ppc-auxv.h"
#include "targhooks.h"
#include "opts.h"
#include "rs6000-internal.h"
-#if TARGET_MACHO
-#include "gstab.h" /* for N_SLINE */
-#include "dbxout.h" /* dbxout_ */
-#endif
-
#ifndef TARGET_PROFILE_KERNEL
#define TARGET_PROFILE_KERNEL 0
#endif
diff --git a/gcc/config/rs6000/rs6000-logue.cc b/gcc/config/rs6000/rs6000-logue.cc
index 59fe1c8..ddd849e 100644
--- a/gcc/config/rs6000/rs6000-logue.cc
+++ b/gcc/config/rs6000/rs6000-logue.cc
@@ -47,10 +47,6 @@
#include "diagnostic-core.h"
#include "alias.h"
#include "rs6000-internal.h"
-#if TARGET_MACHO
-#include "gstab.h" /* for N_SLINE */
-#include "dbxout.h" /* dbxout_ */
-#endif
static int rs6000_ra_ever_killed (void);
static void is_altivec_return_reg (rtx, void *);
@@ -5144,10 +5140,6 @@ macho_branch_islands (void)
}
strcpy (tmp_buf, "\n");
strcat (tmp_buf, label);
-#if defined (DBX_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO)
- if (write_symbols == DBX_DEBUG || write_symbols == XCOFF_DEBUG)
- dbxout_stabd (N_SLINE, bi->line_number);
-#endif /* DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO */
if (flag_pic)
{
strcat (tmp_buf, ":\n\tmflr r0\n\tbcl 20,31,");
@@ -5181,10 +5173,6 @@ macho_branch_islands (void)
strcat (tmp_buf, ")\n\tmtctr r12\n\tbctr");
}
output_asm_insn (tmp_buf, 0);
-#if defined (DBX_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO)
- if (write_symbols == DBX_DEBUG || write_symbols == XCOFF_DEBUG)
- dbxout_stabd (N_SLINE, bi->line_number);
-#endif /* DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO */
branch_islands->pop ();
}
}
diff --git a/gcc/config/rs6000/rs6000.cc b/gcc/config/rs6000/rs6000.cc
index 937954b..fc67fab 100644
--- a/gcc/config/rs6000/rs6000.cc
+++ b/gcc/config/rs6000/rs6000.cc
@@ -75,9 +75,6 @@
#include "ipa-prop.h"
#include "ipa-fnsummary.h"
#include "except.h"
-#if TARGET_XCOFF
-#include "xcoffout.h" /* get declarations of xcoff_*_section_name */
-#endif
#include "case-cfn-macros.h"
#include "ppc-auxv.h"
#include "rs6000-internal.h"
@@ -3824,12 +3821,6 @@ rs6000_option_override_internal (bool global_init_p)
if (TARGET_DEBUG_REG || TARGET_DEBUG_TARGET)
rs6000_print_isa_options (stderr, 0, "before defaults", rs6000_isa_flags);
-#ifdef XCOFF_DEBUGGING_INFO
- /* For AIX default to 64-bit DWARF. */
- if (!OPTION_SET_P (dwarf_offset_size))
- dwarf_offset_size = POINTER_SIZE_UNITS;
-#endif
-
/* Handle explicit -mno-{altivec,vsx,power8-vector,power9-vector} and turn
off all of the options that depend on those flags. */
ignore_masks = rs6000_disable_incompatible_switches ();
@@ -20949,9 +20940,14 @@ rs6000_elf_file_end (void)
#if TARGET_XCOFF
-#ifndef HAVE_XCOFF_DWARF_EXTRAS
-#define HAVE_XCOFF_DWARF_EXTRAS 0
-#endif
+/* Names of bss and data sections. These should be unique names for each
+ compilation unit. */
+
+char *xcoff_bss_section_name;
+char *xcoff_private_data_section_name;
+char *xcoff_private_rodata_section_name;
+char *xcoff_tls_data_section_name;
+char *xcoff_read_only_section_name;
static enum unwind_info_type
rs6000_xcoff_debug_unwind_info (void)
@@ -21466,9 +21462,7 @@ rs6000_xcoff_declare_function_name (FILE *file, const char *name, tree decl)
&data, true);
if (!DECL_IGNORED_P (decl))
{
- if (write_symbols == DBX_DEBUG || write_symbols == XCOFF_DEBUG)
- xcoffout_declare_function (file, decl, buffer);
- else if (dwarf_debuginfo_p ())
+ if (dwarf_debuginfo_p ())
{
name = (*targetm.strip_name_encoding) (name);
fprintf (file, "\t.function .%s,.%s,2,0\n", name, name);
diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h
index 7e2519d..c8b7eb6 100644
--- a/gcc/config/rs6000/sysv4.h
+++ b/gcc/config/rs6000/sysv4.h
@@ -504,9 +504,6 @@ extern int fixuplabelno;
#undef PREFERRED_DEBUGGING_TYPE
#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
-/* Historically we have also supported stabs debugging. */
-#define DBX_DEBUGGING_INFO 1
-
#define TARGET_ENCODE_SECTION_INFO rs6000_elf_encode_section_info
#define TARGET_IN_SMALL_DATA_P rs6000_elf_in_small_data_p
@@ -515,11 +512,6 @@ extern int fixuplabelno;
#define RS6000_OUTPUT_BASENAME(FILE, NAME) \
assemble_name (FILE, NAME)
-/* We have to output the stabs for the function name *first*, before
- outputting its label. */
-
-#define DBX_FUNCTION_FIRST
-
/* This is the end of what might become sysv4dbx.h. */
#define TARGET_OS_SYSV_CPP_BUILTINS() \
diff --git a/gcc/config/rs6000/xcoff.h b/gcc/config/rs6000/xcoff.h
index cd0f99c..bafc57d 100644
--- a/gcc/config/rs6000/xcoff.h
+++ b/gcc/config/rs6000/xcoff.h
@@ -21,9 +21,6 @@
#define TARGET_OBJECT_FORMAT OBJECT_XCOFF
-/* The RS/6000 uses the XCOFF format. */
-#define XCOFF_DEBUGGING_INFO 1
-
/* Define if the object format being used is COFF or a superset. */
#define OBJECT_FORMAT_COFF
diff --git a/gcc/config/rx/rx.h b/gcc/config/rx/rx.h
index ce9c2ff..77f8403 100644
--- a/gcc/config/rx/rx.h
+++ b/gcc/config/rx/rx.h
@@ -623,7 +623,6 @@ typedef unsigned int CUMULATIVE_ARGS;
#undef PREFERRED_DEBUGGING_TYPE
#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
-#define DBX_DEBUGGING_INFO 1
#define DWARF2_DEBUGGING_INFO 1
#define INCOMING_FRAME_SP_OFFSET 4
diff --git a/gcc/config/sh/elf.h b/gcc/config/sh/elf.h
index afb3bc3..f0fd19f 100644
--- a/gcc/config/sh/elf.h
+++ b/gcc/config/sh/elf.h
@@ -67,9 +67,6 @@ along with GCC; see the file COPYING3. If not see
#define ASM_GENERATE_INTERNAL_LABEL(STRING, PREFIX, NUM) \
sprintf ((STRING), "*%s%s%ld", LOCAL_LABEL_PREFIX, (PREFIX), (long)(NUM))
-#define DBX_LINES_FUNCTION_RELATIVE 1
-#define DBX_OUTPUT_NULL_N_SO_AT_MAIN_SOURCE_FILE_END
-
#undef STARTFILE_SPEC
#define STARTFILE_SPEC \
"%{!shared: crt1.o%s} crti.o%s \
diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h
index e22c70c..fc70330 100644
--- a/gcc/config/sol2.h
+++ b/gcc/config/sol2.h
@@ -498,11 +498,7 @@ along with GCC; see the file COPYING3. If not see
#define AS_NEEDS_DASH_FOR_PIPED_INPUT
-/* The Solaris assembler cannot grok .stabd directives. */
-#undef NO_DBX_BNSYM_ENSYM
-#define NO_DBX_BNSYM_ENSYM 1
#endif
-
/* Solaris has an implementation of __enable_execute_stack. */
#define HAVE_ENABLE_EXECUTE_STACK
diff --git a/gcc/config/sparc/freebsd.h b/gcc/config/sparc/freebsd.h
index 98319c5..73850a3 100644
--- a/gcc/config/sparc/freebsd.h
+++ b/gcc/config/sparc/freebsd.h
@@ -109,12 +109,6 @@ along with GCC; see the file COPYING3. If not see
/************************[ Debugger stuff ]*********************************/
-/* This is the char to use for continuation (in case we need to turn
- continuation back on). */
-
-#undef DBX_CONTIN_CHAR
-#define DBX_CONTIN_CHAR '?'
-
/* DWARF bits. */
/* Follow Irix 6 and not the Dwarf2 draft in using 64-bit offsets.
diff --git a/gcc/config/sparc/netbsd-elf.h b/gcc/config/sparc/netbsd-elf.h
index af194df..bee71fc 100644
--- a/gcc/config/sparc/netbsd-elf.h
+++ b/gcc/config/sparc/netbsd-elf.h
@@ -46,11 +46,6 @@ along with GCC; see the file COPYING3. If not see
#undef PTRDIFF_TYPE
#define PTRDIFF_TYPE "long int"
-/* This is the char to use for continuation (in case we need to turn
- continuation back on). */
-#undef DBX_CONTIN_CHAR
-#define DBX_CONTIN_CHAR '?'
-
#undef LOCAL_LABEL_PREFIX
#define LOCAL_LABEL_PREFIX "."
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h
index 2e17fca..9873403 100644
--- a/gcc/config/sparc/sparc.h
+++ b/gcc/config/sparc/sparc.h
@@ -1510,14 +1510,6 @@ do { \
#define ADDITIONAL_REGISTER_NAMES \
{{"ccr", SPARC_ICC_REG}, {"cc", SPARC_ICC_REG}}
-/* On Sun 4, this limit is 2048. We use 1000 to be safe, since the length
- can run past this up to a continuation point. Once we used 1500, but
- a single entry in C++ can run more than 500 bytes, due to the length of
- mangled symbol names. dbxout.cc should really be fixed to do
- continuations when they are actually needed instead of trying to
- guess... */
-#define DBX_CONTIN_LENGTH 1000
-
/* This is how to output a command to make the user-level label named NAME
defined for reference from other files. */
diff --git a/gcc/config/vax/vax.cc b/gcc/config/vax/vax.cc
index f44e23d..28c1af5 100644
--- a/gcc/config/vax/vax.cc
+++ b/gcc/config/vax/vax.cc
@@ -247,9 +247,6 @@ static void
vax_file_start (void)
{
default_file_start ();
-
- if (write_symbols == DBX_DEBUG)
- fprintf (asm_out_file, "___vax_%c_doubles:\n", ASM_DOUBLE_CHAR);
}
/* We can use the BSD C library routines for the libgcc calls that are
diff --git a/gcc/config/vax/vax.h b/gcc/config/vax/vax.h
index 45c0e75..12c51e5 100644
--- a/gcc/config/vax/vax.h
+++ b/gcc/config/vax/vax.h
@@ -508,27 +508,6 @@ enum reg_class { NO_REGS, ALL_REGS, LIM_REG_CLASSES };
"r8", "r9", "r10", "r11", "ap", "fp", "sp", "pc", \
"psl" }
-/* This is BSD, so it wants DBX format. */
-
-#define DBX_DEBUGGING_INFO 1
-
-/* Do not break .stabs pseudos into continuations. */
-
-#define DBX_CONTIN_LENGTH 0
-
-/* This is the char to use for continuation (in case we need to turn
- continuation back on). */
-
-#define DBX_CONTIN_CHAR '?'
-
-/* Don't use the `xsfoo;' construct in DBX output; this system
- doesn't support it. */
-
-#define DBX_NO_XREFS
-
-/* Output the .stabs for a C `static' variable in the data section. */
-#define DBX_STATIC_STAB_DATA_SECTION
-
/* VAX specific: which type character is used for type double? */
#define ASM_DOUBLE_CHAR (TARGET_G_FLOAT ? 'g' : 'd')
diff --git a/gcc/config/vx-common.h b/gcc/config/vx-common.h
index aaae4f7..bc27684 100644
--- a/gcc/config/vx-common.h
+++ b/gcc/config/vx-common.h
@@ -94,8 +94,6 @@ along with GCC; see the file COPYING3. If not see
#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
/* None of these other formats is supported. */
-#undef DBX_DEBUGGING_INFO
-#undef XCOFF_DEBUGGING_INFO
#undef VMS_DEBUGGING_INFO
/* ------------------------ Misc configuration bits ---------------------- */