diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-04-30 14:40:56 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-04-30 14:40:56 +0000 |
commit | 8ee56bcfa3a6a15ffaf041c2e02dbebad38b1c7f (patch) | |
tree | b1f250d5d29aac075ecd1721041231c82bc6d93d /gdb/gdbarch.c | |
parent | d0d6a25bf3db9eea811699671a0f218e75586ca0 (diff) | |
download | gdb-8ee56bcfa3a6a15ffaf041c2e02dbebad38b1c7f.zip gdb-8ee56bcfa3a6a15ffaf041c2e02dbebad38b1c7f.tar.gz gdb-8ee56bcfa3a6a15ffaf041c2e02dbebad38b1c7f.tar.bz2 |
2004-04-30 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (BELIEVE_PCC_PROMOTION_TYPE): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* stabsread.c (define_symbol): Delete BELIEVE_PCC_PROMOTION_TYPE
code.
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index ff1d687..0f68e84 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -182,7 +182,6 @@ struct gdbarch gdbarch_deprecated_pc_in_call_dummy_ftype *deprecated_pc_in_call_dummy; gdbarch_deprecated_init_frame_pc_ftype *deprecated_init_frame_pc; int believe_pcc_promotion; - int believe_pcc_promotion_type; gdbarch_deprecated_get_saved_register_ftype *deprecated_get_saved_register; gdbarch_deprecated_register_convertible_ftype *deprecated_register_convertible; gdbarch_deprecated_register_convert_to_virtual_ftype *deprecated_register_convert_to_virtual; @@ -347,7 +346,6 @@ struct gdbarch startup_gdbarch = deprecated_pc_in_call_dummy, /* deprecated_pc_in_call_dummy */ 0, /* deprecated_init_frame_pc */ 0, /* believe_pcc_promotion */ - 0, /* believe_pcc_promotion_type */ 0, /* deprecated_get_saved_register */ 0, /* deprecated_register_convertible */ 0, /* deprecated_register_convert_to_virtual */ @@ -862,14 +860,6 @@ gdbarch_dump (struct gdbarch *current_gdbarch, struct ui_file *file) "gdbarch_dump: BELIEVE_PCC_PROMOTION = %d\n", BELIEVE_PCC_PROMOTION); #endif -#ifdef BELIEVE_PCC_PROMOTION_TYPE - fprintf_unfiltered (file, - "gdbarch_dump: BELIEVE_PCC_PROMOTION_TYPE # %s\n", - XSTRING (BELIEVE_PCC_PROMOTION_TYPE)); - fprintf_unfiltered (file, - "gdbarch_dump: BELIEVE_PCC_PROMOTION_TYPE = %d\n", - BELIEVE_PCC_PROMOTION_TYPE); -#endif #ifdef BREAKPOINT_FROM_PC fprintf_unfiltered (file, "gdbarch_dump: %s # %s\n", @@ -3790,22 +3780,6 @@ set_gdbarch_believe_pcc_promotion (struct gdbarch *gdbarch, } int -gdbarch_believe_pcc_promotion_type (struct gdbarch *gdbarch) -{ - gdb_assert (gdbarch != NULL); - if (gdbarch_debug >= 2) - fprintf_unfiltered (gdb_stdlog, "gdbarch_believe_pcc_promotion_type called\n"); - return gdbarch->believe_pcc_promotion_type; -} - -void -set_gdbarch_believe_pcc_promotion_type (struct gdbarch *gdbarch, - int believe_pcc_promotion_type) -{ - gdbarch->believe_pcc_promotion_type = believe_pcc_promotion_type; -} - -int gdbarch_deprecated_get_saved_register_p (struct gdbarch *gdbarch) { gdb_assert (gdbarch != NULL); |