From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15879 invoked by alias); 20 Jan 2002 18:38:25 -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 15847 invoked from network); 20 Jan 2002 18:38:25 -0000 Received: from unknown (HELO localhost.cygnus.com) (24.114.42.213) by sources.redhat.com with SMTP; 20 Jan 2002 18:38:25 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.cygnus.com (Postfix) with ESMTP id 3CE1C3F0A; Sun, 20 Jan 2002 13:38:25 -0500 (EST) Message-ID: <3C4B0EA1.90403@cygnus.com> Date: Sun, 20 Jan 2002 10:38:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.7) Gecko/20020103 X-Accept-Language: en-us MIME-Version: 1.0 To: Eli Zaretskii Cc: gdb-patches@sources.redhat.com, mrg@redhat.com Subject: Re: [patch/rfc] Don't assume the host References: <3C4AFA9D.6050603@cygnus.com> <2950-Sun20Jan2002202236+0200-eliz@is.elta.co.il> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-01/txt/msg00578.txt.bz2 > Date: Sun, 20 Jan 2002 12:13:01 -0500 >> From: Andrew Cagney >> >> Much of ``Porting GDB'' also appears in ``Host Definition''. The two >> could do with some rationalization. > > > The way I see it, "Porting GDB" is a cookbook: it should list the > necessary steps without explaining their rationale too much. It > should refer to "Host Definition" for more info, wherever appropriate. > "Host Definition", by contrast, should explain as much as possible > each of the components of the host definition machinery. Ah, ok. Yes, that makes sense. Should ``Porting GDB'' be moved to before the host, architecture and target sections (and add a native section?). That way the user is lead into the other chapters. Porting GDB being a brief overview. >> host - the machine GDB will run on >> build - the machine your compiling GDB on >> target - the machine that GDB will debug >> >> Native is a special case where host==target. >> Cross is where host!=target > > > Yes, I know that, but I still don't understand what is ``host only''. > According to what you say now, such a beast does not exist, since > there cannot be a GDB without a target ;-) Yes. Good point. ``host only'' is a backward way of saying a GDB supporting a ``non native target''. More to rewrite. Andrew