From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19413 invoked by alias); 18 Jan 2003 17:21:57 -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 19062 invoked from network); 18 Jan 2003 17:21:52 -0000 Received: from unknown (HELO localhost.redhat.com) (24.157.209.173) by sources.redhat.com with SMTP; 18 Jan 2003 17:21:52 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 88D253EEC; Sat, 18 Jan 2003 12:21:45 -0500 (EST) Message-ID: <3E298D29.5040704@redhat.com> Date: Sat, 18 Jan 2003 17:21: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: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] Add frame unwinder registrary References: <3E271A4C.9080506@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-01/txt/msg00666.txt.bz2 I've checked this in (while also carefully keeping an eye on the time :-) Andrew > 2003-01-16 Andrew Cagney > > * dummy-frame.h (dummy_frame_id_unwind): Delete declaration. > (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. > (struct frame_unwind): Declare opaque. > (dummy_frame_p): Declare function. > * dummy-frame.c (dummy_frame_id_unwind): Make static. > (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. > * dummy-frame.c: Include "frame-unwind.h". > (dummy_frame_p): New function. > (dummy_frame_unwind): New variable. > * frame.c: Include "frame-unwind.h". > (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update > to use the new unwind field. > (set_unwind_by_pc): Delete function. > (create_new_frame, get_prev_frame): Set unwind field using > frame_unwind_find_by_pc. > (trad_frame_unwind, trad_frame_unwinder): New variables. > * frame.h (trad_frame_unwind): Declare variable. > (frame_id_unwind_ftype): Delete declaration. > (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto. > (struct frame_unwind): Declare opaque. > (struct frame_info): Replace the fields id_unwind, pc_unwind and > register_unwind with a single unwind pointer. > * frame-unwind.h, frame-unwind.c: New files. > * Makefile.in (SFILES): Add frame-unwind.c. > (frame_unwind_h): Define. > (COMMON_OBS): Add frame-unwind.o. > (frame-unwind.o): Specify dependencies. > (frame.o, dummy-frame.o): Update dependencies. >