From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 384 invoked by alias); 29 Jan 2003 18:08:16 -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 363 invoked from network); 29 Jan 2003 18:08:15 -0000 Received: from unknown (HELO localhost.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 29 Jan 2003 18:08:15 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 35D4C4074 for ; Wed, 29 Jan 2003 13:08:14 -0500 (EST) Message-ID: <3E38188E.3080708@redhat.com> Date: Wed, 29 Jan 2003 18:08:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.1) Gecko/20021211 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] Add predicates to FRAME_CHAIN() and FRAME_SAVED_PC() References: <3E36FD36.5080102@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-01/txt/msg00779.txt.bz2 > 2003-01-28 Andrew Cagney > > * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P. > (legacy_get_prev_frame): Assert FRAME_CHAIN_P. > (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame. > (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P. > * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate. > (FRAME_SAVED_PC): Change to a function with predicate. > * gdbarch.h, gdbarch.c: Re-generate. > I've checked this in. Andrew