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: [RFA] arm_skip_prologue: recognize "str r(0123), [r11, #-nn]"


> > 
> > GCC sometimes generates these stores as discrete instructions.
> > 
> > 2002-04-22  Michael Snyder  <msnyder@redhat.com>
> > 
> > 	* arm-tdep.c (arm_skip_prologue): Recognize str r(0123), [r11, #-nn].
> > 
> 
> Are you sure these should really be considered part of the prologue?
> 
> 
> 

Ok, here's how I think we should consider this.

If a DWARF-encoded sequence would consider these as part of the prologue 
(ie they are described as prologue instructions, then the unwinder should 
consider them similarly.  If, however, it considers them as part of the 
function body then the manual unwinder should also do so.

If the latter is correct, then we should also handle storing into the 
stack so that we can also handle frameless functions.

R.


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