diff options
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 0acb14c..ff32f77 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -137,7 +137,6 @@ struct gdbarch int pc_regnum; int ps_regnum; int fp0_regnum; - int deprecated_npc_regnum; gdbarch_stab_reg_to_regnum_ftype *stab_reg_to_regnum; gdbarch_ecoff_reg_to_regnum_ftype *ecoff_reg_to_regnum; gdbarch_dwarf_reg_to_regnum_ftype *dwarf_reg_to_regnum; @@ -310,7 +309,6 @@ struct gdbarch startup_gdbarch = -1, /* pc_regnum */ -1, /* ps_regnum */ 0, /* fp0_regnum */ - 0, /* deprecated_npc_regnum */ 0, /* stab_reg_to_regnum */ 0, /* ecoff_reg_to_regnum */ 0, /* dwarf_reg_to_regnum */ @@ -493,7 +491,6 @@ gdbarch_alloc (const struct gdbarch_info *info, current_gdbarch->pc_regnum = -1; current_gdbarch->ps_regnum = -1; current_gdbarch->fp0_regnum = -1; - current_gdbarch->deprecated_npc_regnum = -1; current_gdbarch->stab_reg_to_regnum = no_op_reg_to_regnum; current_gdbarch->ecoff_reg_to_regnum = no_op_reg_to_regnum; current_gdbarch->dwarf_reg_to_regnum = no_op_reg_to_regnum; @@ -630,7 +627,6 @@ verify_gdbarch (struct gdbarch *current_gdbarch) /* Skip verify of pc_regnum, invalid_p == 0 */ /* Skip verify of ps_regnum, invalid_p == 0 */ /* Skip verify of fp0_regnum, invalid_p == 0 */ - /* Skip verify of deprecated_npc_regnum, invalid_p == 0 */ /* Skip verify of stab_reg_to_regnum, invalid_p == 0 */ /* Skip verify of ecoff_reg_to_regnum, invalid_p == 0 */ /* Skip verify of dwarf_reg_to_regnum, invalid_p == 0 */ @@ -1370,14 +1366,6 @@ gdbarch_dump (struct gdbarch *current_gdbarch, struct ui_file *file) "gdbarch_dump: DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE = %d\n", DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE); #endif -#ifdef DEPRECATED_NPC_REGNUM - fprintf_unfiltered (file, - "gdbarch_dump: DEPRECATED_NPC_REGNUM # %s\n", - XSTRING (DEPRECATED_NPC_REGNUM)); - fprintf_unfiltered (file, - "gdbarch_dump: DEPRECATED_NPC_REGNUM = %d\n", - DEPRECATED_NPC_REGNUM); -#endif #ifdef DEPRECATED_PC_IN_CALL_DUMMY_P fprintf_unfiltered (file, "gdbarch_dump: %s # %s\n", @@ -2987,23 +2975,6 @@ set_gdbarch_fp0_regnum (struct gdbarch *gdbarch, } int -gdbarch_deprecated_npc_regnum (struct gdbarch *gdbarch) -{ - gdb_assert (gdbarch != NULL); - /* Skip verify of deprecated_npc_regnum, invalid_p == 0 */ - if (gdbarch_debug >= 2) - fprintf_unfiltered (gdb_stdlog, "gdbarch_deprecated_npc_regnum called\n"); - return gdbarch->deprecated_npc_regnum; -} - -void -set_gdbarch_deprecated_npc_regnum (struct gdbarch *gdbarch, - int deprecated_npc_regnum) -{ - gdbarch->deprecated_npc_regnum = deprecated_npc_regnum; -} - -int gdbarch_stab_reg_to_regnum (struct gdbarch *gdbarch, int stab_regnr) { gdb_assert (gdbarch != NULL); |