X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fd10v-tdep.c;h=14fd95a032f1cdd115314fa261f57e38dfa543a0;hb=a5afb99fc1bc3708dafc1201ff30bd263ec2b266;hp=d1fcafc261ec6dc7de33b53bb58feb66af6252b9;hpb=6604731ba7c2a5b3bffcf6ff2831b77ff09a92aa;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/d10v-tdep.c b/gdb/d10v-tdep.c index d1fcafc261..14fd95a032 100644 --- a/gdb/d10v-tdep.c +++ b/gdb/d10v-tdep.c @@ -677,10 +677,10 @@ d10v_skip_prologue (CORE_ADDR pc) return pc; } -/* Given a GDB frame, determine the address of the calling function's frame. - This will be used to create a new GDB frame struct, and then - INIT_EXTRA_FRAME_INFO and INIT_FRAME_PC will be called for the new frame. - */ +/* Given a GDB frame, determine the address of the calling function's + frame. This will be used to create a new GDB frame struct, and + then INIT_EXTRA_FRAME_INFO and DEPRECATED_INIT_FRAME_PC will be + called for the new frame. */ static CORE_ADDR d10v_frame_chain (struct frame_info *fi) @@ -1518,6 +1518,10 @@ d10v_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) tdep = XMALLOC (struct gdbarch_tdep); gdbarch = gdbarch_alloc (&info, tdep); + /* NOTE: cagney/2002-12-06: This can be deleted when this arch is + ready to unwind the PC first (see frame.c:get_prev_frame()). */ + set_gdbarch_deprecated_init_frame_pc (gdbarch, init_frame_pc_default); + switch (info.bfd_arch_info->mach) { case bfd_mach_d10v_ts2: