From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19974 invoked by alias); 12 Oct 2006 03:59:56 -0000 Received: (qmail 19965 invoked by uid 22791); 12 Oct 2006 03:59:56 -0000 X-Spam-Check-By: sourceware.org Received: from ausmtp04.au.ibm.com (HELO ausmtp04.au.ibm.com) (202.81.18.152) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 12 Oct 2006 03:59:51 +0000 Received: from sd0208e0.au.ibm.com (d23rh904.au.ibm.com [202.81.18.202]) by ausmtp04.au.ibm.com (8.13.6/8.13.5) with ESMTP id k9C498fL016828 for ; Thu, 12 Oct 2006 14:09:09 +1000 Received: from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.250.243]) by sd0208e0.au.ibm.com (8.13.6/8.13.6/NCO v8.1.1) with ESMTP id k9C42sIa025484 for ; Thu, 12 Oct 2006 14:03:04 +1000 Received: from d23av02.au.ibm.com (loopback [127.0.0.1]) by d23av02.au.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id k9C3tUQp015125 for ; Thu, 12 Oct 2006 13:55:30 +1000 Received: from [9.181.133.215] ([9.181.133.215]) by d23av02.au.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k9C3tSSS015023; Thu, 12 Oct 2006 13:55:28 +1000 Message-ID: <452DBDA0.6070202@cn.ibm.com> Date: Thu, 12 Oct 2006 03:59:00 -0000 From: Wu Zhou User-Agent: Thunderbird 1.5.0.4 (X11/20060614) MIME-Version: 1.0 To: Joel Brobecker CC: Ramana Radhakrishnan , gdb@sourceware.org Subject: Re: a question about rs6k's prologue analysis References: <452CC397.5050304@cn.ibm.com> <1160563558.5061.15.camel@localhost.localdomain> <20061011135335.GB25745@nevyn.them.org> <20061011162208.GX1065@adacore.com> In-Reply-To: <20061011162208.GX1065@adacore.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-10/txt/msg00066.txt.bz2 Joel Brobecker wrote: >> I knew this sounded familiar. Here it is: > > Yes, me too! :-) > >> http://sourceware.org/ml/gdb-patches/2004-12/msg00234.html >> http://sourceware.org/ml/gdb-patches/2005-06/msg00242.html >> >> Joel, things have changed a lot since then - if you have a chance to >> respond to my last message there, I'll take another look at it. > > For the record: > > http://www.sourceware.org/ml/gdb-patches/2006-10/msg00119.html > I had a test with your patch, changing the blrl test to be additional. It works ok in my scenario. But I don't do any regression test yet (will do that later, having other things for rush). Also that I am now applying your patch to RHEL4's gdb sources (It seems that community gdb has some problems on ppc64, which hinders our scenario.). I will apply that patch to community source later to see if there are any regression. BTW, adapting the first three instructions to be four don't work in some cases. I see some cases where bl_to_blrl occurs at about the 6th or even 8th instruction of the prologue. Thanks a lot for all your help. I will return back to regression test a while later. Regards - Wu Zhou