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_scan_prologue: accept strh and strb as well as str


Richard Earnshaw wrote:
> 
> >
> > Hi Richard,
> >
> > These are for char and short args, respectively.
> > The more I play with it, the more I want to merge
> > arm_scan and arm_skip into one function.  ;-)
> >
> > Michael
> >
> > 2002-04-25  Michael Snyder  <msnyder@redhat.com>
> >
> >       * arm-tdep.c (arm_scan_prologue): Accept strb r(0123),[r11,#-nn]
> >       and strh r(0123),[r11,#-nn] as well as str r(0123),[r11,#-nn].
> >       (arm_skip_prologue): Ditto.
> >
> 
> OK.
> 
> As mentioned before, we should also handle
> 
>         str{,h,b} r(0123), [sp, #+nn]
> 
> in the prologue (for frameless functions).

[sorry for the empty reply]
OK -- I'd be glad to do that.  Could you possibly 
provide me an example to work from?  

arm_scan_prologue is easy, since it accepts prologue instructions
in any order, but arm_skip_prologue imposes an ordering on them.
I would REALLY like to merge these two functions.  In fact I started
to, but then got busy with other things.


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