gdb-2.4+.aux.coff
[external/binutils.git] / gdb / README
1 This is GDB, a source-level debugger intended for GNU,
2 presently running under un*x.
3
4 Before compiling GDB, you must set three files according to
5 the kind of machine you are running on.
6
7 param.h must be set up to #include an m- file for the machine.
8 The m- files written so far are m-vax.h, m-sun2.h and m-sun3.h.
9 (I believe that it is the operating system version and not
10 the cpu type which determines which of the two is right on a Sun.)
11 This file contains macro definitions that express information
12 about the machine's registers, stack frame format and instructions.
13
14 initialize.h must be set up to #include an m-...init.h file.
15 There are two of them written: m-vaxinit.h and m-suninit.h.
16 This file defines one macro, which says how to round up from the
17 address of the end of the text of one .o file to the beginning of
18 the text of the next .o file.
19
20 pinsn.c must be set up to include the instruction printer for
21 your cpu type.  The two printers that exist are vax-pinsn.c
22 and m68k-pinsn.c.
23
24 `Makefile' must be changed to say `OBSTACK = obstack.o' instead of
25 `OBSTACK=-lobstack' (unless you want to install obstack.o as
26 /lib/libobstack.a).
27
28 Once these files are set up, just `make' will do everything,
29 producing an executable `gdb' in this directory.