diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-01-02 22:20:47 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-01-02 22:20:47 +0000 |
commit | 50abf9e57bf73e9b7fc5a1bfa83bcea1557ef029 (patch) | |
tree | 050419cbde1952bfc3006082a2d1c3957219ba4a /gdb/ia64-tdep.c | |
parent | 440cc0bc1a3338bfbd5e098cb65483bc50c0bd57 (diff) | |
download | gdb-50abf9e57bf73e9b7fc5a1bfa83bcea1557ef029.zip gdb-50abf9e57bf73e9b7fc5a1bfa83bcea1557ef029.tar.gz gdb-50abf9e57bf73e9b7fc5a1bfa83bcea1557ef029.tar.bz2 |
2003-01-02 Andrew Cagney <ac131313@redhat.com>
* arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
frame accessor methods.
* alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
* dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
* m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
* mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
* s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
* vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
* z8k-tdep.c: Ditto.
Diffstat (limited to 'gdb/ia64-tdep.c')
-rw-r--r-- | gdb/ia64-tdep.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/gdb/ia64-tdep.c b/gdb/ia64-tdep.c index fab210a..454fd2d 100644 --- a/gdb/ia64-tdep.c +++ b/gdb/ia64-tdep.c @@ -705,7 +705,7 @@ ia64_frame_chain (struct frame_info *frame) { if ((get_frame_type (frame) == SIGTRAMP_FRAME)) return read_sigcontext_register (frame, sp_regnum); - else if (DEPRECATED_PC_IN_CALL_DUMMY (frame->pc, frame->frame, frame->frame)) + else if (DEPRECATED_PC_IN_CALL_DUMMY (get_frame_pc (frame), frame->frame, frame->frame)) return frame->frame; else { @@ -722,8 +722,8 @@ ia64_frame_saved_pc (struct frame_info *frame) { if ((get_frame_type (frame) == SIGTRAMP_FRAME)) return read_sigcontext_register (frame, pc_regnum); - else if (DEPRECATED_PC_IN_CALL_DUMMY (frame->pc, frame->frame, frame->frame)) - return deprecated_read_register_dummy (frame->pc, frame->frame, pc_regnum); + else if (DEPRECATED_PC_IN_CALL_DUMMY (get_frame_pc (frame), frame->frame, frame->frame)) + return deprecated_read_register_dummy (get_frame_pc (frame), frame->frame, pc_regnum); else { FRAME_INIT_SAVED_REGS (frame); @@ -1206,8 +1206,8 @@ ia64_frame_init_saved_regs (struct frame_info *frame) { CORE_ADDR func_start; - func_start = get_pc_function_start (frame->pc); - examine_prologue (func_start, frame->pc, frame); + func_start = get_pc_function_start (get_frame_pc (frame)); + examine_prologue (func_start, get_frame_pc (frame), frame); } } @@ -1233,7 +1233,7 @@ ia64_get_saved_register (char *raw_buffer, if (lval != NULL) *lval = not_lval; - is_dummy_frame = DEPRECATED_PC_IN_CALL_DUMMY (frame->pc, frame->frame, frame->frame); + is_dummy_frame = DEPRECATED_PC_IN_CALL_DUMMY (get_frame_pc (frame), frame->frame, frame->frame); if (regnum == SP_REGNUM && frame->next) { @@ -1481,7 +1481,7 @@ ia64_init_extra_frame_info (int fromleaf, struct frame_info *frame) { CORE_ADDR bsp, cfm; int next_frame_is_call_dummy = ((frame->next != NULL) - && DEPRECATED_PC_IN_CALL_DUMMY (frame->next->pc, frame->next->frame, + && DEPRECATED_PC_IN_CALL_DUMMY (get_frame_pc (frame->next), frame->next->frame, frame->next->frame)); frame->extra_info = (struct frame_extra_info *) @@ -1500,10 +1500,10 @@ ia64_init_extra_frame_info (int fromleaf, struct frame_info *frame) } else if (next_frame_is_call_dummy) { - bsp = deprecated_read_register_dummy (frame->next->pc, + bsp = deprecated_read_register_dummy (get_frame_pc (frame->next), frame->next->frame, IA64_BSP_REGNUM); - cfm = deprecated_read_register_dummy (frame->next->pc, + cfm = deprecated_read_register_dummy (get_frame_pc (frame->next), frame->next->frame, IA64_CFM_REGNUM); } @@ -1518,9 +1518,9 @@ ia64_init_extra_frame_info (int fromleaf, struct frame_info *frame) else if (frn->next && (get_frame_type (frn->next) == SIGTRAMP_FRAME)) cfm = read_sigcontext_register (frn->next, IA64_PFS_REGNUM); else if (frn->next - && DEPRECATED_PC_IN_CALL_DUMMY (frn->next->pc, frn->next->frame, + && DEPRECATED_PC_IN_CALL_DUMMY (get_frame_pc (frn->next), frn->next->frame, frn->next->frame)) - cfm = deprecated_read_register_dummy (frn->next->pc, frn->next->frame, + cfm = deprecated_read_register_dummy (get_frame_pc (frn->next), frn->next->frame, IA64_PFS_REGNUM); else cfm = read_register (IA64_PFS_REGNUM); |