From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20428 invoked by alias); 15 May 2003 21:39:10 -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 20396 invoked from network); 15 May 2003 21:39:08 -0000 Received: from unknown (HELO touchme.toronto.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 15 May 2003 21:39:08 -0000 Received: from redhat.com (toocool.toronto.redhat.com [172.16.14.72]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 377B7800021; Thu, 15 May 2003 17:39:08 -0400 (EDT) Message-ID: <3EC408FC.20005@redhat.com> Date: Thu, 15 May 2003 21:39:00 -0000 From: "J. Johnston" Organization: Red Hat Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Buettner Cc: gdb-patches@sources.redhat.com Subject: Re: RFA: ia64 prologue skipping patch References: <3EC2D59E.60404@redhat.com> <1030514235809.ZM10851@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-05/txt/msg00257.txt.bz2 ChangeLog entry modified as asked. Patch checked in. Thanks. -- Jeff J. Kevin Buettner wrote: > 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 >