From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25617 invoked by alias); 6 Oct 2004 17:48:39 -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 25590 invoked from network); 6 Oct 2004 17:48:38 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 6 Oct 2004 17:48:38 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.10) with ESMTP id i96HmXrb000794 for ; Wed, 6 Oct 2004 13:48:38 -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 i96HmRr30275; Wed, 6 Oct 2004 13:48:27 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id D84E528D2; Wed, 6 Oct 2004 13:48:11 -0400 (EDT) Message-ID: <41642FDB.8090603@gnu.org> Date: Wed, 06 Oct 2004 17:48:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040831 MIME-Version: 1.0 To: Andrew Cagney Cc: Eli Zaretskii , gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] Deprecate sym_private, obj_private, and sym_stab_info References: <41632DA5.9080508@gnu.org> <01c4ab97$Blat.v2.2.2$87f7ec80@zahav.net.il> <41642E83.8030207@gnu.org> In-Reply-To: <41642E83.8030207@gnu.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-10/txt/msg00120.txt.bz2 >> Can you or someone else please show an example of how to convert the >> deprecated code to using the per-objfile data pointers, or point to a >> message in the archives that includes such examples? TIA, and sorry >> if this information was already posted and I missed it. > > > Check for calls to objfile_data. mips-tdep.c, for instance, uses it. The basic pattern is the same as per-arch data. PS: I'll add this as a comment. Andrew