This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: mn10300: skip movm checks if PC is on movm
- From: Daniel Jacobowitz <drow at false dot org>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 7 Jun 2004 11:24:40 -0400
- Subject: Re: mn10300: skip movm checks if PC is on movm
- References: <orllj5sk7g.fsf@free.redhat.lsd.ic.unicamp.br>
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