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: Andrew Cagney <ac131313 at cygnus dot com>
- To: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Cc: gdb-patches at sources dot redhat dot com, mrg at redhat dot com
- Date: Sun, 20 Jan 2002 12:13:01 -0500
- Subject: Re: [patch/rfc] Don't assume the host
- References: <Pine.SUN.3.91.1020120102829.8679O@is>
> On Fri, 18 Jan 2002, Andrew Cagney wrote:
>
>
>> this time it includes updates to gdbint.texinfo (Eli?).
>
>
> Approved.
>
>
>> One thing I noticed in tweeking the doco is that there is a mysterious
>> but almost useless chapter ``Porting GDB''. The information that
>> chapter provides is also present elsewhere in a more complete form.
>
>
> What is that other chapter?
Much of ``Porting GDB'' also appears in ``Host Definition''. The two
could do with some rationalization.
>> + New host only configurations do not need this file.
>
>
> What is a ``host only configuration''? Is it an a.k.a. for
> ``native''? I'm not sure, since you later say
I suspect strictly speaking I've used the correct technical word but the
usage isn't exactly mainstream.
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
Adding to the problems is (as I've now documented) the way GDB uses HOST
when it probably means NATIVE! This one really messes up people playing
with GDBSERVER.
>> ! New host and native configurations do not need this file.
>
>
> Otherwise, I have no comments.
Thanks!
Andrew