aboutsummaryrefslogtreecommitdiff
path: root/gdb/d30v-tdep.c
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1997-11-13 15:11:56 +0000
committerMichael Meissner <gnu@the-meissners.org>1997-11-13 15:11:56 +0000
commitc2f766136e4943b1f4c85f367190b83981a01f86 (patch)
tree6534885ef795b581b91e6999aaa6110b150ad54e /gdb/d30v-tdep.c
parent5d62f957a89a3174ca2669db19effcf0585a8827 (diff)
downloadgdb-c2f766136e4943b1f4c85f367190b83981a01f86.zip
gdb-c2f766136e4943b1f4c85f367190b83981a01f86.tar.gz
gdb-c2f766136e4943b1f4c85f367190b83981a01f86.tar.bz2
Add comment about code that is actually d10v specific instead of d30v
Diffstat (limited to 'gdb/d30v-tdep.c')
-rw-r--r--gdb/d30v-tdep.c6
1 files changed, 6 insertions, 0 deletions
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;