README 1.2 KB

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