diff options
author | Markus Deuling <deuling@de.ibm.com> | 2007-12-06 16:33:00 +0000 |
---|---|---|
committer | Markus Deuling <deuling@de.ibm.com> | 2007-12-06 16:33:00 +0000 |
commit | d3f73121dbd11ef96be3d2fa93bacfe492b88658 (patch) | |
tree | 3b68fe9140af4777501b35314a6179cff8455be4 /gdb/gdbarch.c | |
parent | b79d787e44c2398b00ad635735beda4efa6f4639 (diff) | |
download | gdb-d3f73121dbd11ef96be3d2fa93bacfe492b88658.zip gdb-d3f73121dbd11ef96be3d2fa93bacfe492b88658.tar.gz gdb-d3f73121dbd11ef96be3d2fa93bacfe492b88658.tar.bz2 |
* gdbarch.sh (stab_reg_to_regnum, dwarf_reg_to_regnum)
( dwarf2_reg_to_regnum, sdb_reg_to_regnum, ecoff_reg_to_regnum): Add
gdbarch as parameter.
* gdbarch.{c,h}: Regenerate.
* xtensa-tdep.c (xtensa_reg_to_regnum): Add gdbarch as parameter.
Replace current_gdbarch by gdbarch.
* s390-tdep.c (s390_dwarf_reg_to_regnum): Likewise.
* rs6000-tdep.c (rs6000_stab_reg_to_regnum)
(rs6000_dwarf2_reg_to_regnum): Likewise.
* mips-tdep.c (mips_stab_reg_to_regnum)
(mips_dwarf_dwarf2_ecoff_reg_to_regnum): Likewise.
* mep-tdep.c (mep_debug_reg_to_regnum): Likewise.
* m32c-tdep.c (m32c_debug_info_reg_to_regnum): Likewise.
* i386-tdep.c (i386_dbx_reg_to_regnum)
(i386_svr4_reg_to_regnum): Likewise
* h8300-tdep.c (h8300s_dbg_reg_to_regnum)
(h8300_dbg_reg_to_regnum): Likewise.
* amd64-tdep.c (amd64_dwarf_reg_to_regnum): Likewise.
* arch-utils.c (no_op_reg_to_regnum): Likewise.
* arch-utils.h (no_op_reg_to_regnum): Likewise.
* arm-tdep.c (arm_dwarf_reg_to_regnum): Likewise.
* cris-tdep.c (cris_dwarf2_reg_to_regnum): Likewise.
* hppa-tdep.c (hppa64_dwarf_reg_to_regnum): Likewise.
* ia64-tdep.c (ia64_dwarf_reg_to_regnum): Likewise.
* m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise.
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index bfde685..1f3afdd 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -275,11 +275,11 @@ struct gdbarch startup_gdbarch = -1, /* pc_regnum */ -1, /* ps_regnum */ 0, /* fp0_regnum */ - 0, /* stab_reg_to_regnum */ - 0, /* ecoff_reg_to_regnum */ - 0, /* dwarf_reg_to_regnum */ - 0, /* sdb_reg_to_regnum */ - 0, /* dwarf2_reg_to_regnum */ + no_op_reg_to_regnum, /* stab_reg_to_regnum */ + no_op_reg_to_regnum, /* ecoff_reg_to_regnum */ + no_op_reg_to_regnum, /* dwarf_reg_to_regnum */ + no_op_reg_to_regnum, /* sdb_reg_to_regnum */ + no_op_reg_to_regnum, /* dwarf2_reg_to_regnum */ 0, /* register_name */ 0, /* register_type */ 0, /* unwind_dummy_id */ @@ -1502,7 +1502,7 @@ gdbarch_stab_reg_to_regnum (struct gdbarch *gdbarch, int stab_regnr) gdb_assert (gdbarch->stab_reg_to_regnum != NULL); if (gdbarch_debug >= 2) fprintf_unfiltered (gdb_stdlog, "gdbarch_stab_reg_to_regnum called\n"); - return gdbarch->stab_reg_to_regnum (stab_regnr); + return gdbarch->stab_reg_to_regnum (gdbarch, stab_regnr); } void @@ -1519,7 +1519,7 @@ gdbarch_ecoff_reg_to_regnum (struct gdbarch *gdbarch, int ecoff_regnr) gdb_assert (gdbarch->ecoff_reg_to_regnum != NULL); if (gdbarch_debug >= 2) fprintf_unfiltered (gdb_stdlog, "gdbarch_ecoff_reg_to_regnum called\n"); - return gdbarch->ecoff_reg_to_regnum (ecoff_regnr); + return gdbarch->ecoff_reg_to_regnum (gdbarch, ecoff_regnr); } void @@ -1536,7 +1536,7 @@ gdbarch_dwarf_reg_to_regnum (struct gdbarch *gdbarch, int dwarf_regnr) gdb_assert (gdbarch->dwarf_reg_to_regnum != NULL); if (gdbarch_debug >= 2) fprintf_unfiltered (gdb_stdlog, "gdbarch_dwarf_reg_to_regnum called\n"); - return gdbarch->dwarf_reg_to_regnum (dwarf_regnr); + return gdbarch->dwarf_reg_to_regnum (gdbarch, dwarf_regnr); } void @@ -1553,7 +1553,7 @@ gdbarch_sdb_reg_to_regnum (struct gdbarch *gdbarch, int sdb_regnr) gdb_assert (gdbarch->sdb_reg_to_regnum != NULL); if (gdbarch_debug >= 2) fprintf_unfiltered (gdb_stdlog, "gdbarch_sdb_reg_to_regnum called\n"); - return gdbarch->sdb_reg_to_regnum (sdb_regnr); + return gdbarch->sdb_reg_to_regnum (gdbarch, sdb_regnr); } void @@ -1570,7 +1570,7 @@ gdbarch_dwarf2_reg_to_regnum (struct gdbarch *gdbarch, int dwarf2_regnr) gdb_assert (gdbarch->dwarf2_reg_to_regnum != NULL); if (gdbarch_debug >= 2) fprintf_unfiltered (gdb_stdlog, "gdbarch_dwarf2_reg_to_regnum called\n"); - return gdbarch->dwarf2_reg_to_regnum (dwarf2_regnr); + return gdbarch->dwarf2_reg_to_regnum (gdbarch, dwarf2_regnr); } void |