From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10433 invoked by alias); 31 Jul 2004 17:38:06 -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 10426 invoked from network); 31 Jul 2004 17:38:06 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 31 Jul 2004 17:38:06 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i6VHc5e3001050 for ; Sat, 31 Jul 2004 13:38:06 -0400 Received: from localhost.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i6VHc3a11529; Sat, 31 Jul 2004 13:38:04 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id EF7092B9D; Sat, 31 Jul 2004 13:37:57 -0400 (EDT) Message-ID: <410BD8F3.7060106@gnu.org> Date: Sat, 31 Jul 2004 17:38:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: Kevin Buettner Cc: gdb-patches@sources.redhat.com Subject: Re: [RFC] frv-tdep.c: Use refine_prologue_limit() instead of skip_prologue_using_sal() References: <20040730152419.58cd727f@saguaro> In-Reply-To: <20040730152419.58cd727f@saguaro> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-07/txt/msg00543.txt.bz2 > + Note: kevinb/2004-07-29: Not true. On FR-V, I've encountered a > + case where skip_prologue_using_sal() doesn't make it past the > + first prologue -> body transition. */ The rs6000 contains this: if (lim_pc == 0) lim_pc = refine_prologue_limit (pc, lim_pc); which I believe scores as a ``Not not true'' :-) More seriously, what's the case you've encountered? GDB should be using the dwarf2 debug info when setting the prologue breakpoint[s], how hard is it to do that? Andrew PS: I'd keep the two comments separate, M-w or indent will merge them :-)