diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-04-02 22:58:57 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-04-02 22:58:57 +0000 |
commit | 08be3abd6026bf04ed7226c2fea9c87e264928fd (patch) | |
tree | a39344a18f26aaa08fb7adbafe199428e03c00ef /gdb/gdbarch.c | |
parent | f04ceafa4372e3d55de774c953b6a52d56ffb4a7 (diff) | |
download | gdb-08be3abd6026bf04ed7226c2fea9c87e264928fd.zip gdb-08be3abd6026bf04ed7226c2fea9c87e264928fd.tar.gz gdb-08be3abd6026bf04ed7226c2fea9c87e264928fd.tar.bz2 |
2004-04-02 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_INIT_FRAME_PC_FIRST): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* frame.c (legacy_get_prev_frame): Delete references to
DEPRECATED_INIT_FRAME_PC_FIRST.
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index d6246af..19462ca 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -181,7 +181,6 @@ struct gdbarch gdbarch_cannot_store_register_ftype *cannot_store_register; gdbarch_get_longjmp_target_ftype *get_longjmp_target; gdbarch_deprecated_pc_in_call_dummy_ftype *deprecated_pc_in_call_dummy; - gdbarch_deprecated_init_frame_pc_first_ftype *deprecated_init_frame_pc_first; gdbarch_deprecated_init_frame_pc_ftype *deprecated_init_frame_pc; int believe_pcc_promotion; int believe_pcc_promotion_type; @@ -348,7 +347,6 @@ struct gdbarch startup_gdbarch = 0, /* cannot_store_register */ 0, /* get_longjmp_target */ deprecated_pc_in_call_dummy, /* deprecated_pc_in_call_dummy */ - 0, /* deprecated_init_frame_pc_first */ 0, /* deprecated_init_frame_pc */ 0, /* believe_pcc_promotion */ 0, /* believe_pcc_promotion_type */ @@ -651,7 +649,6 @@ verify_gdbarch (struct gdbarch *current_gdbarch) /* Skip verify of cannot_store_register, invalid_p == 0 */ /* Skip verify of get_longjmp_target, has predicate */ /* Skip verify of deprecated_pc_in_call_dummy, has predicate */ - /* Skip verify of deprecated_init_frame_pc_first, has predicate */ /* Skip verify of deprecated_init_frame_pc, has predicate */ /* Skip verify of deprecated_get_saved_register, has predicate */ /* Skip verify of deprecated_register_convertible, has predicate */ @@ -1268,25 +1265,6 @@ gdbarch_dump (struct gdbarch *current_gdbarch, struct ui_file *file) (long) current_gdbarch->deprecated_init_frame_pc /*DEPRECATED_INIT_FRAME_PC ()*/); #endif -#ifdef DEPRECATED_INIT_FRAME_PC_FIRST_P - fprintf_unfiltered (file, - "gdbarch_dump: %s # %s\n", - "DEPRECATED_INIT_FRAME_PC_FIRST_P()", - XSTRING (DEPRECATED_INIT_FRAME_PC_FIRST_P ())); - fprintf_unfiltered (file, - "gdbarch_dump: DEPRECATED_INIT_FRAME_PC_FIRST_P() = %d\n", - DEPRECATED_INIT_FRAME_PC_FIRST_P ()); -#endif -#ifdef DEPRECATED_INIT_FRAME_PC_FIRST - fprintf_unfiltered (file, - "gdbarch_dump: %s # %s\n", - "DEPRECATED_INIT_FRAME_PC_FIRST(fromleaf, prev)", - XSTRING (DEPRECATED_INIT_FRAME_PC_FIRST (fromleaf, prev))); - fprintf_unfiltered (file, - "gdbarch_dump: DEPRECATED_INIT_FRAME_PC_FIRST = <0x%08lx>\n", - (long) current_gdbarch->deprecated_init_frame_pc_first - /*DEPRECATED_INIT_FRAME_PC_FIRST ()*/); -#endif #ifdef DEPRECATED_MAX_REGISTER_RAW_SIZE_P fprintf_unfiltered (file, "gdbarch_dump: %s # %s\n", @@ -3798,30 +3776,6 @@ set_gdbarch_deprecated_pc_in_call_dummy (struct gdbarch *gdbarch, } int -gdbarch_deprecated_init_frame_pc_first_p (struct gdbarch *gdbarch) -{ - gdb_assert (gdbarch != NULL); - return gdbarch->deprecated_init_frame_pc_first != NULL; -} - -CORE_ADDR -gdbarch_deprecated_init_frame_pc_first (struct gdbarch *gdbarch, int fromleaf, struct frame_info *prev) -{ - gdb_assert (gdbarch != NULL); - gdb_assert (gdbarch->deprecated_init_frame_pc_first != NULL); - if (gdbarch_debug >= 2) - fprintf_unfiltered (gdb_stdlog, "gdbarch_deprecated_init_frame_pc_first called\n"); - return gdbarch->deprecated_init_frame_pc_first (fromleaf, prev); -} - -void -set_gdbarch_deprecated_init_frame_pc_first (struct gdbarch *gdbarch, - gdbarch_deprecated_init_frame_pc_first_ftype deprecated_init_frame_pc_first) -{ - gdbarch->deprecated_init_frame_pc_first = deprecated_init_frame_pc_first; -} - -int gdbarch_deprecated_init_frame_pc_p (struct gdbarch *gdbarch) { gdb_assert (gdbarch != NULL); |