From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28194 invoked by alias); 8 May 2002 18:33:56 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 28143 invoked from network); 8 May 2002 18:33:53 -0000 Received: from unknown (HELO cygnus.com) (205.180.83.203) by sources.redhat.com with SMTP; 8 May 2002 18:33:53 -0000 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id LAA08743; Wed, 8 May 2002 11:33:43 -0700 (PDT) Message-ID: <3CD96C75.7D72B96E@redhat.com> Date: Wed, 08 May 2002 11:33:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Accept-Language: en MIME-Version: 1.0 To: Richard.Earnshaw@arm.com CC: Michael Snyder , gdb-patches@sources.redhat.com, rearnsha@arm.com Subject: Re: [RFA] arm_scan_prologue: accept strh and strb as well as str References: <200205081501.QAA15060@cam-mail2.cambridge.arm.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-05/txt/msg00215.txt.bz2 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 > > > > * 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.