mn10300: skip movm checks if PC is on movm
Daniel Jacobowitz
drow@false.org
Mon Jun 7 15:24:00 GMT 2004
On Wed, Jun 02, 2004 at 06:50:43PM -0300, Alexandre Oliva wrote:
> When we attempt to set up a frame while PC is on the initial movm
> instruction of a function, and then read the saved PC from it, we get
> the wrong value, because we fail to disregard the offsets introduced
> by movm, that hasn't run yet. This patch fixes this problem. Ok to
> install?
>
> Index: gdb/ChangeLog
> from Alexandre Oliva <aoliva@redhat.com>
>
> * mn10300-tdep.c (mn10300_analyze_prologue): Don't compute saved
> regs if PC is on movm.
OK.
--
Daniel Jacobowitz
More information about the Gdb-patches
mailing list