]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rename DBX_REGISTER_NUMBER to DEBUGGER_REGNO
authorMartin Liska <mliska@suse.cz>
Thu, 25 Aug 2022 07:05:47 +0000 (09:05 +0200)
committerMartin Liska <mliska@suse.cz>
Mon, 5 Sep 2022 08:43:31 +0000 (10:43 +0200)
gcc/ada/ChangeLog:

* sigtramp-vxworks-target.h: Rename DBX_REGISTER_NUMBER to
  DEBUGGER_REGNO.

gcc/ChangeLog:

* config/aarch64/aarch64-protos.h (aarch64_dbx_regno):
Rename DBX_REGISTER_NUMBER to DEBUGGER_REGNO.
(aarch64_debugger_regno): Likewise.
* config/aarch64/aarch64.cc (aarch64_dbx_regno): Likewise.
(aarch64_debugger_regno): Likewise.
* config/aarch64/aarch64.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
(DWARF_FRAME_REGNUM): Likewise.
* config/alpha/alpha.h (DWARF_FRAME_REGNUM): Likewise.
* config/arc/arc.cc (arc_init_reg_tables): Likewise.
* config/arc/arc.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/arm/arm-protos.h (arm_dbx_regno): Likewise.
(arm_debugger_regno): Likewise.
* config/arm/arm.cc (arm_dbx_regno): Likewise.
(arm_debugger_regno): Likewise.
* config/arm/arm.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/bfin/bfin.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/c6x/c6x.cc: Likewise.
* config/c6x/c6x.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/cris/cris.h (enum reg_class): Likewise.
(DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/csky/csky.cc (enum reg_class): Likewise.
* config/csky/csky.h (DWARF_FRAME_REGNUM): Likewise.
(DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/frv/frv.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/gcn/gcn-hsa.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/gcn/gcn.cc (print_operand): Likewise.
* config/i386/bsd.h (ASM_QUAD): Likewise.
* config/i386/cygming.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
(DWARF_FRAME_REGNUM): Likewise.
* config/i386/darwin.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/i386/djgpp.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/i386/dragonfly.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/i386/freebsd.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/i386/gas.h: Likewise.
* config/i386/gnu-user.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/i386/i386.cc (enum reg_class): Likewise.
* config/i386/i386.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/i386/i386elf.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/i386/iamcu.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/i386/lynx.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/i386/netbsd-elf.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/i386/nto.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/i386/openbsdelf.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/i386/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/i386/vxworks.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/i386/x86-64.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/ia64/ia64-protos.h (ia64_dbx_regno): Likewise.
(ia64_debugger_regno): Likewise.
* config/ia64/ia64.cc (ia64_output_function_prologue): Likewise.
(ia64_dbx_regno): Likewise.
(ia64_debugger_regno): Likewise.
(process_cfa_adjust_cfa): Likewise.
(process_cfa_register): Likewise.
(ia64_asm_unwind_emit): Likewise.
* config/ia64/ia64.h: Likewise.
* config/ia64/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/lm32/lm32.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/m32c/m32c.cc (m32c_eh_return_stackadj_rtx): Likewise.
* config/m32c/m32c.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/m68k/linux.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/m68k/m68k.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
(__transfer_from_trampoline): Likewise.
* config/m68k/m68kelf.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/m68k/netbsd-elf.h (M68K_STATIC_CHAIN_REG_NAME): Likewise.
(DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/microblaze/microblaze.cc (microblaze_option_override): Likewise.
* config/microblaze/microblaze.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
(GP_DBX_FIRST): Likewise.
(GP_DEBUGGER_FIRST): Likewise.
* config/mips/vxworks.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/mmix/mmix-protos.h (mmix_dbx_regno): Likewise.
(mmix_debugger_regno): Likewise.
* config/mmix/mmix.cc (mmix_dbx_regno): Likewise.
(mmix_debugger_regno): Likewise.
* config/mmix/mmix.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/nds32/nds32-protos.h (nds32_dbx_regno): Likewise.
(nds32_debugger_regno): Likewise.
* config/nds32/nds32.cc (nds32_dbx_regno): Likewise.
(nds32_debugger_regno): Likewise.
(nds32_use_blocks_for_constant_p): Likewise.
* config/nds32/nds32.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/nvptx/nvptx.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/or1k/or1k.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/pa/pa32-regs.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/pa/pa64-regs.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/rs6000/rs6000-protos.h (rs6000_dbx_regno): Likewise.
(rs6000_debugger_regno): Likewise.
* config/rs6000/rs6000.cc (rs6000_dbx_regno): Likewise.
(rs6000_debugger_regno): Likewise.
* config/rs6000/rs6000.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
(DWARF2_FRAME_REG_OUT): Likewise.
* config/s390/s390.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/sh/linux.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/sh/sh.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
(SH_DBX_REGISTER_NUMBER): Likewise.
(SH_DEBUGGER_REGNO): Likewise.
* config/visium/visium.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/xtensa/elf.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/xtensa/linux.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/xtensa/uclinux.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* config/xtensa/xtensa-protos.h (xtensa_dbx_regno): Likewise.
(xtensa_debugger_regno): Likewise.
* config/xtensa/xtensa.cc (xtensa_dbx_regno): Likewise.
(xtensa_debugger_regno): Likewise.
* config/xtensa/xtensa.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
* defaults.h (DBX_REGISTER_NUMBER): Likewise.
(DEBUGGER_REGNO): Likewise.
(DWARF_FRAME_REGNUM): Likewise.
* doc/tm.texi: Likewise.
* doc/tm.texi.in: Likewise.
* dwarf2out.cc (dbx_reg_number): Likewise.
(debugger_reg_number): Likewise.
(reg_loc_descriptor): Likewise.
(multiple_reg_loc_descriptor): Likewise.
(mem_loc_descriptor): Likewise.
* except.cc: Likewise.

81 files changed:
gcc/ada/sigtramp-vxworks-target.h
gcc/config/aarch64/aarch64-protos.h
gcc/config/aarch64/aarch64.cc
gcc/config/aarch64/aarch64.h
gcc/config/alpha/alpha.h
gcc/config/arc/arc.cc
gcc/config/arc/arc.h
gcc/config/arm/arm-protos.h
gcc/config/arm/arm.cc
gcc/config/arm/arm.h
gcc/config/bfin/bfin.h
gcc/config/c6x/c6x.cc
gcc/config/c6x/c6x.h
gcc/config/cris/cris.h
gcc/config/csky/csky.cc
gcc/config/csky/csky.h
gcc/config/frv/frv.h
gcc/config/gcn/gcn-hsa.h
gcc/config/gcn/gcn.cc
gcc/config/i386/bsd.h
gcc/config/i386/cygming.h
gcc/config/i386/darwin.h
gcc/config/i386/djgpp.h
gcc/config/i386/dragonfly.h
gcc/config/i386/freebsd.h
gcc/config/i386/gas.h
gcc/config/i386/gnu-user.h
gcc/config/i386/i386.cc
gcc/config/i386/i386.h
gcc/config/i386/i386elf.h
gcc/config/i386/iamcu.h
gcc/config/i386/lynx.h
gcc/config/i386/netbsd-elf.h
gcc/config/i386/nto.h
gcc/config/i386/openbsdelf.h
gcc/config/i386/sysv4.h
gcc/config/i386/vxworks.h
gcc/config/i386/x86-64.h
gcc/config/ia64/ia64-protos.h
gcc/config/ia64/ia64.cc
gcc/config/ia64/ia64.h
gcc/config/ia64/sysv4.h
gcc/config/lm32/lm32.h
gcc/config/m32c/m32c.cc
gcc/config/m32c/m32c.h
gcc/config/m68k/linux.h
gcc/config/m68k/m68k.h
gcc/config/m68k/m68kelf.h
gcc/config/m68k/netbsd-elf.h
gcc/config/microblaze/microblaze.cc
gcc/config/microblaze/microblaze.h
gcc/config/mips/vxworks.h
gcc/config/mmix/mmix-protos.h
gcc/config/mmix/mmix.cc
gcc/config/mmix/mmix.h
gcc/config/nds32/nds32-protos.h
gcc/config/nds32/nds32.cc
gcc/config/nds32/nds32.h
gcc/config/nvptx/nvptx.h
gcc/config/or1k/or1k.h
gcc/config/pa/pa32-regs.h
gcc/config/pa/pa64-regs.h
gcc/config/rs6000/rs6000-protos.h
gcc/config/rs6000/rs6000.cc
gcc/config/rs6000/rs6000.h
gcc/config/s390/s390.h
gcc/config/sh/elf.h
gcc/config/sh/linux.h
gcc/config/sh/sh.h
gcc/config/visium/visium.h
gcc/config/xtensa/elf.h
gcc/config/xtensa/linux.h
gcc/config/xtensa/uclinux.h
gcc/config/xtensa/xtensa-protos.h
gcc/config/xtensa/xtensa.cc
gcc/config/xtensa/xtensa.h
gcc/defaults.h
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/dwarf2out.cc
gcc/except.cc

index 153426eeda81462892755994235b6423195a1e0e..3c85aa206f2b09a0759812797049074d21438a1c 100644 (file)
 
    In general:
    There is no unique numbering for the x86 architecture.  It's parameterized
-   by DWARF_FRAME_REGNUM, which is DBX_REGISTER_NUMBER except for Windows, and
+   by DWARF_FRAME_REGNUM, which is DEBUGGER_REGNO except for Windows, and
    the latter depends on the platform.
 */
 
index 0bb4c9b0e2834689db67a1911a70fa7ae5aefc59..99af10ad534b6f9ab281c73cb6cca82ed0f3139a 100644 (file)
@@ -878,7 +878,7 @@ rtx aarch64_simd_vect_par_cnst_half (machine_mode, int, bool);
 rtx aarch64_gen_stepped_int_parallel (unsigned int, int, int);
 bool aarch64_stepped_int_parallel_p (rtx, int);
 rtx aarch64_tls_get_addr (void);
-unsigned aarch64_dbx_register_number (unsigned);
+unsigned aarch64_debugger_regno (unsigned);
 unsigned aarch64_trampoline_size (void);
 void aarch64_asm_output_labelref (FILE *, const char *);
 void aarch64_cpu_cpp_builtins (cpp_reader *);
index f199e77cd4296cd3556641051072dabc9f5e51fa..b12f13f4f22ab1042a79f2540cd83f495c3f1fbc 100644 (file)
@@ -3357,7 +3357,7 @@ aarch64_reassociation_width (unsigned opc, machine_mode mode)
 
 /* Provide a mapping from gcc register numbers to dwarf register numbers.  */
 unsigned
-aarch64_dbx_register_number (unsigned regno)
+aarch64_debugger_regno (unsigned regno)
 {
    if (GP_REGNUM_P (regno))
      return AARCH64_DWARF_R0 + regno - R0_REGNUM;
index e6855c640353980d177200f6abae9d4d37fcc084..2eed6e8f6f05e748372257ff89d338d3777ddbbb 100644 (file)
 #define DWARF_FRAME_REGISTERS           (DWARF_ALT_FRAME_RETURN_COLUMN + 1)
 
 
-#define DBX_REGISTER_NUMBER(REGNO)     aarch64_dbx_register_number (REGNO)
+#define DEBUGGER_REGNO(REGNO)  aarch64_debugger_regno (REGNO)
 /* Provide a definition of DWARF_FRAME_REGNUM here so that fallback unwinders
    can use DWARF_ALT_FRAME_RETURN_COLUMN defined below.  This is just the same
    as the default definition in dwarf2out.cc.  */
 #undef DWARF_FRAME_REGNUM
-#define DWARF_FRAME_REGNUM(REGNO)      DBX_REGISTER_NUMBER (REGNO)
+#define DWARF_FRAME_REGNUM(REGNO)      DEBUGGER_REGNO (REGNO)
 
 #define DWARF_FRAME_RETURN_COLUMN      DWARF_FRAME_REGNUM (LR_REGNUM)
 
index c01353a3bf29ea16cf519994ea1b7596ed95a1a9..1f6d2caa093674b38a663bf59c8fc87a399ad1ce 100644 (file)
@@ -638,7 +638,7 @@ enum reg_class {
    can use DWARF_ALT_FRAME_RETURN_COLUMN defined below.  This is just the same
    as the default definition in dwarf2out.cc.  */
 #undef DWARF_FRAME_REGNUM
-#define DWARF_FRAME_REGNUM(REG) DBX_REGISTER_NUMBER (REG)
+#define DWARF_FRAME_REGNUM(REG) DEBUGGER_REGNO (REG)
 
 /* Before the prologue, RA lives in $26.  */
 #define INCOMING_RETURN_ADDR_RTX  gen_rtx_REG (Pmode, 26)
index 064790bf396c4959f6b3eb35274cfa053be99cc5..db4b56b23ff9fe8c4651fdc9b54418ada0f12cc9 100644 (file)
@@ -1885,7 +1885,7 @@ arc_init_reg_tables (void)
    Because mlo / mhi form a 64 bit value, we use different gcc internal
    register numbers to make them form a register pair as the gcc internals
    know it.  mmid gets number 57, if still available, and mlo / mhi get
-   number 58 and 59, depending on endianness.  We use DBX_REGISTER_NUMBER
+   number 58 and 59, depending on endianness.  We use DEBUGGER_REGNO
    to map this back.  */
   char rname56[5] = "r56";
   char rname57[5] = "r57";
index 0cb560b8a3894406c66bb450421d76ef4cf9f21f..0280b53ad924a98271ed22eb1c6d781c0e69444e 100644 (file)
@@ -1340,8 +1340,8 @@ do { \
 #undef PREFERRED_DEBUGGING_TYPE
 #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
 
-/* How to renumber registers for dbx and gdb.  */
-#define DBX_REGISTER_NUMBER(REGNO)                             \
+/* How to renumber registers for gdb.  */
+#define DEBUGGER_REGNO(REGNO)                          \
   ((TARGET_MULMAC_32BY16_SET && (REGNO) >= 56 && (REGNO) <= 57) \
    ? ((REGNO) ^ !TARGET_BIG_ENDIAN)                            \
    : (TARGET_MUL64_SET && (REGNO) >= 57 && (REGNO) <= 58)      \
index ee226559bfb1b9c4839a05d25c28cfbfd9d11656..550272facd12e60a49bf8a3b20f811cc13765b3a 100644 (file)
@@ -45,7 +45,7 @@ extern HOST_WIDE_INT arm_compute_initial_elimination_offset (unsigned int,
                                                             unsigned int);
 extern HOST_WIDE_INT thumb_compute_initial_elimination_offset (unsigned int,
                                                               unsigned int);
-extern unsigned int arm_dbx_register_number (unsigned int);
+extern unsigned int arm_debugger_regno (unsigned int);
 extern void arm_output_fn_unwind (FILE *, bool);
 
 extern rtx arm_expand_builtin (tree exp, rtx target, rtx subtarget
index eca99c904ba85b44b270fb3b279a1d6676066b83..1a375367ac72a51e9811ba89777a207da8ab6f2d 100644 (file)
@@ -29568,7 +29568,7 @@ arm_shift_truncation_mask (machine_mode mode)
 /* Map internal gcc register numbers to DWARF2 register numbers.  */
 
 unsigned int
-arm_dbx_register_number (unsigned int regno)
+arm_debugger_regno (unsigned int regno)
 {
   if (regno < 16)
     return regno;
index e15722b0be3b39f3f7b4a12be505f47548410075..984ab789285dd0bb8d648fda89053b24ada93698 100644 (file)
@@ -1058,7 +1058,7 @@ extern const int arm_arch_cde_coproc_bits[];
 /* VFP (VFP3) adds 32 (64) + 1 VFPCC.  */
 #define FIRST_PSEUDO_REGISTER   107
 
-#define DBX_REGISTER_NUMBER(REGNO) arm_dbx_register_number (REGNO)
+#define DEBUGGER_REGNO(REGNO) arm_debugger_regno (REGNO)
 
 /* Value should be nonzero if functions must have frame pointers.
    Zero means the frame pointer need not be set up (and parms may be accessed
index a442a81f90c3a1e0270396a9cc3722682ef6ade4..4e7753038a872f6ef4567558a4f62d3eed915d3f 100644 (file)
@@ -1094,8 +1094,8 @@ extern rtx bfin_cc_rtx, bfin_rets_rtx;
 /* This works for GAS and some other assemblers.  */
 #define SET_ASM_OP              ".set "
 
-/* DBX register number for a given compiler register number */
-#define DBX_REGISTER_NUMBER(REGNO)  (REGNO) 
+/* Debugger register number for a given compiler register number */
+#define DEBUGGER_REGNO(REGNO)  (REGNO) 
 
 #define SIZE_ASM_OP     "\t.size\t"
 
index dc01a6e47c44cf140791e40fce33c17aaf41df16..4baf30238a47d818f819e812bab61e0ffad7a58b 100644 (file)
@@ -195,7 +195,7 @@ typedef int unit_req_table[2][UNIT_REQ_MAX];
 static unit_req_table unit_reqs;
 \f
 /* Register map for debugging.  */
-unsigned const dbx_register_map[FIRST_PSEUDO_REGISTER] =
+unsigned const debugger_register_map[FIRST_PSEUDO_REGISTER] =
 {
   0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,        /* A0 - A15.  */
   37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,  /* A16 - A32.  */
index 766ce1e38e1dcfe98c5ebea69bdfabe69cd88b2f..88fc73d95c4c1fc21cfdcd15c5828f6f9c8d669c 100644 (file)
@@ -503,9 +503,9 @@ struct GTY(()) machine_function
     "B24", "B25", "B26", "B27", "B28", "B29", "B30", "B31",    \
     "FP", "ARGP", "ILC" }
 
-#define DBX_REGISTER_NUMBER(N) (dbx_register_map[(N)])
+#define DEBUGGER_REGNO(N) (debugger_register_map[(N)])
 
-extern unsigned const dbx_register_map[FIRST_PSEUDO_REGISTER];
+extern unsigned const debugger_register_map[FIRST_PSEUDO_REGISTER];
 
 #define FINAL_PRESCAN_INSN c6x_final_prescan_insn
 
index 6edfe13d92cc3644d9c7620acb36f5e9528b8d0f..16caa292b404aa472582ac58ebc5f30b3452ed74 100644 (file)
@@ -570,7 +570,7 @@ enum reg_class
    an inverse mapping from dwarf register to gcc register.  There is one
    need in dwarf2out.cc:expand_builtin_init_dwarf_reg_sizes.  Right now, I
    don't see that we need exact correspondence between DWARF *frame*
-   registers and DBX_REGISTER_NUMBER, so map them onto GCC registers.  */
+   registers and DEBUGGER_REGNO, so map them onto GCC registers.  */
 #define DWARF_FRAME_REGNUM(REG) (REG)
 
 /* Node: Stack Checking */
@@ -888,7 +888,7 @@ struct cum_args {int regs;};
 
 /* Node: All Debuggers */
 
-#define DBX_REGISTER_NUMBER(REGNO)                             \
+#define DEBUGGER_REGNO(REGNO)                          \
  ((REGNO) == CRIS_SRP_REGNUM ? CRIS_CANONICAL_SRP_REGNUM :     \
   (REGNO) == CRIS_MOF_REGNUM ? CRIS_CANONICAL_MOF_REGNUM :     \
   (REGNO) == CRIS_CC0_REGNUM ? CRIS_CANONICAL_CC0_REGNUM :     \
index e315e09a8fe97a4a91c778b7a1cc34d88289c8ba..a7dc6cefeadb4990f51f8f45b643d35987ec19fe 100644 (file)
@@ -172,7 +172,7 @@ enum reg_class regno_reg_class[FIRST_PSEUDO_REGISTER] =
 /* Arrays that map GCC register numbers to debugger register numbers,
    '-1' means that is INVALID_REGNUM.
    TODO: which rules according to here ?  */
-const int csky_dbx_regno[FIRST_PSEUDO_REGISTER] =
+const int csky_debugger_regno[FIRST_PSEUDO_REGISTER] =
 {
   0,  1,  2,  3,  4,  5,  6,  7,
   8,  9,  10, 11, 12, 13, 14, 15,
index 22b1151b7ea517401d9507dd793b1117d091ac8d..37410f0cda49644491130ac8112c8a72927744e4 100644 (file)
@@ -997,7 +997,7 @@ while (0)
    is different from that used in other debug info sections.
    Given a GCC hard register number,
    this macro should return the .eh_frame register number.*/
-#define DWARF_FRAME_REGNUM(REG)         DBX_REGISTER_NUMBER (REG)
+#define DWARF_FRAME_REGNUM(REG)         DEBUGGER_REGNO (REG)
 
 /* If INCOMING_RETURN_ADDR_RTX is defined & the RTL is REG,
    define DWARF_FRAME_RETURN_COLUMN to DWARF_FRAME_REGNUM.  */
@@ -1006,9 +1006,9 @@ while (0)
 /* Use r0 and r1 to pass exception handling information.  */
 #define EH_RETURN_DATA_REGNO(N) ((N) < 2 ? N : INVALID_REGNUM)
 
-/* How to renumber registers for dbx and gdb.  */
-extern const int csky_dbx_regno[];
-#define DBX_REGISTER_NUMBER(REGNO) ((unsigned int) csky_dbx_regno[REGNO])
+/* How to renumber registers for gdb.  */
+extern const int csky_debugger_regno[];
+#define DEBUGGER_REGNO(REGNO) ((unsigned int) csky_debugger_regno[REGNO])
 
 
 /******************************************************************
index 8cd67f75b090ea75eded5b93d99397cc8d86af98..ac5e00ce7778652c53fa861ced5f7df40bba3dec 100644 (file)
@@ -1737,24 +1737,24 @@ fprintf (STREAM, "\t.word .L%d\n", VALUE)
 \f
 /* Macros Affecting all Debug Formats.  */
 
-/* A C expression that returns the DBX register number for the compiler
+/* A C expression that returns the debugger register number for the compiler
    register number REGNO.  In simple cases, the value of this expression may be
    REGNO itself.  But sometimes there are some registers that the compiler
-   knows about and DBX does not, or vice versa.  In such cases, some register
-   may need to have one number in the compiler and another for DBX.
+   knows about and debugger does not, or vice versa.  In such cases, some register
+   may need to have one number in the compiler and another for debugger.
 
    If two registers have consecutive numbers inside GCC, and they can be
    used as a pair to hold a multiword value, then they *must* have consecutive
-   numbers after renumbering with `DBX_REGISTER_NUMBER'.  Otherwise, debuggers
+   numbers after renumbering with `DEBUGGER_REGNO'.  Otherwise, debuggers
    will be unable to access such a pair, because they expect register pairs to
    be consecutive in their own numbering scheme.
 
-   If you find yourself defining `DBX_REGISTER_NUMBER' in way that does not
+   If you find yourself defining `DEBUGGER_REGNO' in way that does not
    preserve register pairs, then what you must do instead is redefine the
    actual register numbering scheme.
 
    This declaration is required.  */
-#define DBX_REGISTER_NUMBER(REGNO) (REGNO)
+#define DEBUGGER_REGNO(REGNO) (REGNO)
 
 #undef  PREFERRED_DEBUGGING_TYPE
 #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
index b3079cebb430391cb0cff517c18c2391a61b082b..85f0f2d6f69c5a90ad02cef54d125cfe74b27030 100644 (file)
@@ -113,4 +113,4 @@ extern const char *last_arg_spec_function (int argc, const char **argv);
 #define DWARF2_DEBUGGING_INFO      1
 #define DWARF2_ASM_LINE_DEBUG_INFO 1
 #define EH_FRAME_THROUGH_COLLECT2  1
-#define DBX_REGISTER_NUMBER(REGNO) gcn_dwarf_register_number (REGNO)
+#define DEBUGGER_REGNO(REGNO) gcn_dwarf_register_number (REGNO)
index ceb690008079389c9ff3d13177aa1db246bb1c37..826675565120b2a6111c29defeab2e6f8c8f9bc0 100644 (file)
@@ -6510,7 +6510,7 @@ print_operand (FILE *file, rtx x, int code)
   gcc_unreachable ();
 }
 
-/* Implement DBX_REGISTER_NUMBER macro.
+/* Implement DEBUGGER_REGNO macro.
  
    Return the DWARF register number that corresponds to the GCC internal
    REGNO.  */
index 98d2810e975ff40e197608f90248f747ecb525be..817fb6edf91304cedff8fe67043d209907244117 100644 (file)
@@ -36,7 +36,7 @@ along with GCC; see the file COPYING3.  If not see
 #define ASM_LONG "\t.long\t"
 #define ASM_QUAD "\t.quad\t"  /* Should not be used for 32bit compilation.  */
 
-/* This was suggested, but it shouldn't be right for DBX output. -- RMS
+/* This was suggested, but it shouldn't be right for debugger output. -- RMS
    #define ASM_OUTPUT_SOURCE_FILENAME(FILE, NAME) */
 
 \f
index 45150458cc5c5fd465e75311484c9f626537063a..4007fd96eaca82c789e4b5b78a3cfa6f5a084c70 100644 (file)
@@ -72,19 +72,19 @@ along with GCC; see the file COPYING3.  If not see
 
 #endif
 
-#undef DBX_REGISTER_NUMBER
-#define DBX_REGISTER_NUMBER(n)                         \
-  (TARGET_64BIT ? dbx64_register_map[n]                        \
+#undef DEBUGGER_REGNO
+#define DEBUGGER_REGNO(n)                              \
+  (TARGET_64BIT ? debugger64_register_map[n]                   \
    : (dwarf_debuginfo_p ()                             \
-      ? svr4_dbx_register_map[n] : dbx_register_map[n]))
+      ? svr4_debugger_register_map[n] : debugger_register_map[n]))
 
 /* Map gcc register number to DWARF 2 CFA column number. For 32 bit
-   target, always use the svr4_dbx_register_map for DWARF .eh_frame
+   target, always use the svr4_debugger_register_map for DWARF .eh_frame
    even if we don't use DWARF .debug_frame. */
 #undef DWARF_FRAME_REGNUM
 #define DWARF_FRAME_REGNUM(n)                          \
-  (TARGET_64BIT ? dbx64_register_map[(n)]              \
-               : svr4_dbx_register_map[(n)])
+  (TARGET_64BIT ? debugger64_register_map[(n)]         \
+               : svr4_debugger_register_map[(n)])
 
 /* The 64-bit MS_ABI changes the set of call-used registers.  */
 #undef DWARF_FRAME_REGISTERS
index a55f6b2b8741b13de61067a78809614743deb0d8..5bcb7111114cfb01cb2aea2f2e88e22e469fe275 100644 (file)
@@ -237,11 +237,11 @@ along with GCC; see the file COPYING3.  If not see
 /* Darwin uses the standard DWARF register numbers but the default
    register numbers for STABS.  Fortunately for 64-bit code the
    default and the standard are the same.  */
-#undef DBX_REGISTER_NUMBER
-#define DBX_REGISTER_NUMBER(n)                                         \
-  (TARGET_64BIT ? dbx64_register_map[n]                                \
-   : dwarf_debuginfo_p () ? svr4_dbx_register_map[n]           \
-   : dbx_register_map[n])
+#undef DEBUGGER_REGNO
+#define DEBUGGER_REGNO(n)                                      \
+  (TARGET_64BIT ? debugger64_register_map[n]                           \
+   : dwarf_debuginfo_p () ? svr4_debugger_register_map[n]              \
+   : debugger_register_map[n])
 
 /* Unfortunately, the 32-bit EH information also doesn't use the standard
    DWARF register numbers.  */
index 909821e953be7291ef0ea16ecbea64f7fd02cda1..ede50b515af2bba8a6d0eb64c50fdda44bd12eb7 100644 (file)
@@ -128,8 +128,8 @@ along with GCC; see the file COPYING3.  If not see
 #undef PTRDIFF_TYPE
 #define PTRDIFF_TYPE "int"
 
-#undef DBX_REGISTER_NUMBER
-#define DBX_REGISTER_NUMBER(n) svr4_dbx_register_map[n]
+#undef DEBUGGER_REGNO
+#define DEBUGGER_REGNO(n) svr4_debugger_register_map[n]
 
 /* Default to pcc-struct-return.  */
 #define DEFAULT_PCC_STRUCT_RETURN 1
index 39bd280d2b86fce2084ff17b1b6bf9bc0f6b501c..bf8742e50829700bbc5bbf6011390c8786f3c256 100644 (file)
@@ -34,9 +34,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 #undef  ASM_APP_OFF
 #define ASM_APP_OFF "#NO_APP\n"
 
-#undef  DBX_REGISTER_NUMBER
-#define DBX_REGISTER_NUMBER(n) \
-  (TARGET_64BIT ? dbx64_register_map[n] : svr4_dbx_register_map[n])
+#undef  DEBUGGER_REGNO
+#define DEBUGGER_REGNO(n) \
+  (TARGET_64BIT ? debugger64_register_map[n] : svr4_debugger_register_map[n])
 
 #undef  NO_PROFILE_COUNTERS
 #define NO_PROFILE_COUNTERS    1
index 120e24c81f338b536a533bbe7faa626e576c7ad0..9ae89815c44410aae43ae850b1c2d43360c7ab50 100644 (file)
@@ -32,9 +32,9 @@ along with GCC; see the file COPYING3.  If not see
 #undef  ASM_APP_OFF
 #define ASM_APP_OFF "#NO_APP\n"
 
-#undef  DBX_REGISTER_NUMBER
-#define DBX_REGISTER_NUMBER(n) \
-  (TARGET_64BIT ? dbx64_register_map[n] : svr4_dbx_register_map[n])
+#undef  DEBUGGER_REGNO
+#define DEBUGGER_REGNO(n) \
+  (TARGET_64BIT ? debugger64_register_map[n] : svr4_debugger_register_map[n])
 
 #undef  NO_PROFILE_COUNTERS
 #define NO_PROFILE_COUNTERS    1
index e0ffc75dc6d0a2f96bc756fa02efa14098ff277e..317bc868b0aa8bf903c9e392443cb56aa66acfea 100644 (file)
@@ -31,7 +31,7 @@ along with GCC; see the file COPYING3.  If not see
  * Next is the question of whether to uses underscores.  RMS didn't
  * like this idea at first, but since it is now obvious that we
  * need this separate tm file for use with gas, at least to get
- * dbx debugging info, I think we should also switch to underscores.
+ * debugging info, I think we should also switch to underscores.
  * We can keep i386v for real att style output, and the few
  * people who want both form will have to compile twice.
  */
index 0102b2a6f3b75ea2bf1f2fec5b0da6fe5e340cfb..0f8154746da452a88b7ff53991f3ead94ab8415b 100644 (file)
@@ -26,9 +26,9 @@ along with GCC; see the file COPYING3.  If not see
 #undef ASM_COMMENT_START
 #define ASM_COMMENT_START "#"
 
-#undef DBX_REGISTER_NUMBER
-#define DBX_REGISTER_NUMBER(n) \
-  (TARGET_64BIT ? dbx64_register_map[n] : svr4_dbx_register_map[n])
+#undef DEBUGGER_REGNO
+#define DEBUGGER_REGNO(n) \
+  (TARGET_64BIT ? debugger64_register_map[n] : svr4_debugger_register_map[n])
 
 /* Output assembler code to FILE to call the profiler.
    To the best of my knowledge, no GNU userspace libc has required the label
index c4d0e36e9c0a2256f5dde1f4dc021c0328aa0cba..dadf453d6c0a46ee9f1ef59d355a0a9612f90854 100644 (file)
@@ -173,7 +173,7 @@ enum reg_class const regclass_map[FIRST_PSEUDO_REGISTER] =
 
 /* The "default" register map used in 32bit mode.  */
 
-int const dbx_register_map[FIRST_PSEUDO_REGISTER] =
+int const debugger_register_map[FIRST_PSEUDO_REGISTER] =
 {
   /* general regs */
   0, 2, 1, 3, 6, 7, 4, 5,
@@ -204,7 +204,7 @@ int const dbx_register_map[FIRST_PSEUDO_REGISTER] =
 
 /* The "default" register map used in 64bit mode.  */
 
-int const dbx64_register_map[FIRST_PSEUDO_REGISTER] =
+int const debugger64_register_map[FIRST_PSEUDO_REGISTER] =
 {
   /* general regs */
   0, 1, 2, 3, 4, 5, 6, 7,
@@ -283,7 +283,7 @@ int const dbx64_register_map[FIRST_PSEUDO_REGISTER] =
        17 for %st(6) (gcc regno = 14)
        18 for %st(7) (gcc regno = 15)
 */
-int const svr4_dbx_register_map[FIRST_PSEUDO_REGISTER] =
+int const svr4_debugger_register_map[FIRST_PSEUDO_REGISTER] =
 {
   /* general regs */
   0, 2, 1, 3, 6, 7, 5, 4,
index 716bacef5f9f15c6e37a7786cae138ef54fff784..900a3bc3673c268d57cae96b3624965c3450134d 100644 (file)
@@ -2030,14 +2030,14 @@ do {                                                    \
   { "zmm28", XMM28_REG }, { "zmm29", XMM29_REG }, { "zmm30", XMM30_REG }, { "zmm31", XMM31_REG }  \
 }
 
-/* How to renumber registers for dbx and gdb.  */
+/* How to renumber registers for gdb.  */
 
-#define DBX_REGISTER_NUMBER(N) \
-  (TARGET_64BIT ? dbx64_register_map[(N)] : dbx_register_map[(N)])
+#define DEBUGGER_REGNO(N) \
+  (TARGET_64BIT ? debugger64_register_map[(N)] : debugger_register_map[(N)])
 
-extern int const dbx_register_map[FIRST_PSEUDO_REGISTER];
-extern int const dbx64_register_map[FIRST_PSEUDO_REGISTER];
-extern int const svr4_dbx_register_map[FIRST_PSEUDO_REGISTER];
+extern int const debugger_register_map[FIRST_PSEUDO_REGISTER];
+extern int const debugger64_register_map[FIRST_PSEUDO_REGISTER];
+extern int const svr4_debugger_register_map[FIRST_PSEUDO_REGISTER];
 
 /* Before the prologue, RA is at 0(%esp).  */
 #define INCOMING_RETURN_ADDR_RTX \
index 50f7067532d686fe5fdb729e945070103bc2a70b..696a81cd72d7980b17fc3091cf600fa45cad17cf 100644 (file)
@@ -36,9 +36,9 @@ along with GCC; see the file COPYING3.  If not see
                          %{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}}}\
                        crtbegin.o%s"
 
-#undef DBX_REGISTER_NUMBER
-#define DBX_REGISTER_NUMBER(n) \
-  (TARGET_64BIT ? dbx64_register_map[n] : svr4_dbx_register_map[n])
+#undef DEBUGGER_REGNO
+#define DEBUGGER_REGNO(n) \
+  (TARGET_64BIT ? debugger64_register_map[n] : svr4_debugger_register_map[n])
 
 #define LOCAL_LABEL_PREFIX     "."
 
index ff94cc5b399a09009fc67141e424923a98eebf8b..ceebbd0e98a88a52d52e1a93ac476f2a3cdab718 100644 (file)
@@ -33,9 +33,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 #undef ASM_COMMENT_START
 #define ASM_COMMENT_START "#"
 
-#undef DBX_REGISTER_NUMBER
-#define DBX_REGISTER_NUMBER(n) \
-  (TARGET_64BIT ? dbx64_register_map[n] : svr4_dbx_register_map[n])
+#undef DEBUGGER_REGNO
+#define DEBUGGER_REGNO(n) \
+  (TARGET_64BIT ? debugger64_register_map[n] : svr4_debugger_register_map[n])
 
 #undef ASM_SPEC
 #define ASM_SPEC "--32 -march=iamcu"
index baa62c14986b8b303e497f4114169f1d1264959e..1e6d3ccdca4824021a780a8e1f25add41ee03c3d 100644 (file)
@@ -37,9 +37,9 @@ along with GCC; see the file COPYING3.  If not see
 
 /* LynxOS's GDB counts the floating point registers from 16.  */
 
-#undef DBX_REGISTER_NUMBER
-#define DBX_REGISTER_NUMBER(n)                                         \
-  (TARGET_64BIT ? dbx64_register_map[n]                                        \
+#undef DEBUGGER_REGNO
+#define DEBUGGER_REGNO(n)                                              \
+  (TARGET_64BIT ? debugger64_register_map[n]                                   \
    : (n) == 0 ? 0                                                      \
    : (n) == 1 ? 2                                                      \
    : (n) == 2 ? 1                                                      \
index b1d7d484ce7a6f25e5112b4b5dcfb273b94c1653..10fa9457089bdda586be1c889d1ac51e47156f3f 100644 (file)
@@ -66,8 +66,8 @@ along with GCC; see the file COPYING3.  If not see
 #undef ASM_COMMENT_START
 #define ASM_COMMENT_START "#"
 
-#undef DBX_REGISTER_NUMBER
-#define DBX_REGISTER_NUMBER(n)  svr4_dbx_register_map[n]
+#undef DEBUGGER_REGNO
+#define DEBUGGER_REGNO(n)  svr4_debugger_register_map[n]
 
 
 /* Output assembler code to FILE to call the profiler.  */
index 5df300918d9ab4f59f1c050fe53061b619bb2ccb..85418b2c5d06ad833a2758c56b4c3a79b8458744 100644 (file)
@@ -100,4 +100,4 @@ crti.o%s \
 
 #define TARGET_POSIX_IO
 
-#undef DBX_REGISTER_NUMBER
+#undef DEBUGGER_REGNO
index 2176e79495c4fc8a7b6f813c42d2bf1cbfcc831c..fc6597c8f7534ba4016babca6da5e310287795b0 100644 (file)
@@ -25,9 +25,9 @@ along with GCC; see the file COPYING3.  If not see
     }                                          \
   while (0)
 
-#undef DBX_REGISTER_NUMBER
-#define DBX_REGISTER_NUMBER(n) \
-  (TARGET_64BIT ? dbx64_register_map[n] : svr4_dbx_register_map[n])
+#undef DEBUGGER_REGNO
+#define DEBUGGER_REGNO(n) \
+  (TARGET_64BIT ? debugger64_register_map[n] : svr4_debugger_register_map[n])
 
 /* This must agree with <machine/_types.h>.  */
 #undef SIZE_TYPE
index b7db9571a685c3c9337e5c67abe2b6fbfa876d3c..3c4c11c0161117ae5ac443a4dc8948f10a38f8f3 100644 (file)
@@ -26,8 +26,8 @@ along with GCC; see the file COPYING3.  If not see
 #undef X86_FILE_START_VERSION_DIRECTIVE
 #define X86_FILE_START_VERSION_DIRECTIVE true
 
-#undef DBX_REGISTER_NUMBER
-#define DBX_REGISTER_NUMBER(n)  svr4_dbx_register_map[n]
+#undef DEBUGGER_REGNO
+#define DEBUGGER_REGNO(n)  svr4_debugger_register_map[n]
 
 /* A C statement (sans semicolon) to output to the stdio stream
    FILE the assembler definition of uninitialized global DECL named
index 3b8eb6f3a59b6d3effa7c8aa3e5147f5de861e14..f23bdf407ca4406cd8cee9ee9f8e3511cfdf57fe 100644 (file)
@@ -54,12 +54,12 @@ along with GCC; see the file COPYING3.  If not see
 
 #endif
 
-/* Provide our target specific DBX_REGISTER_NUMBER.  VxWorks relies on
+/* Provide our target specific DEBUGGER_REGNO.  VxWorks relies on
    the SVR4 numbering.  */
 
-#undef DBX_REGISTER_NUMBER
-#define DBX_REGISTER_NUMBER(n) \
-  (TARGET_64BIT ? dbx64_register_map[n] : svr4_dbx_register_map[n])
+#undef DEBUGGER_REGNO
+#define DEBUGGER_REGNO(n) \
+  (TARGET_64BIT ? debugger64_register_map[n] : svr4_debugger_register_map[n])
 
 /* CPU macro definitions, ordered to account for VxWorks 7 not
    supporting CPUs older than PENTIUM4 since SR0650.  */
index 065269908e10421a065bf9a0ce3a3e634ec45b79..55aeb959b5bfa36f35a5b5c2ce1a82d429bd16c5 100644 (file)
@@ -26,9 +26,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 #undef ASM_COMMENT_START
 #define ASM_COMMENT_START "#"
 
-#undef DBX_REGISTER_NUMBER
-#define DBX_REGISTER_NUMBER(n) \
-  (TARGET_64BIT ? dbx64_register_map[n] : svr4_dbx_register_map[n])
+#undef DEBUGGER_REGNO
+#define DEBUGGER_REGNO(n) \
+  (TARGET_64BIT ? debugger64_register_map[n] : svr4_debugger_register_map[n])
 
 /* Output assembler code to FILE to call the profiler.  */
 #define NO_PROFILE_COUNTERS 1
index 77e0cf7c72ba862809fa68fb5ae19361e22c901b..23b63c87ac589310b39ad4a451658a9862743514 100644 (file)
@@ -83,7 +83,7 @@ extern int ia64_epilogue_uses (int);
 extern int ia64_eh_uses (int);
 extern void emit_safe_across_calls (void);
 extern void ia64_init_builtins (void);
-extern int ia64_dbx_register_number (int);
+extern int ia64_debugger_regno (int);
 
 extern rtx ia64_return_addr_rtx (HOST_WIDE_INT, rtx);
 extern void ia64_split_return_addr_rtx (rtx);
index 25e4a47e363a775446dc51a52335f41ed6bd11ab..50ae7aa4cd6c244481198b17127fe74cae3dcf56 100644 (file)
@@ -4421,7 +4421,7 @@ ia64_output_function_prologue (FILE *file)
 
   if (mask && TARGET_GNU_AS)
     fprintf (file, "\t.prologue %d, %d\n", mask,
-            ia64_dbx_register_number (grsave));
+            ia64_debugger_regno (grsave));
   else
     fputs ("\t.prologue\n", file);
 
@@ -4473,7 +4473,7 @@ ia64_output_function_epilogue (FILE *)
 }
 
 int
-ia64_dbx_register_number (int regno)
+ia64_debugger_regno (int regno)
 {
   /* In ia64_expand_prologue we quite literally renamed the frame pointer
      from its home at loc79 to something inside the register frame.  We
@@ -10104,7 +10104,7 @@ process_cfa_adjust_cfa (FILE *out_file, rtx pat, rtx insn,
 
       if (unwind)
        fprintf (out_file, "\t.vframe r%d\n",
-                ia64_dbx_register_number (REGNO (dest)));
+                ia64_debugger_regno (REGNO (dest)));
     }
   else
     gcc_unreachable ();
@@ -10125,7 +10125,7 @@ process_cfa_register (FILE *out_file, rtx pat, bool unwind)
       /* Saving return address pointer.  */
       if (unwind)
        fprintf (out_file, "\t.save rp, r%d\n",
-                ia64_dbx_register_number (dest_regno));
+                ia64_debugger_regno (dest_regno));
       return;
     }
 
@@ -10137,21 +10137,21 @@ process_cfa_register (FILE *out_file, rtx pat, bool unwind)
       gcc_assert (dest_regno == current_frame_info.r[reg_save_pr]);
       if (unwind)
        fprintf (out_file, "\t.save pr, r%d\n",
-                ia64_dbx_register_number (dest_regno));
+                ia64_debugger_regno (dest_regno));
       break;
 
     case AR_UNAT_REGNUM:
       gcc_assert (dest_regno == current_frame_info.r[reg_save_ar_unat]);
       if (unwind)
        fprintf (out_file, "\t.save ar.unat, r%d\n",
-                ia64_dbx_register_number (dest_regno));
+                ia64_debugger_regno (dest_regno));
       break;
 
     case AR_LC_REGNUM:
       gcc_assert (dest_regno == current_frame_info.r[reg_save_ar_lc]);
       if (unwind)
        fprintf (out_file, "\t.save ar.lc, r%d\n",
-                ia64_dbx_register_number (dest_regno));
+                ia64_debugger_regno (dest_regno));
       break;
 
     default:
@@ -10326,7 +10326,7 @@ ia64_asm_unwind_emit (FILE *out_file, rtx_insn *insn)
        {
          if (unwind)
            fprintf (out_file, "\t.save ar.pfs, r%d\n",
-                    ia64_dbx_register_number (dest_regno));
+                    ia64_debugger_regno (dest_regno));
        }
       else
        {
index 69646625eaef8c5bcf8f3a3c70d5291a2df149e3..b7415c535964848154b202af5408dfd5a7cc2650 100644 (file)
@@ -1422,20 +1422,6 @@ do {                                                                     \
 /* Macros Affecting all Debug Formats.  */
 
 /* This is handled in sysv4.h.  */
-
-\f
-/* Specific Options for DBX Output.  */
-
-\f
-/* Open ended Hooks for DBX Output.  */
-
-/* Likewise.  */
-
-\f
-/* File names in DBX format.  */
-
-/* Likewise.  */
-
 \f
 /* Macros for Dwarf Output.  */
 
index 046c5110195597d7e0b0710ce2117cb307abd953..6a4e01779b5d67817c4b4f9b620b04b01441865b 100644 (file)
@@ -100,8 +100,8 @@ do {                                                \
 #undef FINI_SECTION_ASM_OP
 #define FINI_SECTION_ASM_OP    "\t.section\t.fini,\"ax\",\"progbits\""
 
-#define DBX_REGISTER_NUMBER(REGNO) \
-  ia64_dbx_register_number(REGNO)
+#define DEBUGGER_REGNO(REGNO) \
+  ia64_debugger_regno(REGNO)
 
 #undef SIZE_TYPE
 #define SIZE_TYPE "long unsigned int"
index 23f66c904466332f9da176cbd4893adcdbf0f99b..3090185288bb6420e3c9ffc6bb8714d11ad17755 100644 (file)
@@ -491,7 +491,7 @@ do {                                                            \
 /* Debugging.  */
 /*-------------*/
 
-#define DBX_REGISTER_NUMBER(REGNO) (REGNO)
+#define DEBUGGER_REGNO(REGNO) (REGNO)
 
 #define DEFAULT_GDB_EXTENSIONS 1
 
index 5a19faa063cffcef0cea52311b2afeea483ef65c..26601ab0e133a9ac5abaaadf5f4f6ed9aabc79bd 100644 (file)
@@ -1013,7 +1013,7 @@ m32c_eh_return_stackadj_rtx (void)
 
 /* Registers That Address the Stack Frame */
 
-/* Implements DWARF_FRAME_REGNUM and DBX_REGISTER_NUMBER.  Note that
+/* Implements DWARF_FRAME_REGNUM and DEBUGGER_REGNO.  Note that
    the original spec called for dwarf numbers to vary with register
    width as well, for example, r0l, r0, and r2r0 would each have
    different dwarf numbers.  GCC doesn't support this, and we don't do
index af99103fd64f9fc5e5c2469b105079308366f7d2..a9b61acea9dc8cdb5fa4580707722e77a797a4ca 100644 (file)
@@ -452,7 +452,7 @@ enum reg_class
 
 #define DWARF_FRAME_REGISTERS 20
 #define DWARF_FRAME_REGNUM(N) m32c_dwarf_frame_regnum (N)
-#define DBX_REGISTER_NUMBER(N) m32c_dwarf_frame_regnum (N)
+#define DEBUGGER_REGNO(N) m32c_dwarf_frame_regnum (N)
 
 #undef ASM_PREFERRED_EH_DATA_FORMAT
 /* This is the same as the default in practice, except that by making
index 0c66c91f84078ed038f82629f5cc836f02bcc80e..ba7a3ba51620ae78b281ebffaf7c96844e7ede96 100644 (file)
@@ -224,8 +224,8 @@ along with GCC; see the file COPYING3.  If not see
 
 #define TARGET_ASM_FILE_END file_end_indicate_exec_stack
 
-#undef DBX_REGISTER_NUMBER
-#define DBX_REGISTER_NUMBER(REGNO) (REGNO)
+#undef DEBUGGER_REGNO
+#define DEBUGGER_REGNO(REGNO) (REGNO)
 
 #undef  SIZE_TYPE
 #define SIZE_TYPE "unsigned int"
index cd353db41a62876799b8c95ab57a4e0a5ba38582..05fa7fe8a235e117a07aa76d36d1efcea50644d2 100644 (file)
@@ -707,7 +707,7 @@ __transfer_from_trampoline ()                                       \
 
 /* On the Sun-3, the floating point registers have numbers
    18 to 25, not 16 to 23 as they do in the compiler.  */
-#define DBX_REGISTER_NUMBER(REGNO) ((REGNO) < 16 ? (REGNO) : (REGNO) + 2)
+#define DEBUGGER_REGNO(REGNO) ((REGNO) < 16 ? (REGNO) : (REGNO) + 2)
 
 /* Before the prologue, RA is at 0(%sp).  */
 #define INCOMING_RETURN_ADDR_RTX \
@@ -720,7 +720,7 @@ __transfer_from_trampoline ()                                       \
                                        UNITS_PER_WORD))                   \
    : gen_rtx_MEM (Pmode, plus_constant (Pmode, FRAME, UNITS_PER_WORD)))
 
-/* We must not use the DBX register numbers for the DWARF 2 CFA column
+/* We must not use the debugger register numbers for the DWARF 2 CFA column
    numbers because that maps to numbers beyond FIRST_PSEUDO_REGISTER.
    Instead use the identity mapping.  */
 #define DWARF_FRAME_REGNUM(REG) \
index 8133e64e56346465245b0a61fae87855f965d8a0..e5518b0ee7260d205470eb3c812460a0d4a96220 100644 (file)
@@ -100,8 +100,8 @@ do {                                                                \
    SVR4 debugger in the m68k/SVR4 reference port, where d0-d7
    are 0-7, a0-a8 are 8-15, and fp0-fp7 are 16-23.  */
 
-#undef DBX_REGISTER_NUMBER
-#define DBX_REGISTER_NUMBER(REGNO) (REGNO)
+#undef DEBUGGER_REGNO
+#define DEBUGGER_REGNO(REGNO) (REGNO)
 
 #if 0
 /* SVR4 m68k assembler is bitching on the `comm i,1,1' which askes for 
index d262b60bbf25fcf4151dc4b3560d6a0a147d1ba9..ac7ec92ce6f373926c952752ec5a2ad02bed9d6f 100644 (file)
@@ -215,13 +215,13 @@ while (0)
 #define M68K_STATIC_CHAIN_REG_NAME REGISTER_PREFIX "a1"
 
 
-/* Now to renumber registers for dbx and gdb.
+/* Now to renumber registers for gdb.
    We use the Sun-3 convention, which is:
    floating point registers have numbers 18 to 25, not
    16 to 23 as they do in the compiler.  */
 
-#undef DBX_REGISTER_NUMBER
-#define DBX_REGISTER_NUMBER(REGNO) ((REGNO) < 16 ? (REGNO) : (REGNO) + 2)
+#undef DEBUGGER_REGNO
+#define DEBUGGER_REGNO(REGNO) ((REGNO) < 16 ? (REGNO) : (REGNO) + 2)
 
 
 /* 1 if N is a possible register number for a function value.  For
index f32effecfb6ff4ead52a17aeeabc6e04280f03b9..8fcca1829f67dbe24c4f2a5cdf47f26cd5d6bdd5 100644 (file)
@@ -193,7 +193,7 @@ struct microblaze_frame_info zero_frame_info;
 char microblaze_print_operand_punct[256];
 
 /* Map GCC register number to debugger register number.  */
-int microblaze_dbx_regno[FIRST_PSEUDO_REGISTER];
+int microblaze_debugger_regno[FIRST_PSEUDO_REGISTER];
 
 /* Map hard register number to register class.  */
 enum reg_class microblaze_regno_to_class[] =
@@ -1881,11 +1881,11 @@ microblaze_option_override (void)
      Ignore the special purpose register numbers.  */
 
   for (i = 0; i < FIRST_PSEUDO_REGISTER; i++)
-    microblaze_dbx_regno[i] = -1;
+    microblaze_debugger_regno[i] = -1;
 
-  start = GP_DBX_FIRST - GP_REG_FIRST;
+  start = GP_DEBUGGER_FIRST - GP_REG_FIRST;
   for (i = GP_REG_FIRST; i <= GP_REG_LAST; i++)
-    microblaze_dbx_regno[i] = i + start;
+    microblaze_debugger_regno[i] = i + start;
 
   /* Set up array giving whether a given register can hold a given mode.   */
 
index d28bc766de80a590c417c6cb0cea0997ebcfbdff..f70c6612c64d0de0d39dcc5b2d3bd3d5444b7430 100644 (file)
@@ -39,7 +39,7 @@ extern char microblaze_print_operand_punct[];
 extern int microblaze_section_threshold;
 
 /* Map register # to debug register # */
-extern int microblaze_dbx_regno[];
+extern int microblaze_debugger_regno[];
 
 extern int microblaze_no_unsafe_delay;
 extern int microblaze_has_clz;
@@ -163,8 +163,8 @@ extern enum pipeline_type microblaze_pipe;
 
 /* Debug stuff.  */
 
-/* How to renumber registers for dbx and gdb.  */
-#define DBX_REGISTER_NUMBER(REGNO) microblaze_dbx_regno[(REGNO)]
+/* How to renumber registers for gdb.  */
+#define DEBUGGER_REGNO(REGNO) microblaze_debugger_regno[(REGNO)]
 
 /* Generate DWARF exception handling info.  */
 #define DWARF2_UNWIND_INFO 1
@@ -276,7 +276,7 @@ extern enum pipeline_type microblaze_pipe;
 #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 GP_DEBUGGER_FIRST    0
 
 #define ST_REG         32
 #define AP_REG_NUM      33
index 11a71e09fa9edaf5c65646953cd68e7692858b3c..3f24d6ed816fb0a7880ac387e9d1d68b1896cc0e 100644 (file)
@@ -75,4 +75,4 @@ VXWORKS_LINK_SPEC
 #undef SUBTARGET_OVERRIDE_OPTIONS
 #define SUBTARGET_OVERRIDE_OPTIONS VXWORKS_OVERRIDE_OPTIONS
 
-#undef DBX_REGISTER_NUMBER
+#undef DEBUGGER_REGNO
index d9a40d3b9415e02928bfdc33f807dbd6be29bbec..c5e6eb77a395077c1cec71b6945edcfcf6bff1bf 100644 (file)
@@ -42,7 +42,7 @@ extern int mmix_shiftable_wyde_value (uint64_t);
 extern void mmix_output_register_setting (FILE *, int, int64_t, int);
 extern int mmix_opposite_regno (int, int);
 extern int mmix_local_regno (int);
-extern unsigned mmix_dbx_register_number (unsigned);
+extern unsigned mmix_debugger_regno (unsigned);
 extern int mmix_use_simple_return (void);
 extern void mmix_make_decl_one_only (tree);
 extern int mmix_data_alignment (tree, int);
index 439ae8f044f3b7e4344e80f8d73d7f0908f1a04a..ffdd8c71cc1b4c26aacddb2dbdb08a92a48d12b6 100644 (file)
@@ -1942,10 +1942,10 @@ mmix_asm_output_align (FILE *stream, int power)
  fprintf (stream, "\tLOC @+(%d-@)&%d\n", 1 << power, (1 << power) - 1);
 }
 
-/* DBX_REGISTER_NUMBER.  */
+/* DEBUGGER_REGNO.  */
 
 unsigned
-mmix_dbx_register_number (unsigned regno)
+mmix_debugger_regno (unsigned regno)
 {
   /* Adjust the register number to the one it will be output as, dammit.
      It'd be nice if we could check the assumption that we're filling a
@@ -1956,7 +1956,7 @@ mmix_dbx_register_number (unsigned regno)
   /* We need to renumber registers to get the number of the return address
      register in the range 0..255.  It is also space-saving if registers
      mentioned in the call-frame information (which uses this function by
-     defaulting DWARF_FRAME_REGNUM to DBX_REGISTER_NUMBER) are numbered
+     defaulting DWARF_FRAME_REGNUM to DEBUGGER_REGNO) are numbered
      0 .. 63.  So map 224 .. 256+15 -> 0 .. 47 and 0 .. 223 -> 48..223+48.  */
   return regno >= 224 ? (regno - 224) : (regno + 48);
 }
index 0fc45db6d74d0133c8b255993dad6b3b695e63a7..2896f63f7ebba9e44c80851853a2867265eb41ee 100644 (file)
@@ -757,17 +757,8 @@ typedef struct { int regs; int lib; } CUMULATIVE_ARGS;
 
 /* Node: All Debuggers */
 
-#define DBX_REGISTER_NUMBER(REGNO) \
- mmix_dbx_register_number (REGNO)
-
-
-/* Node: DBX Options */
-/* (empty) */
-/* Node: DBX Hooks */
-/* (empty) */
-/* Node: File Names and DBX */
-/* (empty) */
-
+#define DEBUGGER_REGNO(REGNO) \
+ mmix_debugger_regno (REGNO)
 
 /* Node: DWARF */
 #define DWARF2_DEBUGGING_INFO 1
index 377423c7937520d3b6ac65580f6b4f8583fdad9f..0b44ee7061ed6dbd853b54eff61c8c2a382908c8 100644 (file)
@@ -65,7 +65,7 @@ extern void nds32_emit_v3pop_fpr_callee_saved (int);
 
 /* Controlling Debugging Information Format.  */
 
-extern unsigned int nds32_dbx_register_number (unsigned int);
+extern unsigned int nds32_debugger_regno (unsigned int);
 
 /* ------------------------------------------------------------------------ */
 
index 71fe9e8bcd69c8efaf913e2aa910c64005be3ae2..67a612130fe908a1aa189d6de66139cc13904a4f 100644 (file)
@@ -3889,7 +3889,7 @@ nds32_dwarf_register_span (rtx reg)
 /* Map internal gcc register numbers to DWARF2 register numbers.  */
 
 unsigned int
-nds32_dbx_register_number (unsigned int regno)
+nds32_debugger_regno (unsigned int regno)
 {
   /* The nds32 port in GDB maintains a mapping between dwarf register
      number and displayed register name.  For backward compatibility to
@@ -5809,12 +5809,6 @@ nds32_use_blocks_for_constant_p (machine_mode mode,
 
 /* -- Macros Affecting All Debugging Formats.  */
 
-/* -- Specific Options for DBX Output.  */
-
-/* -- Open-Ended Hooks for DBX Format.  */
-
-/* -- File Names in DBX Format.  */
-
 /* -- Macros for DWARF Output.  */
 
 /* -- Macros for VMS Debug Format.  */
index 18ef8ae9ee86fc8255814dfbdbadaea4c37ad293..cd00b2a6547252e65e5424eec254a4c2e0f77747 100644 (file)
@@ -1332,7 +1332,7 @@ enum reg_class
    This is used to unwind the stack to an exception handler's call frame.  */
 #define EH_RETURN_STACKADJ_RTX gen_rtx_REG (Pmode, 2)
 
-#define DBX_REGISTER_NUMBER(REGNO) nds32_dbx_register_number (REGNO)
+#define DEBUGGER_REGNO(REGNO) nds32_debugger_regno (REGNO)
 
 #define STACK_POINTER_REGNUM SP_REGNUM
 
index 712974405668e69c57c5dd2b63a26523843ef532..dc9cad1aaaf829f15578533b02c928e19e17cfc6 100644 (file)
@@ -253,7 +253,7 @@ struct GTY(()) machine_function
 #undef ASM_APP_OFF
 #define ASM_APP_OFF "\t// #NO_APP \n"
 
-#define DBX_REGISTER_NUMBER(N) N
+#define DEBUGGER_REGNO(N) N
 
 #define TEXT_SECTION_ASM_OP ""
 #define DATA_SECTION_ASM_OP ""
index 18a526d386f1267d5894fcbd71a519a866446ea8..c2decf3aedec1398d87f66036a901008cf368230 100644 (file)
    : (X) < 24 ? ((X) - 16) * 2 + 17    \
    : ((X) - 24) * 2 + 16)
 
-#define DBX_REGISTER_NUMBER(X)  GCC_TO_HW_REGNO(X)
+#define DEBUGGER_REGNO(X)  GCC_TO_HW_REGNO(X)
 
 #define REGISTER_NAMES { \
   "r0",   "r1",   "r2",   "r3",   "r4",   "r5",   "r6",   "r7",   \
index 62084a50abc945fed94cc5baf257db68856c087c..1d511aaffcd624eac5555d8a1b8660d70b5afd16 100644 (file)
@@ -227,7 +227,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
       || (GET_MODE_SIZE (MODE) == 8 * UNITS_PER_WORD                   \
          && ((REGNO) & 7) == 3 && (REGNO) <= 19)))
 
-/* How to renumber registers for dbx and gdb.
+/* How to renumber registers for gdb.
 
    Registers 0  - 31 remain unchanged.
 
@@ -235,11 +235,11 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 
    Register 88 is mapped to 32.  */
 
-#define DBX_REGISTER_NUMBER(REGNO) \
+#define DEBUGGER_REGNO(REGNO) \
   ((REGNO) <= 31 ? (REGNO) :                                           \
    ((REGNO) <= 87 ? (REGNO) + 40 : 32))
 
-/* We must not use the DBX register numbers for the DWARF 2 CFA column
+/* We must not use the debugger register numbers for the DWARF 2 CFA column
    numbers because that maps to numbers beyond FIRST_PSEUDO_REGISTER.
    Instead use the identity mapping.  */
 #define DWARF_FRAME_REGNUM(REG) REG
index 7daf44560dde073f370e0a0f292aaf8bab834866..02b76e0eb45d7fbecfca940cd3854a2098fb7353 100644 (file)
@@ -165,17 +165,17 @@ along with GCC; see the file COPYING3.  If not see
       || (GET_MODE_SIZE (MODE) == 4 * UNITS_PER_WORD                   \
          && ((REGNO) & 3) == 3 && (REGNO) <= 23)))
 
-/* How to renumber registers for dbx and gdb.
+/* How to renumber registers for gdb.
 
    Registers 0  - 31 remain unchanged.
 
    Registers 32 - 59 are mapped to 72, 74, 76 ...
 
    Register 60 is mapped to 32.  */
-#define DBX_REGISTER_NUMBER(REGNO) \
+#define DEBUGGER_REGNO(REGNO) \
   ((REGNO) <= 31 ? (REGNO) : ((REGNO) < 60 ? (REGNO - 32) * 2 + 72 : 32))
 
-/* We must not use the DBX register numbers for the DWARF 2 CFA column
+/* We must not use the debugger register numbers for the DWARF 2 CFA column
    numbers because that maps to numbers beyond FIRST_PSEUDO_REGISTER.
    Instead use the identity mapping.  */
 #define DWARF_FRAME_REGNUM(REG) REG
index 1c0f97edcc2d04c2ed8a45db137fdc8f9fdffa33..d0d89320ef6871cb521fb6804717ad1e1364e289 100644 (file)
@@ -291,7 +291,7 @@ extern int rs6000_trampoline_size (void);
 extern alias_set_type get_TOC_alias_set (void);
 extern void rs6000_emit_prologue (void);
 extern void rs6000_emit_load_toc_table (int);
-extern unsigned int rs6000_dbx_register_number (unsigned int, unsigned int);
+extern unsigned int rs6000_debugger_regno (unsigned int, unsigned int);
 extern void rs6000_emit_epilogue (enum epilogue_type);
 extern void rs6000_expand_split_stack_prologue (void);
 extern void rs6000_split_stack_space_check (rtx, rtx);
index fc67fabbe3d554f9474d840f2191415dbed6569b..8b4edd281cafe6c02944e87883c8428c6221012c 100644 (file)
@@ -23637,7 +23637,7 @@ rs6000_init_dwarf_reg_sizes_extra (tree address)
      2 -- DWARF .eh_frame section  */
 
 unsigned int
-rs6000_dbx_register_number (unsigned int regno, unsigned int format)
+rs6000_debugger_regno (unsigned int regno, unsigned int format)
 {
   /* On some platforms, we use the standard DWARF register
      numbering for .debug_info and .debug_frame.  */
index 5f1d5e494da36170c6fbf3f2cc62772cb7335473..eb7b2158497017d2254b090164e937b9542e1500 100644 (file)
@@ -791,7 +791,7 @@ enum data_align { align_abi, align_opt, align_both };
 #define FIRST_PSEUDO_REGISTER 111
 
 /* Use standard DWARF numbering for DWARF debugging information.  */
-#define DBX_REGISTER_NUMBER(REGNO) rs6000_dbx_register_number ((REGNO), 0)
+#define DEBUGGER_REGNO(REGNO) rs6000_debugger_regno ((REGNO), 0)
 
 /* Use gcc hard register numbering for eh_frame.  */
 #define DWARF_FRAME_REGNUM(REGNO) (REGNO)
@@ -800,7 +800,7 @@ enum data_align { align_abi, align_opt, align_both };
    collected using DWARF_FRAME_REGNUM to those that should be output in
    .debug_frame and .eh_frame.  */
 #define DWARF2_FRAME_REG_OUT(REGNO, FOR_EH) \
-  rs6000_dbx_register_number ((REGNO), (FOR_EH) ? 2 : 1)
+  rs6000_debugger_regno ((REGNO), (FOR_EH) ? 2 : 1)
 
 /* 1 for registers that have pervasive standard uses
    and are not available for the register allocator.
index 1114222cd4afb6077bc0b6cc7c2fe867665adad6..be566215df2470a8bde0eb646820e847420aebd6 100644 (file)
@@ -701,7 +701,7 @@ extern const enum reg_class regclass_map[FIRST_PSEUDO_REGISTER];
 /* Define the dwarf register mapping.
    v16-v31 -> 68-83
    rX      -> X      otherwise  */
-#define DBX_REGISTER_NUMBER(regno)                             \
+#define DEBUGGER_REGNO(regno)                          \
   (((regno) >= 38 && (regno) <= 53) ? (regno) + 30 : (regno))
 
 /* Frame registers.  */
index f0fd19f8854c9507b159eafe93adc8c547f957c9..8530c15192f51c7e24b9bdb5aad94f0995d18058 100644 (file)
@@ -61,7 +61,7 @@ along with GCC; see the file COPYING3.  If not see
 #define LINK_EMUL_PREFIX "sh%{ml:l}elf"
 #endif
 
-#define DBX_REGISTER_NUMBER(REGNO) SH_DBX_REGISTER_NUMBER (REGNO)
+#define DEBUGGER_REGNO(REGNO) SH_DEBUGGER_REGNO (REGNO)
 
 #undef ASM_GENERATE_INTERNAL_LABEL
 #define ASM_GENERATE_INTERNAL_LABEL(STRING, PREFIX, NUM) \
index d96d077c99e93e5cb5a691b1cca47e963fb936ce..77a83736d2d08f28c4d25ce8d5f19c35758ad5ef 100644 (file)
@@ -111,11 +111,11 @@ along with GCC; see the file COPYING3.  If not see
    in MD_FALLBACK_FRAME_STATE_FOR and its content will be read with
    _Unwind_GetGR which uses dwarf_reg_size_table to get the size of
    the register.  So the entry of dwarf_reg_size_table corresponding to
-   this slot must be set.  To do this, we redefine DBX_REGISTER_NUMBER
+   this slot must be set.  To do this, we redefine DEBUGGER_REGNO
    so as to return itself for 16.  */
-#undef DBX_REGISTER_NUMBER
-#define DBX_REGISTER_NUMBER(REGNO) \
-  (((REGNO) == 16) ? 16 : SH_DBX_REGISTER_NUMBER (REGNO))
+#undef DEBUGGER_REGNO
+#define DEBUGGER_REGNO(REGNO) \
+  (((REGNO) == 16) ? 16 : SH_DEBUGGER_REGNO (REGNO))
 
 /* Install the __sync libcalls.  */
 #undef TARGET_INIT_LIBFUNCS
index 4f209d2319fde5056157eddc83267bcf8ed5eb0f..3f60e15d79a3b5d228f0978bc6f74abc479dcfc2 100644 (file)
@@ -1654,14 +1654,14 @@ extern bool current_function_interrupt;
   fprintf ((file), "\tmov.l\t@r15+,r%d\n", (v));       \
 }
 
-/* DBX register number for a given compiler register number.  */
+/* Debugger register number for a given compiler register number.  */
 /* GDB has FPUL at 23 and FP0 at 25, so we must add one to all FP registers
    to match gdb.  */
 /* expand_builtin_init_dwarf_reg_sizes uses this to test if a
    register exists, so we should return -1 for invalid register numbers.  */
-#define DBX_REGISTER_NUMBER(REGNO) SH_DBX_REGISTER_NUMBER (REGNO)
+#define DEBUGGER_REGNO(REGNO) SH_DEBUGGER_REGNO (REGNO)
 
-#define SH_DBX_REGISTER_NUMBER(REGNO) \
+#define SH_DEBUGGER_REGNO(REGNO) \
   (IN_RANGE ((REGNO), \
             (unsigned HOST_WIDE_INT) FIRST_GENERAL_REG, \
             FIRST_GENERAL_REG + 15U) \
index e9819243728686faaf2c64112d02711d6a54221d..d7de116f445ba6171593ea285a4d7cb3d301a12a 100644 (file)
@@ -1491,7 +1491,7 @@ do                                                                        \
    This describes how to specify debugging information.
 
     mda is known to GDB, but not to GCC. */
-#define DBX_REGISTER_NUMBER(REGNO) \
+#define DEBUGGER_REGNO(REGNO) \
   ((REGNO) > MDB_REGNUM ? (REGNO) + 1 : (REGNO))
 
 /* `DEBUGGER_AUTO_OFFSET (X)'
@@ -1500,7 +1500,7 @@ do                                                                        \
    automatic variable having address X (an RTL expression).  The
    default computation assumes that X is based on the frame-pointer
    and gives the offset from the frame-pointer.  This is required for
-   targets that produce debugging output for DBX and allow the frame-pointer
+   targets that produce debugging output for debugger and allow the frame-pointer
    to be eliminated when the `-g' options is used. */
 #define DEBUGGER_AUTO_OFFSET(X) \
   (GET_CODE (X) == PLUS ? INTVAL (XEXP (X, 1)) : 0)
index 527bb4e8e27cb28d2d3adc16e5aa0cfd41360a6f..fbdccc49c9b5ed5da82ac44a02e17d5081246920 100644 (file)
@@ -81,7 +81,7 @@ along with GCC; see the file COPYING3.  If not see
 /* Do not force "-fpic" for this target.  */
 #define XTENSA_ALWAYS_PIC 0
 
-#undef DBX_REGISTER_NUMBER
+#undef DEBUGGER_REGNO
 
 /* Search for headers in $tooldir/arch/include and for libraries and
    startfiles in $tooldir/arch/lib.  */
index edce618fb94e6698c3d36dcdcd2d8c2205cdfa9c..540e4bf538f8d5e2ef908a81fd4b3b0ff248b984 100644 (file)
@@ -67,5 +67,5 @@ along with GCC; see the file COPYING3.  If not see
 /* Always enable "-fpic" for Xtensa Linux.  */
 #define XTENSA_ALWAYS_PIC 1
 
-#undef DBX_REGISTER_NUMBER
+#undef DEBUGGER_REGNO
 
index d47fd6313b44b2e13415ce6c05f61e967254754d..5fcf639ccff4b3008f15d2b8ac38d4f261b092d6 100644 (file)
@@ -70,5 +70,5 @@ along with GCC; see the file COPYING3.  If not see
 #undef TARGET_LIBC_HAS_FUNCTION
 #define TARGET_LIBC_HAS_FUNCTION no_c99_libc_has_function
 
-#undef DBX_REGISTER_NUMBER
+#undef DEBUGGER_REGNO
 
index e020a332b0376922de720e93d36e3a9e9442d5fb..459e2aac9fc973d8ae5ae897d2a2a952c4b55138 100644 (file)
@@ -71,7 +71,7 @@ extern rtx xtensa_return_addr (int, rtx);
 #endif /* RTX_CODE */
 
 extern void xtensa_setup_frame_addresses (void);
-extern int xtensa_dbx_register_number (int);
+extern int xtensa_debugger_regno (int);
 extern long compute_frame_size (poly_int64);
 extern bool xtensa_use_return_instruction_p (void);
 extern void xtensa_expand_prologue (void);
index b673b6764dadde5f8ca5fd0a7187e380dfc74cf1..93ac6562b2289bd141233aedb5bd7eb37f002299 100644 (file)
@@ -2430,7 +2430,7 @@ xtensa_cannot_force_const_mem (machine_mode mode ATTRIBUTE_UNUSED, rtx x)
 /* Return the debugger register number to use for 'regno'.  */
 
 int
-xtensa_dbx_register_number (int regno)
+xtensa_debugger_regno (int regno)
 {
   int first = -1;
 
index d51658afa89e1817151d7973c8da5105376e9512..0f3006d7af8fdb30b90c45ce6a9a61097c70f27c 100644 (file)
@@ -216,7 +216,7 @@ along with GCC; see the file COPYING3.  If not see
 #define FIRST_PSEUDO_REGISTER 36
 
 /* Return the stabs register number to use for REGNO.  */
-#define DBX_REGISTER_NUMBER(REGNO) xtensa_dbx_register_number (REGNO)
+#define DEBUGGER_REGNO(REGNO) xtensa_debugger_regno (REGNO)
 
 /* 1 for registers that have pervasive standard uses
    and are not available for the register allocator.  */
index 7c7a80e596e60e48eaf3c9abb204a1bb794dda3e..953605c1627b4a087799c90af2d8e48fe09324a6 100644 (file)
@@ -429,17 +429,17 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 #endif
 #endif
 
-/* How to renumber registers for dbx and gdb.  If not defined, assume
+/* How to renumber registers for gdb.  If not defined, assume
    no renumbering is necessary.  */
 
-#ifndef DBX_REGISTER_NUMBER
-#define DBX_REGISTER_NUMBER(REGNO) (REGNO)
+#ifndef DEBUGGER_REGNO
+#define DEBUGGER_REGNO(REGNO) (REGNO)
 #endif
 
 /* The mapping from gcc register number to DWARF 2 CFA column number.
    By default, we just provide columns for all registers.  */
 #ifndef DWARF_FRAME_REGNUM
-#define DWARF_FRAME_REGNUM(REG) DBX_REGISTER_NUMBER (REG)
+#define DWARF_FRAME_REGNUM(REG) DEBUGGER_REGNO (REG)
 #endif
 
 /* The mapping from dwarf CFA reg number to internal dwarf reg numbers.  */
index 11be5d0a54a178efa0ecd2c65a367a89a0fa617b..f8fce277eb52c12ca9b328cf607ec88933823a2b 100644 (file)
@@ -3785,7 +3785,7 @@ Define this macro if the target's representation for dwarf registers
 used in .eh_frame or .debug_frame is different from that used in other
 debug info sections.  Given a GCC hard register number, this macro
 should return the .eh_frame register number.  The default is
-@code{DBX_REGISTER_NUMBER (@var{regno})}.
+@code{DEBUGGER_REGISTER_NUMBER (@var{regno})}.
 
 @end defmac
 
@@ -9948,21 +9948,21 @@ This describes how to specify debugging information.
 @c prevent bad page break with this line
 These macros affect all debugging formats.
 
-@defmac DBX_REGISTER_NUMBER (@var{regno})
-A C expression that returns the DBX register number for the compiler
+@defmac DEBUGGER_REGISTER_NUMBER (@var{regno})
+A C expression that returns the debugger register number for the compiler
 register number @var{regno}.  In the default macro provided, the value
 of this expression will be @var{regno} itself.  But sometimes there are
-some registers that the compiler knows about and DBX does not, or vice
+some registers that the compiler knows about and debugger does not, or vice
 versa.  In such cases, some register may need to have one number in the
-compiler and another for DBX@.
+compiler and another for debugger@.
 
 If two registers have consecutive numbers inside GCC, and they can be
 used as a pair to hold a multiword value, then they @emph{must} have
-consecutive numbers after renumbering with @code{DBX_REGISTER_NUMBER}.
+consecutive numbers after renumbering with @code{DEBUGGER_REGISTER_NUMBER}.
 Otherwise, debuggers will be unable to access such a pair, because they
 expect register pairs to be consecutive in their own numbering scheme.
 
-If you find yourself defining @code{DBX_REGISTER_NUMBER} in way that
+If you find yourself defining @code{DEBUGGER_REGISTER_NUMBER} in way that
 does not preserve register pairs, then what you must do instead is
 redefine the actual register numbering scheme.
 @end defmac
@@ -9972,7 +9972,7 @@ A C expression that returns the integer offset value for an automatic
 variable having address @var{x} (an RTL expression).  The default
 computation assumes that @var{x} is based on the frame-pointer and
 gives the offset from the frame-pointer.  This is required for targets
-that produce debugging output for DBX and allow the frame-pointer to be
+that produce debugging output for debugger and allow the frame-pointer to be
 eliminated when the @option{-g} option is used.
 @end defmac
 
@@ -10002,8 +10002,7 @@ or @option{-gvms}.
 
 @defmac DEFAULT_GDB_EXTENSIONS
 Define this macro to control whether GCC should by default generate
-GDB's extended version of DBX debugging information (assuming DBX-format
-debugging information is enabled at all).  If you don't define the
+GDB's extended version of debugging information.  If you don't define the
 macro, the default is 1: always generate the extended information
 if there is any occasion to.
 @end defmac
index 0d8cd2eba38e055f7138e4be79d86b4026f27de9..955343ab86ec1ddd148356d1879bd8a4ce4c7770 100644 (file)
@@ -3012,7 +3012,7 @@ Define this macro if the target's representation for dwarf registers
 used in .eh_frame or .debug_frame is different from that used in other
 debug info sections.  Given a GCC hard register number, this macro
 should return the .eh_frame register number.  The default is
-@code{DBX_REGISTER_NUMBER (@var{regno})}.
+@code{DEBUGGER_REGISTER_NUMBER (@var{regno})}.
 
 @end defmac
 
@@ -6618,21 +6618,21 @@ This describes how to specify debugging information.
 @c prevent bad page break with this line
 These macros affect all debugging formats.
 
-@defmac DBX_REGISTER_NUMBER (@var{regno})
-A C expression that returns the DBX register number for the compiler
+@defmac DEBUGGER_REGISTER_NUMBER (@var{regno})
+A C expression that returns the debugger register number for the compiler
 register number @var{regno}.  In the default macro provided, the value
 of this expression will be @var{regno} itself.  But sometimes there are
-some registers that the compiler knows about and DBX does not, or vice
+some registers that the compiler knows about and debugger does not, or vice
 versa.  In such cases, some register may need to have one number in the
-compiler and another for DBX@.
+compiler and another for debugger@.
 
 If two registers have consecutive numbers inside GCC, and they can be
 used as a pair to hold a multiword value, then they @emph{must} have
-consecutive numbers after renumbering with @code{DBX_REGISTER_NUMBER}.
+consecutive numbers after renumbering with @code{DEBUGGER_REGISTER_NUMBER}.
 Otherwise, debuggers will be unable to access such a pair, because they
 expect register pairs to be consecutive in their own numbering scheme.
 
-If you find yourself defining @code{DBX_REGISTER_NUMBER} in way that
+If you find yourself defining @code{DEBUGGER_REGISTER_NUMBER} in way that
 does not preserve register pairs, then what you must do instead is
 redefine the actual register numbering scheme.
 @end defmac
@@ -6642,7 +6642,7 @@ A C expression that returns the integer offset value for an automatic
 variable having address @var{x} (an RTL expression).  The default
 computation assumes that @var{x} is based on the frame-pointer and
 gives the offset from the frame-pointer.  This is required for targets
-that produce debugging output for DBX and allow the frame-pointer to be
+that produce debugging output for debugger and allow the frame-pointer to be
 eliminated when the @option{-g} option is used.
 @end defmac
 
@@ -6672,8 +6672,7 @@ or @option{-gvms}.
 
 @defmac DEFAULT_GDB_EXTENSIONS
 Define this macro to control whether GCC should by default generate
-GDB's extended version of DBX debugging information (assuming DBX-format
-debugging information is enabled at all).  If you don't define the
+GDB's extended version of debugging information.  If you don't define the
 macro, the default is 1: always generate the extended information
 if there is any occasion to.
 @end defmac
index 9e2fa9681a02ce947fcdeeed62ec9bdbea128282..e4183607ff85145eac968e3c2cfe63b1ab7c7a27 100644 (file)
@@ -3850,7 +3850,7 @@ static int decl_quals (const_tree);
 static dw_die_ref modified_type_die (tree, int, bool, dw_die_ref);
 static dw_die_ref generic_parameter_die (tree, tree, bool, dw_die_ref);
 static dw_die_ref template_parameter_pack_die (tree, tree, dw_die_ref);
-static unsigned int dbx_reg_number (const_rtx);
+static unsigned int debugger_reg_number (const_rtx);
 static void add_loc_descr_op_piece (dw_loc_descr_ref *, int);
 static dw_loc_descr_ref reg_loc_descriptor (rtx, enum var_init_status);
 static dw_loc_descr_ref one_reg_loc_descriptor (unsigned int,
@@ -14169,10 +14169,10 @@ template_parameter_pack_die (tree parm_pack,
   return die;
 }
 
-/* Return the DBX register number described by a given RTL node.  */
+/* Return the debugger register number described by a given RTL node.  */
 
 static unsigned int
-dbx_reg_number (const_rtx rtl)
+debugger_reg_number (const_rtx rtl)
 {
   unsigned regno = REGNO (rtl);
 
@@ -14187,7 +14187,7 @@ dbx_reg_number (const_rtx rtl)
     }
 #endif
 
-  regno = DBX_REGISTER_NUMBER (regno);
+  regno = DEBUGGER_REGNO (regno);
   gcc_assert (regno != INVALID_REGNUM);
   return regno;
 }
@@ -14250,10 +14250,10 @@ reg_loc_descriptor (rtx rtl, enum var_init_status initialized)
     return multiple_reg_loc_descriptor (rtl, regs, initialized);
   else
     {
-      unsigned int dbx_regnum = dbx_reg_number (rtl);
-      if (dbx_regnum == IGNORED_DWARF_REGNUM)
+      unsigned int debugger_regnum = debugger_reg_number (rtl);
+      if (debugger_regnum == IGNORED_DWARF_REGNUM)
        return 0;
-      return one_reg_loc_descriptor (dbx_regnum, initialized);
+      return one_reg_loc_descriptor (debugger_regnum, initialized);
     }
 }
 
