This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/rfc] Don't assume the host
- From: "Eli Zaretskii" <eliz at is dot elta dot co dot il>
- To: ac131313 at cygnus dot com
- Cc: gdb-patches at sources dot redhat dot com, mrg at redhat dot com
- Date: Sun, 20 Jan 2002 20:22:37 +0200
- Subject: Re: [patch/rfc] Don't assume the host
- References: <Pine.SUN.3.91.1020120102829.8679O@is> <3C4AFA9D.6050603@cygnus.com>
- Reply-to: Eli Zaretskii <eliz at is dot elta dot co dot il>
> 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 ;-)