aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2008-05-16 00:27:24 +0000
committerDaniel Jacobowitz <drow@false.org>2008-05-16 00:27:24 +0000
commitba2b1c567fe2be8e4287a7e59edd26da9943b0f7 (patch)
treefbadd4c9ccf7098bef5de04b013e4cbeaa3a0615 /gdb/gdbarch.h
parent3560d162468ebd4bce5b4658e408381fcceceebe (diff)
downloadgdb-ba2b1c567fe2be8e4287a7e59edd26da9943b0f7.zip
gdb-ba2b1c567fe2be8e4287a7e59edd26da9943b0f7.tar.gz
gdb-ba2b1c567fe2be8e4287a7e59edd26da9943b0f7.tar.bz2
* gdbarch.sh: Delete dwarf_reg_to_regnum.
* gdbarch.c, gdbarch.h: Regenerated. * amd64-tdep.c, arm-tdep.c, h8300-tdep.c, hppa-linux-tdep.c, hppa-tdep.c, i386-tdep.c, m32c-tdep.c, m68k-tdep.c, mips-tdep.c, s390-tdep.c, xtensa-tdep.c: Do not set dwarf_reg_to_regnum. * gdbint.texinfo (Target Conditionals): Delete entry for gdbarch_dwarf_reg_to_regnum.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r--gdb/gdbarch.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index 560b2ef..ca8f9d4 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -223,18 +223,14 @@ typedef int (gdbarch_ecoff_reg_to_regnum_ftype) (struct gdbarch *gdbarch, int ec
extern int gdbarch_ecoff_reg_to_regnum (struct gdbarch *gdbarch, int ecoff_regnr);
extern void set_gdbarch_ecoff_reg_to_regnum (struct gdbarch *gdbarch, gdbarch_ecoff_reg_to_regnum_ftype *ecoff_reg_to_regnum);
-/* Provide a default mapping from a DWARF register number to a gdb REGNUM. */
-
-typedef int (gdbarch_dwarf_reg_to_regnum_ftype) (struct gdbarch *gdbarch, int dwarf_regnr);
-extern int gdbarch_dwarf_reg_to_regnum (struct gdbarch *gdbarch, int dwarf_regnr);
-extern void set_gdbarch_dwarf_reg_to_regnum (struct gdbarch *gdbarch, gdbarch_dwarf_reg_to_regnum_ftype *dwarf_reg_to_regnum);
-
/* Convert from an sdb register number to an internal gdb register number. */
typedef int (gdbarch_sdb_reg_to_regnum_ftype) (struct gdbarch *gdbarch, int sdb_regnr);
extern int gdbarch_sdb_reg_to_regnum (struct gdbarch *gdbarch, int sdb_regnr);
extern void set_gdbarch_sdb_reg_to_regnum (struct gdbarch *gdbarch, gdbarch_sdb_reg_to_regnum_ftype *sdb_reg_to_regnum);
+/* Provide a default mapping from a DWARF2 register number to a gdb REGNUM. */
+
typedef int (gdbarch_dwarf2_reg_to_regnum_ftype) (struct gdbarch *gdbarch, int dwarf2_regnr);
extern int gdbarch_dwarf2_reg_to_regnum (struct gdbarch *gdbarch, int dwarf2_regnr);
extern void set_gdbarch_dwarf2_reg_to_regnum (struct gdbarch *gdbarch, gdbarch_dwarf2_reg_to_regnum_ftype *dwarf2_reg_to_regnum);