From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16664 invoked by alias); 3 Jun 2002 18:49:08 -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 16657 invoked from network); 3 Jun 2002 18:49:07 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 3 Jun 2002 18:49:07 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id B3EFA3D2D; Mon, 3 Jun 2002 14:49:19 -0400 (EDT) Message-ID: <3CFBBA2F.8090203@cygnus.com> Date: Mon, 03 Jun 2002 11:49:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0rc3) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Jacobowitz Cc: Michael Snyder , gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] Switch to generic_func_frame_chain_valid() References: <3CF948A6.5020500@cygnus.com> <20020602171844.GA9027@branoic.them.org> <3CFB6F53.50205@cygnus.com> <3CFBAC77.5B3AADD3@redhat.com> <20020603181255.GA28813@branoic.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-06/txt/msg00047.txt.bz2 > > Assuming Andrew meant custom f-c-valid functions, then there are > several; all of them just add additional restrictions on the PC instead > of taking away. So I will update them to call the generic function > after they perform their additional checks, instead of duplicating. > Sound good? Yes. Hmm, or the reverse - have a generic frame_chain_valid() call a custom one if/when one is present. That way, we don't rely on the per-architecture variant remembering to also call the generic one. Andrew