The release also includes the source for the reference card. You can format it, using TEX, by typing: make refcard.dvi.
The GDB reference card is designed to print in landscape mode on US letter size paper; that is, on a sheet 11 inches wide by 8.5 inches high. You will need to specify this form of printing as an option to your DVI output program. All the documentation for GDB comes as part of the machine-readable distribution. The documentation is written in Texinfo format, which is a documentation system that uses a single source file to produce both online information and a printed manual. You can use one of the Info formatting commands to create the online version of the documentation and TEX (or texi2roff) to typeset the printed version. GDB includes an already formatted copy of the online Info version of this manual in the gdb subdirectory. The main Info file is gdb-version-number/gdb/gdb.info, and it refers to subordinate files matching gdb.info* in the same directory. If necessary, you can print out these files, or read them with any editor; but they are easier to read using the info subsystem in GNU Emacs or the standalone info program, available as part of the GNU Texinfo distribution. If you want to format these files yourself, you need one of the Info formatting programs, such as texinfo-format-buffer or makeinfo.
If you have makeinfo
installed, and are in the top level GDB source directory, you can make
the file by typing:
texinfo.tex is distributed with GDB.
It is located in the gdb- version-number/texinfo directory.
If you have TEX
and a DVI printer program installed, you can typeset and print this manual.
First switch to the the gdb
subdirectory of the main source directory and then type: make
gdb.dvi.