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


> 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


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