From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3506 invoked by alias); 14 May 2003 23:58:24 -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 3465 invoked from network); 14 May 2003 23:58:23 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 14 May 2003 23:58:23 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h4ENwNH03692 for ; Wed, 14 May 2003 19:58:23 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h4ENwLI05554; Wed, 14 May 2003 19:58:21 -0400 Received: from localhost.localdomain (vpn50-3.rdu.redhat.com [172.16.50.3]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h4ENwHQ31831; Wed, 14 May 2003 19:58:18 -0400 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id h4ENwAR10852; Wed, 14 May 2003 16:58:10 -0700 Date: Wed, 14 May 2003 23:58:00 -0000 From: Kevin Buettner Message-Id: <1030514235809.ZM10851@localhost.localdomain> In-Reply-To: "J. Johnston" "RFA: ia64 prologue skipping patch" (May 14, 7:47pm) References: <3EC2D59E.60404@redhat.com> To: "J. Johnston" , gdb-patches@sources.redhat.com Subject: Re: RFA: ia64 prologue skipping patch MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-05/txt/msg00232.txt.bz2 On May 14, 7:47pm, J. Johnston wrote: > Subject: RFA: ia64 prologue skipping patch > > The attached patch revises the ia64 prologue skipping code. It does a number of > things: > > 1. increases the number of instructions to look at in a prologue > 2. allows looking in leaf functions > 3. recognizes indirect input register references (one level only) > 4. attempts to trust the lim_pc value > > Number 1 was increased to handle some testsuite cases where the number of > parameters was quite high (e.g. 9 parameters). No tuning was involved. > > Number 4 has the biggest effect. The line table info is more accurate except > in the case of optimized code. > > Ok to commit? Okay (But fix the formatting of your ChangeLog entry - the lines are too long.) > 2003-05-14 Jeff Johnston > > * ia64-tdep.c: Increase max_skip_non_prologue_insns to 40. > (examine_prologue): Support looking through leaf functions, knowing > they start with mov r2,r12. Support skipping over indirect stores of the input > registers. Upon hitting a non-nop branch instruction or predicated instruction, > bail out by setting lim_pc to the current pc value in the loop. At the end, > if the lim_pc value is still beyond our calculated value and we have trust_limit set, > use the lim_pc value. Kevin