This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mn10300: skip movm checks if PC is on movm


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]