File:  [CSRG BSD Unix] / 43BSDReno / contrib / emacs-18.55 / gdb / README
Revision 1.1: download - view: text, annotated - select for diffs
Tue Apr 24 16:12:57 2018 UTC (8 years, 1 month ago) by root
CVS tags: MAIN, HEAD
Initial revision

This is GDB, a source-level debugger intended for GNU,
presently running under un*x.

Before compiling GDB, you must set up links to four files according to
the kind of machine you are running on.  To do this, type `config.gdb
machine', where machine is something like `vax' or `sun2'.  This
creates links named `param.h', `m-init.h', `opcode.h', and `pinsn.c'.
(Note: we lack information on certain machines.)

Also, `Makefile' must be changed to say `OBSTACK = obstack.o' instead
of `OBSTACK=-lobstack' (unless you want to install obstack.o as
/lib/libobstack.a).

Once these files are set up, just `make' will do everything,
producing an executable `gdb' in this directory.

About the machine-dependent files...

m-<machine>.h

This file contains macro definitions that express information
about the machine's registers, stack frame format and instructions.

m-<machine>init.h

This file defines one macro, which says how to round up from the
address of the end of the text of one .o file to the beginning of
the text of the next .o file.

<machine>-opcode.h, <machine>-pinsn.c
These files contain the information necessary to print instructions
for your cpu type.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.