From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1517 invoked by alias); 22 Apr 2004 14:47:25 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 1510 invoked from network); 22 Apr 2004 14:47:25 -0000 Received: from unknown (HELO localhost.redhat.com) (24.157.170.238) by sources.redhat.com with SMTP; 22 Apr 2004 14:47:25 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 1E4A12B9D; Thu, 22 Apr 2004 10:47:11 -0400 (EDT) Message-ID: <4087DAEE.30603@gnu.org> Date: Thu, 22 Apr 2004 14:57:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: Jim Blandy Cc: Roland McGrath , Randolph Chung , Joel Brobecker , gdb@sources.redhat.com Subject: Re: add-symbol-file-from-memory patch breaks non-elf targets? References: <200404210709.i3L795Cx002971@magilla.sf.frob.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-04/txt/msg00135.txt.bz2 > I messed around with it, and I couldn't find a good place either. How > about creating a new file, elf-tdep.c, putting the code there, and > having linux.mt add elf-tdep.o to the link? It really isn't OSABI specific so *-tdep.c would be wrong (-tdep is a misleading suffix). Something like solib-mem.c comes to mind but that is still a hack. Andrew