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.

> 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 ;-)


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