This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch/rfc] Don't assume the host


> Date: Sun, 20 Jan 2002 12:13:01 -0500
>> From: Andrew Cagney <ac131313@cygnus.com>
>> 
>> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]