From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15255 invoked by alias); 6 Mar 2002 17:35:49 -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 15108 invoked from network); 6 Mar 2002 17:35:47 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 6 Mar 2002 17:35:47 -0000 Received: from cse.cygnus.com (cse.cygnus.com [205.180.230.236]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id JAA19936; Wed, 6 Mar 2002 09:35:44 -0800 (PST) Received: (from kev@localhost) by cse.cygnus.com (8.11.6/8.11.6) id g26HZLF23203; Wed, 6 Mar 2002 10:35:21 -0700 Date: Wed, 06 Mar 2002 09:35:00 -0000 From: Kevin Buettner Message-Id: <1020306173521.ZM23202@localhost.localdomain> In-Reply-To: Andreas Schwab "Re: [RFA] Re: x86-64-tdep.h cleanup" (Mar 6, 6:24pm) References: <3C84EAA8.2000900@suse.cz> <3C8647D7.40302@suse.cz> X-Mailer: Z-Mail (4.0.1 13Jan97 Caldera) To: Andreas Schwab , Michal Ludvig Subject: Re: [RFA] Re: x86-64-tdep.h cleanup Cc: gdb-patches@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-03/txt/msg00075.txt.bz2 On Mar 6, 6:24pm, Andreas Schwab wrote: > Michal Ludvig writes: > > |> Andreas Schwab wrote: > |> > I think the registration of the Linux specific gdbarch functions should be > |> > moved to x86-64-linux-tdep.c. > |> > |> It seems reasonable. Perhaps I can do it like in the attachment? > > No, x86-64-tdep.c should not have _any_ reference to > x86-64-linux-tdep.c. The former must be usable without the latter. How is that possible though? I've studied this problem for other targets and have (up to now, anyway) concluded that the main tdep.c file is going to need to know about the (OS or ABI) variants in some fashion. Kevin