diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-03-22 15:36:47 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-03-22 15:36:47 +0000 |
commit | 90ba813f1fcbda33d35d1dac4fda91ce26eb12d8 (patch) | |
tree | 9149228a7f28ba140b9855077603b8aa11fff59f /gdb/gdbarch.c | |
parent | 4b2b3b3e62d8c07591f5adfe1939409486ef6e33 (diff) | |
download | gdb-90ba813f1fcbda33d35d1dac4fda91ce26eb12d8.zip gdb-90ba813f1fcbda33d35d1dac4fda91ce26eb12d8.tar.gz gdb-90ba813f1fcbda33d35d1dac4fda91ce26eb12d8.tar.bz2 |
2004-03-22 Andrew Cagney <cagney@redhat.com>
* frame.h (deprecated_pc_in_call_dummy): Rename
generic_pc_in_call_dummy.
* dummy-frame.h (pc_in_dummy_frame): Delete declaration.
* dummy-frame.c (deprecated_pc_in_call_dummy): Rename
generic_pc_in_call_dummy.
(pc_in_dummy_frame): Make static.
* gdbarch.sh (DEPRECATED_PC_IN_CALL_DUMMY): Update.
* gdbarch.h, gdbarch.c: Re-generate.
* dummy-frame.c (dummy_frame_sniffer): Simplify.
* frame.c (frame_type_from_pc): Call deprecated_pc_in_call_dummy.
(legacy_get_prev_frame): Ditto.
* inferior.h: Delete reference to generic_pc_in_call_dummy in
comment.
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 7927925..46dc08f 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -347,7 +347,7 @@ struct gdbarch startup_gdbarch = 0, /* cannot_fetch_register */ 0, /* cannot_store_register */ 0, /* get_longjmp_target */ - generic_pc_in_call_dummy, /* deprecated_pc_in_call_dummy */ + 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 */ @@ -499,7 +499,7 @@ gdbarch_alloc (const struct gdbarch_info *info, current_gdbarch->register_sim_regno = legacy_register_sim_regno; current_gdbarch->cannot_fetch_register = cannot_register_not; current_gdbarch->cannot_store_register = cannot_register_not; - current_gdbarch->deprecated_pc_in_call_dummy = generic_pc_in_call_dummy; + current_gdbarch->deprecated_pc_in_call_dummy = deprecated_pc_in_call_dummy; current_gdbarch->convert_register_p = legacy_convert_register_p; current_gdbarch->register_to_value = legacy_register_to_value; current_gdbarch->value_to_register = legacy_value_to_register; @@ -3767,7 +3767,7 @@ int gdbarch_deprecated_pc_in_call_dummy_p (struct gdbarch *gdbarch) { gdb_assert (gdbarch != NULL); - return gdbarch->deprecated_pc_in_call_dummy != generic_pc_in_call_dummy; + return gdbarch->deprecated_pc_in_call_dummy != deprecated_pc_in_call_dummy; } int @@ -3775,7 +3775,7 @@ gdbarch_deprecated_pc_in_call_dummy (struct gdbarch *gdbarch, CORE_ADDR pc, CORE { gdb_assert (gdbarch != NULL); gdb_assert (gdbarch->deprecated_pc_in_call_dummy != NULL); - /* Do not check predicate: gdbarch->deprecated_pc_in_call_dummy != generic_pc_in_call_dummy, allow call. */ + /* Do not check predicate: gdbarch->deprecated_pc_in_call_dummy != deprecated_pc_in_call_dummy, allow call. */ if (gdbarch_debug >= 2) fprintf_unfiltered (gdb_stdlog, "gdbarch_deprecated_pc_in_call_dummy called\n"); return gdbarch->deprecated_pc_in_call_dummy (pc, sp, frame_address); |