From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Eli Zaretskii Cc: Michael Elizabeth Chastain , gdb@sourceware.cygnus.com, ischis2@home.com Subject: Re: How do you use GDB to debug GDB Date: Wed, 21 Mar 2001 15:59:00 -0000 Message-id: <3AB78AA3.A534B844@cygnus.com> References: X-SW-Source: 2001-03/msg00200.html > One thing puzzles me, though: why is the section "Debugging GDB with > itself" in gdbint.texinfo instead of gdb.texinfo? Is there any reason > not to move (or copy) it to gdb.texinfo? Can some of the elders > please shed some light on this? To expand a little on Michael's comment. gdbint.texinfo is for internals - the things you see when you lift the bonnet (1) and start poking around with the engine. gdb.texinfo is for the user - the external interfaces to GDB. If anyone has ever wondered why the remote protocol is documented in gdb.texinfo and not gdbint.texinfo then this is it - it is an external interface to gdb. To get carried away with the car metaphore, its a bit like the section of the manual which tries to explain how it is possible to change a flat using just the spare and tools all hidden somewhere in the boot (2). As a complete asside, it has also been suggested that the two documents be merged. From memory GCC did this. Andrew (1) Hood for the geographically impaired. (2) Trunk for the geographically impaired.