@@ -14302,7 +14302,7 @@ multiple_reg_loc_descriptor (rtx rtl, rtx regs,
        }
 #endif
 
-      gcc_assert ((unsigned) DBX_REGISTER_NUMBER (reg) == dbx_reg_number (rtl));
+      gcc_assert ((unsigned) DEBUGGER_REGNO (reg) == debugger_reg_number (rtl));
       nregs = REG_NREGS (rtl);
 
       /* At present we only track constant-sized pieces.  */
@@ -14315,7 +14315,7 @@ multiple_reg_loc_descriptor (rtx rtl, rtx regs,
        {
          dw_loc_descr_ref t;
 
-         t = one_reg_loc_descriptor (DBX_REGISTER_NUMBER (reg),
+         t = one_reg_loc_descriptor (DEBUGGER_REGNO (reg),
                                      VAR_INIT_STATUS_INITIALIZED);
          add_loc_descr (&loc_result, t);
          add_loc_descr_op_piece (&loc_result, size);
@@ -14337,7 +14337,7 @@ multiple_reg_loc_descriptor (rtx rtl, rtx regs,
     {
       dw_loc_descr_ref t;
 
-      t = one_reg_loc_descriptor (dbx_reg_number (XVECEXP (regs, 0, i)),
+      t = one_reg_loc_descriptor (debugger_reg_number (XVECEXP (regs, 0, i)),
                                  VAR_INIT_STATUS_INITIALIZED);
       add_loc_descr (&loc_result, t);
       add_loc_descr_op_piece (&loc_result, size);
@@ -15995,7 +15995,7 @@ mem_loc_descriptor (rtx rtl, machine_mode mode,
              ))
        {
          dw_die_ref type_die;
-         unsigned int dbx_regnum;
+         unsigned int debugger_regnum;
 
          if (dwarf_strict && dwarf_version < 5)
            break;
@@ -16005,11 +16005,11 @@ mem_loc_descriptor (rtx rtl, machine_mode mode,
          if (type_die == NULL)
            break;
 
-         dbx_regnum = dbx_reg_number (rtl);
-         if (dbx_regnum == IGNORED_DWARF_REGNUM)
+         debugger_regnum = debugger_reg_number (rtl);
+         if (debugger_regnum == IGNORED_DWARF_REGNUM)
            break;
          mem_loc_result = new_loc_descr (dwarf_OP (DW_OP_regval_type),
-                                         dbx_regnum, 0);
+                                         debugger_regnum, 0);
          mem_loc_result->dw_loc_oprnd2.val_class = dw_val_class_die_ref;
          mem_loc_result->dw_loc_oprnd2.v.val_die_ref.die = type_die;
          mem_loc_result->dw_loc_oprnd2.v.val_die_ref.external = 0;
@@ -16280,10 +16280,10 @@ mem_loc_descriptor (rtx rtl, machine_mode mode,
                                      VOIDmode, VAR_INIT_STATUS_INITIALIZED);
          else
            {
-              unsigned int dbx_regnum = dbx_reg_number (ENTRY_VALUE_EXP (rtl));
-             if (dbx_regnum == IGNORED_DWARF_REGNUM)
+             unsigned int debugger_regnum = debugger_reg_number (ENTRY_VALUE_EXP (rtl));
+             if (debugger_regnum == IGNORED_DWARF_REGNUM)
                return NULL;
-             op0 = one_reg_loc_descriptor (dbx_regnum,
+             op0 = one_reg_loc_descriptor (debugger_regnum,
                                            VAR_INIT_STATUS_INITIALIZED);
            }
        }
index 7d7ce40c8466cd4b146d8807ce1a85066d5262d6..57064cf2533903d0cd9cd7f750c7a2d82e712d04 100644 (file)
@@ -2175,7 +2175,7 @@ expand_builtin_eh_return_data_regno (tree exp)
 #ifdef DWARF_FRAME_REGNUM
   iwhich = DWARF_FRAME_REGNUM (iwhich);
 #else
-  iwhich = DBX_REGISTER_NUMBER (iwhich);
+  iwhich = DEBUGGER_REGNO (iwhich);
 #endif
 
   return GEN_INT (iwhich);