From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25751 invoked by alias); 17 Oct 2003 13:57:22 -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 25708 invoked from network); 17 Oct 2003 13:57:20 -0000 Received: from unknown (HELO localhost.redhat.com) (65.49.0.121) by sources.redhat.com with SMTP; 17 Oct 2003 13:57:20 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id CDD9F2B89 for ; Fri, 17 Oct 2003 09:57:21 -0400 (EDT) Message-ID: <3F8FF541.1020902@redhat.com> Date: Fri, 17 Oct 2003 13:57:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] Simplify target stack References: <3F8DCC3A.4030201@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-10/txt/msg00586.txt.bz2 > 2003-10-15 Andrew Cagney > > * target.c (target_stack): Change to a static target_ops. > (update_current_target): Walk the "struct target_ops" stack. > (pop_target, do_xfer_memory, target_info): Ditto. > (find_target_beneath): Ditto. > (push_target): Rewrite to use the "struct target_ops" stack. > (unpush_target): Ditto. > * target.h (struct target_stack_item): Delete definition. > (target_stack): Delete declaration. > (struct target_ops): Add field "beneath". > I've checked this in. Andrew