* arm-tdep.c (check_prologue_cache): Fix off by 1 error.
(save_prologue_cache): Ditto.
This commit is contained in:
parent
8030f85769
commit
911413e6b3
@ -1,3 +1,8 @@
|
||||
2001-02-19 Jonathan Larmour <jlarmour@redhat.com>
|
||||
|
||||
* arm-tdep.c (check_prologue_cache): Fix off by 1 error.
|
||||
(save_prologue_cache): Ditto.
|
||||
|
||||
2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
|
||||
|
||||
From: innadadadavida@yahoo.com:
|
||||
|
@ -635,7 +635,7 @@ check_prologue_cache (struct frame_info *fi)
|
||||
fi->framereg = prologue_cache.framereg;
|
||||
fi->framesize = prologue_cache.framesize;
|
||||
fi->frameoffset = prologue_cache.frameoffset;
|
||||
for (i = 0; i <= NUM_REGS; i++)
|
||||
for (i = 0; i < NUM_REGS; i++)
|
||||
fi->fsr.regs[i] = prologue_cache.fsr.regs[i];
|
||||
return 1;
|
||||
}
|
||||
@ -656,7 +656,7 @@ save_prologue_cache (struct frame_info *fi)
|
||||
prologue_cache.framesize = fi->framesize;
|
||||
prologue_cache.frameoffset = fi->frameoffset;
|
||||
|
||||
for (i = 0; i <= NUM_REGS; i++)
|
||||
for (i = 0; i < NUM_REGS; i++)
|
||||
prologue_cache.fsr.regs[i] = fi->fsr.regs[i];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user