From: Michael Meissner Date: Thu, 13 Nov 1997 15:11:56 +0000 (+0000) Subject: Add comment about code that is actually d10v specific instead of d30v X-Git-Tag: gdb-4_18~4277 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c2f766136e4943b1f4c85f367190b83981a01f86;p=external%2Fbinutils.git Add comment about code that is actually d10v specific instead of d30v --- diff --git a/gdb/d30v-tdep.c b/gdb/d30v-tdep.c index 226301b..f805783 100644 --- a/gdb/d30v-tdep.c +++ b/gdb/d30v-tdep.c @@ -133,6 +133,8 @@ d30v_skip_prologue (pc) CORE_ADDR func_addr, func_end; struct symtab_and_line sal; + /* XXX -- these need to be updated, the instruction patterns are actually + for the d10v, not the d30v. */ /* If we have line debugging information, then the end of the */ /* prologue should the first assembly instruction of the first source line */ if (find_pc_partial_function (pc, NULL, &func_addr, &func_end)) @@ -228,6 +230,8 @@ prologue_find_regs (op, fsr, addr) { int n; + /* XXX -- these need to be updated, the instruction patterns are actually + for the d10v, not the d30v. */ /* st rn, @-sp */ if ((op & 0x7E1F) == 0x6C1F) { @@ -293,6 +297,8 @@ prologue_find_regs (op, fsr, addr) This includes special registers such as pc and fp saved in special ways in the stack frame. sp is even more special: the address we return for it IS the sp for the next frame. */ +/* XXX -- these need to be updated, the instruction patterns are actually + for the d10v, not the d30v. */ void d30v_frame_find_saved_regs (fi, fsr) struct frame_info *fi;