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/m68k-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/m68k-tdep.c')
-rw-r--r-- | gdb/m68k-tdep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/m68k-tdep.c b/gdb/m68k-tdep.c index 8735e07..c25a825 100644 --- a/gdb/m68k-tdep.c +++ b/gdb/m68k-tdep.c @@ -258,7 +258,7 @@ m68k_frame_chain (struct frame_info *thisframe) { if (get_frame_type (thisframe) == SIGTRAMP_FRAME) return thisframe->frame; - else if (!inside_entry_file (thisframe->pc)) + else if (!inside_entry_file (get_frame_pc (thisframe))) return read_memory_unsigned_integer (thisframe->frame, 4); else return 0; @@ -599,8 +599,8 @@ m68k_frame_init_saved_regs (struct frame_info *frame_info) memset (frame_info->saved_regs, 0, SIZEOF_FRAME_SAVED_REGS); - if (frame_info->pc >= possible_call_dummy_start - && frame_info->pc <= frame_info->frame) + if (get_frame_pc (frame_info) >= possible_call_dummy_start + && get_frame_pc (frame_info) <= frame_info->frame) { /* It is a call dummy. We could just stop now, since we know @@ -613,7 +613,7 @@ m68k_frame_init_saved_regs (struct frame_info *frame_info) } else { - pc = get_pc_function_start (frame_info->pc); + pc = get_pc_function_start (get_frame_pc (frame_info)); nextinsn = read_memory_unsigned_integer (pc, 2); if (P_PEA_FP == nextinsn |