binutils-gdb/gdb
1991-05-03 06:06:53 +00:00
..
Attic Initial revision 1991-04-11 03:07:16 +00:00
config * xconfig/i386v{,32}{,-g}: Add XM_CFLAGS=-Dgetpagesize()=4096. 1991-04-26 22:55:42 +00:00
doc Minor adjustments for clean info-formatting. 1991-04-15 20:30:47 +00:00
vx-share Johns release 1991-03-28 16:28:29 +00:00
.gdbinit Johns release 1991-03-28 16:28:29 +00:00
alldeps.mak *** empty log message *** 1991-04-26 23:09:52 +00:00
alloca.c Johns release 1991-03-28 16:28:29 +00:00
altos-xdep.c Johns release 1991-03-28 16:28:29 +00:00
am29k-opcode.h Johns release 1991-03-28 16:28:29 +00:00
am29k-pinsn.c Johns release 1991-03-28 16:28:29 +00:00
am29k-tdep.c Johns release 1991-03-28 16:28:29 +00:00
ansidecl.h Johns release 1991-03-28 16:28:29 +00:00
arm-convert.s Johns release 1991-03-28 16:28:29 +00:00
arm-opcode.h Initial revision 1991-04-19 23:37:08 +00:00
arm-pinsn.c Johns release 1991-03-28 16:28:29 +00:00
arm-tdep.c Initial revision 1991-03-28 16:26:26 +00:00
arm-xdep.c Johns release 1991-03-28 16:28:29 +00:00
blockframe.c * blockframe.c, frame.h (reinit_frame_cache): New function. 1991-04-24 16:56:40 +00:00
breakpoint.c Check for NULL selected_frame in various places. 1991-04-22 20:08:53 +00:00
breakpoint.h Initial revision 1991-03-28 16:26:26 +00:00
ChangeLog *** empty log message *** 1991-05-03 06:06:53 +00:00
ChangeLog-3.x Initial revision 1991-03-28 16:26:26 +00:00
coffread.c Make it run on wingnut (88k, DGUX). Complete list of changes in the ChangeLog. 1991-05-03 06:02:03 +00:00
command.c The list of changes is too long to fit in the cvs log (since it truncates!). 1991-05-02 04:28:42 +00:00
command.h Initial revision 1991-03-28 16:26:26 +00:00
config.gdb *** empty log message *** 1991-04-05 09:02:10 +00:00
config.status Johns release 1991-03-28 16:28:29 +00:00
configure Now handles multiple hosts and targets. 1991-04-15 23:46:50 +00:00
configure.in Now handles multiple hosts and targets. 1991-04-15 23:46:50 +00:00
convex-opcode.h Johns release 1991-03-28 16:28:29 +00:00
convex-pinsn.c *** empty log message *** 1991-04-05 09:02:10 +00:00
convex-tdep.c Johns release 1991-03-28 16:28:29 +00:00
convex-xdep.c Johns release 1991-03-28 16:28:29 +00:00
Convex.notes Johns release 1991-03-28 16:28:29 +00:00
convx-opcode.h Initial revision 1991-04-05 09:01:15 +00:00
COPYING Initial revision 1991-03-28 16:26:26 +00:00
copying.awk Initial revision 1991-03-28 16:26:26 +00:00
copying.c *** empty log message *** 1991-04-26 23:09:52 +00:00
core.c The list of changes is too long to fit in the cvs log (since it truncates!). 1991-05-02 04:28:42 +00:00
coredep.c Johns release 1991-03-28 16:28:29 +00:00
cplus-dem.c * cplus-dem.c [__STDC__]: Make x{m,re}alloc return void*. 1991-05-03 06:03:54 +00:00
createtags Johns release 1991-03-28 16:28:29 +00:00
dbxread.c The list of changes is too long to fit in the cvs log (since it truncates!). 1991-05-02 04:28:42 +00:00
defs.h The list of changes is too long to fit in the cvs log (since it truncates!). 1991-05-02 04:28:42 +00:00
depend *** empty log message *** 1991-05-02 06:46:25 +00:00
environ.c Merge devo/bfd with GDB's bfd. 1991-05-02 03:39:15 +00:00
environ.h Initial revision 1991-03-28 16:26:26 +00:00
eval.c * eval.c (evaluate_subexp, case UNOP_LOGNOT): If following opcode 1991-04-26 22:59:54 +00:00
exec.c Check for NULL selected_frame in various places. 1991-04-22 20:08:53 +00:00
expprint.c * vax-opcode.h, expread.y, expprint.c, cplus-dem.c: Declare some 1991-04-26 22:57:07 +00:00
expread.tab.c *** empty log message *** 1991-05-02 04:38:14 +00:00
expread.y The list of changes is too long to fit in the cvs log (since it truncates!). 1991-05-02 04:28:42 +00:00
expression.h Initial revision 1991-03-28 16:26:26 +00:00
findvar.c The list of changes is too long to fit in the cvs log (since it truncates!). 1991-05-02 04:28:42 +00:00
frame.h Initial revision 1991-03-28 16:26:26 +00:00
gdb-int.texinfo Initial revision 1991-03-28 16:26:26 +00:00
gdbcmd.h Initial revision 1991-03-28 16:26:26 +00:00
gdbcore.h The list of changes is too long to fit in the cvs log (since it truncates!). 1991-05-02 04:28:42 +00:00
getpagesize.h Johns release 1991-03-28 16:28:29 +00:00
gmalloc.c gmalloc.c: #if 0 out !HAVE_GETPAGESIZE code. 1991-04-26 22:56:08 +00:00
gmalloc.h Johns release 1991-03-28 16:28:29 +00:00
gould-pinsn.c Johns release 1991-03-28 16:28:29 +00:00
gould-xdep.c Johns release 1991-03-28 16:28:29 +00:00
hp300hpux-xdep.c Johns release 1991-03-28 16:28:29 +00:00
hp300ux-xdep.c Initial revision 1991-04-05 09:01:15 +00:00
i386-pinsn.c * i386-pinsn.c (OP_E): Change %d to 0x%x for consistency. 1991-04-19 07:06:13 +00:00
i386-tdep.c * findvar.c (read_register_gen): Add "target byte-order" comment. 1991-04-20 03:57:50 +00:00
i386-xdep.c Johns release 1991-03-28 16:28:29 +00:00
i960-pinsn.c Johns release 1991-03-28 16:28:29 +00:00
i960-tdep.c Johns release 1991-03-28 16:28:29 +00:00
ieee-float.c The list of changes is too long to fit in the cvs log (since it truncates!). 1991-05-02 04:28:42 +00:00
ieee-float.h Johns release 1991-03-28 16:28:29 +00:00
infcmd.c The list of changes is too long to fit in the cvs log (since it truncates!). 1991-05-02 04:28:42 +00:00
inferior.h Initial revision 1991-03-28 16:26:26 +00:00
inflow.c Check for NULL selected_frame in various places. 1991-04-22 20:08:53 +00:00
infptrace.c Mips bringup and general cleanup 1991-05-03 01:07:12 +00:00
infrun.c The list of changes is too long to fit in the cvs log (since it truncates!). 1991-05-02 04:28:42 +00:00
infrun.hacked.c Initial revision 1991-04-05 09:01:15 +00:00
inftarg.c The list of changes is too long to fit in the cvs log (since it truncates!). 1991-05-02 04:28:42 +00:00
kdb-start.c Johns release 1991-03-28 16:28:29 +00:00
m68k-opcode.h Johns release 1991-03-28 16:28:29 +00:00
m68k-pinsn.c Johns release 1991-03-28 16:28:29 +00:00
m68k-stub.c Initial revision 1991-04-11 11:23:14 +00:00
m68k-tdep.c Initial revision 1991-03-28 16:26:26 +00:00
m88k-opcode.h Make it run on wingnut (88k, DGUX). Complete list of changes in the ChangeLog. 1991-05-03 06:02:03 +00:00
m88k-pinsn.c Make it run on wingnut (88k, DGUX). Complete list of changes in the ChangeLog. 1991-05-03 06:02:03 +00:00
m88k-tdep.c Make it run on wingnut (88k, DGUX). Complete list of changes in the ChangeLog. 1991-05-03 06:02:03 +00:00
m88k-xdep.c Make it run on wingnut (88k, DGUX). Complete list of changes in the ChangeLog. 1991-05-03 06:02:03 +00:00
main.c The list of changes is too long to fit in the cvs log (since it truncates!). 1991-05-02 04:28:42 +00:00
Makefile.dist The list of changes is too long to fit in the cvs log (since it truncates!). 1991-05-02 04:28:42 +00:00
Makefile.in The list of changes is too long to fit in the cvs log (since it truncates!). 1991-05-02 04:28:42 +00:00
Makefile.sdir Initial revision 1991-04-22 20:36:28 +00:00
Makefile.srcdir Johns release 1991-03-28 16:28:29 +00:00
mcheck.c Johns release 1991-03-28 16:28:29 +00:00
mem-break.c Initial revision 1991-03-28 16:26:26 +00:00
mips-opcode.h * param-no-tm.h: Make BITS_BIG_ENDIAN defined to 0/1, not defined 1991-04-29 05:27:04 +00:00
mips-pinsn.c Johns release 1991-03-28 16:28:29 +00:00
mips-tdep.c Initial revision 1991-03-28 16:26:26 +00:00
mips-xdep.c *** empty log message *** 1991-04-19 03:22:12 +00:00
mipsread.c Mips bringup and general cleanup 1991-05-03 01:07:12 +00:00
mtrace.awk Initial revision 1991-04-05 09:01:15 +00:00
mtrace.c * mtrace.c: Don't typedef things like size_t, just #define them. 1991-05-03 06:04:13 +00:00
munch Johns release 1991-03-28 16:28:29 +00:00
news-xdep.c Johns release 1991-03-28 16:28:29 +00:00
nindy-tdep.c Johns release 1991-03-28 16:28:29 +00:00
np1-opcode.h Johns release 1991-03-28 16:28:29 +00:00
ns32k-opcode.h Johns release 1991-03-28 16:28:29 +00:00
ns32k-pinsn.c Johns release 1991-03-28 16:28:29 +00:00
obstack.c Johns release 1991-03-28 16:28:29 +00:00
obstack.h Johns release 1991-03-28 16:28:29 +00:00
param-no-tm.h * param-no-tm.h: Make BITS_BIG_ENDIAN defined to 0/1, not defined 1991-04-29 05:27:04 +00:00
param.h The list of changes is too long to fit in the cvs log (since it truncates!). 1991-05-02 04:28:42 +00:00
pn-opcode.h Johns release 1991-03-28 16:28:29 +00:00
printcmd.c The list of changes is too long to fit in the cvs log (since it truncates!). 1991-05-02 04:28:42 +00:00
Projects *** empty log message *** 1991-04-05 09:02:10 +00:00
putenv.c Initial revision 1991-04-19 03:22:06 +00:00
pyr-opcode.h Johns release 1991-03-28 16:28:29 +00:00
pyr-pinsn.c Johns release 1991-03-28 16:28:29 +00:00
pyr-tdep.c Johns release 1991-03-28 16:28:29 +00:00
pyr-xdep.c Johns release 1991-03-28 16:28:29 +00:00
README Initial revision 1991-03-28 16:26:26 +00:00
regex.c Johns release 1991-03-28 16:28:29 +00:00
regex.h Johns release 1991-03-28 16:28:29 +00:00
rem-m68k.shar Initial revision 1991-04-05 09:01:15 +00:00
rem-multi.shar Initial revision 1991-04-05 09:01:15 +00:00
remote-eb.c * target.h: Add to_doc and target_preopen. 1991-04-19 01:36:57 +00:00
remote-multi.shar Johns release 1991-03-28 16:28:29 +00:00
remote-nindy.c * target.h: Add to_doc and target_preopen. 1991-04-19 01:36:57 +00:00
remote-sa.m68k.shar Initial revision 1991-03-28 16:26:26 +00:00
remote-sa.sparc.c Initial revision 1991-04-05 09:01:15 +00:00
remote-vx.68.c * inftarg.c (child_open), remote-vx{,.68}.c (vx_proc_open): 1991-04-19 01:34:30 +00:00
remote-vx.c * inftarg.c (child_open), remote-vx{,.68}.c (vx_proc_open): 1991-04-19 01:34:30 +00:00
remote.c The list of changes is too long to fit in the cvs log (since it truncates!). 1991-05-02 04:28:42 +00:00
saber.suppress Johns release 1991-03-28 16:28:29 +00:00
signals.h Johns release 1991-03-28 16:28:29 +00:00
signame.c * signame.c: Cast const char* to char* when assigning to sys_siglist. 1991-05-03 06:02:52 +00:00
signame.h Johns release 1991-03-28 16:28:29 +00:00
solib.c The list of changes is too long to fit in the cvs log (since it truncates!). 1991-05-02 04:28:42 +00:00
source.c * source.c: Rename directories_info to show_directories. 1991-04-19 01:38:14 +00:00
sparc-opcode.h Johns release 1991-03-28 16:28:29 +00:00
sparc-pinsn.c Johns release 1991-03-28 16:28:29 +00:00
sparc-tdep.c *** empty log message *** 1991-04-23 01:11:11 +00:00
sparc-xdep.c Johns release 1991-03-28 16:28:29 +00:00
stab.def Johns release 1991-03-28 16:28:29 +00:00
stack.c The list of changes is too long to fit in the cvs log (since it truncates!). 1991-05-02 04:28:42 +00:00
standalone.c Johns release 1991-03-28 16:28:29 +00:00
stddef.h * stddef.h (size_t): Let either _SIZE_T or _SIZE_T_ guard it. 1991-04-20 03:25:09 +00:00
stdlib.h Johns release 1991-03-28 16:28:29 +00:00
stuff.c Johns release 1991-03-28 16:28:29 +00:00
sun3-xdep.c * sun3-xdep.c, tm-sun3.h, tm-68k.h: Change TARGET_SUN3 to 1991-04-30 19:50:49 +00:00
sun386-xdep.c * sun386-xdep.c [!GDB_TARGET_IS_SUN386]: Just provide empty 1991-04-30 19:49:40 +00:00
symfile.c The list of changes is too long to fit in the cvs log (since it truncates!). 1991-05-02 04:28:42 +00:00
symfile.h * symfile.c (fill_in_vptr_fieldno): Don't call check_stub_type. 1991-04-26 23:07:03 +00:00
symm-tdep.c Initial revision 1991-04-05 09:01:15 +00:00
symm-xdep.c Initial revision 1991-04-05 09:01:15 +00:00
symmetry-tdep.c Johns release 1991-03-28 16:28:29 +00:00
symmetry-xdep.c Johns release 1991-03-28 16:28:29 +00:00
symmisc.c * symfile.c (clear_symtab_users_once, cashier_psymtab, 1991-04-19 01:10:52 +00:00
symtab.c The list of changes is too long to fit in the cvs log (since it truncates!). 1991-05-02 04:28:42 +00:00
symtab.h Make it run on wingnut (88k, DGUX). Complete list of changes in the ChangeLog. 1991-05-03 06:02:03 +00:00
tahoe-opcode.h Initial revision 1991-04-29 05:28:45 +00:00
tahoe-pinsn.c Initial revision 1991-04-29 05:28:45 +00:00
target.c The list of changes is too long to fit in the cvs log (since it truncates!). 1991-05-02 04:28:42 +00:00
target.h *** empty log message *** 1991-04-19 01:58:50 +00:00
tdesc.c Johns release 1991-03-28 16:28:29 +00:00
tdesc.h Johns release 1991-03-28 16:28:29 +00:00
terminal.h Initial revision 1991-03-28 16:26:26 +00:00
tm-3b1.h Johns release 1991-03-28 16:28:29 +00:00
tm-29k.h Johns release 1991-03-28 16:28:29 +00:00
tm-68k.h The list of changes is too long to fit in the cvs log (since it truncates!). 1991-05-02 04:28:42 +00:00
tm-altos.h Johns release 1991-03-28 16:28:29 +00:00
tm-altosgas.h Johns release 1991-03-28 16:28:29 +00:00
tm-arm.h Johns release 1991-03-28 16:28:29 +00:00
tm-bigmips.h Johns release 1991-03-28 16:28:29 +00:00
tm-convex.h Johns release 1991-03-28 16:28:29 +00:00
tm-hp300bsd.h Johns release 1991-03-28 16:28:29 +00:00
tm-hp300hpux.h Johns release 1991-03-28 16:28:29 +00:00
tm-i386v-g.h * tm-i386v{,-g}.h: Remove N_SET_MAGIC define. 1991-04-22 04:45:26 +00:00
tm-i386v.h * tm-i386v{,-g}.h: Remove N_SET_MAGIC define. 1991-04-22 04:45:26 +00:00
tm-i960.h Johns release 1991-03-28 16:28:29 +00:00
tm-isi.h Johns release 1991-03-28 16:28:29 +00:00
tm-m88k.h Make it run on wingnut (88k, DGUX). Complete list of changes in the ChangeLog. 1991-05-03 06:02:03 +00:00
tm-merlin.h Johns release 1991-03-28 16:28:29 +00:00
tm-mips.h Johns release 1991-03-28 16:28:29 +00:00
tm-news.h Johns release 1991-03-28 16:28:29 +00:00
tm-nindy960.h Johns release 1991-03-28 16:28:29 +00:00
tm-np1.h Johns release 1991-03-28 16:28:29 +00:00
tm-pn.h Johns release 1991-03-28 16:28:29 +00:00
tm-pyr.h Johns release 1991-03-28 16:28:29 +00:00
tm-sparc.h The list of changes is too long to fit in the cvs log (since it truncates!). 1991-05-02 04:28:42 +00:00
tm-sun2.h Johns release 1991-03-28 16:28:29 +00:00
tm-sun2os4.h Johns release 1991-03-28 16:28:29 +00:00
tm-sun3.h * sun3-xdep.c, tm-sun3.h, tm-68k.h: Change TARGET_SUN3 to 1991-04-30 19:50:49 +00:00
tm-sun3os4.h Johns release 1991-03-28 16:28:29 +00:00
tm-sun4os4.h Johns release 1991-03-28 16:28:29 +00:00
tm-sun386.h * Move BROKEN_LARGE_ALLOCA from tm-sun386.h to xm-sun386.h. 1991-04-30 19:49:22 +00:00
tm-sunos.h * Shared libaray/corefile changes from Peter Schauer: 1991-04-23 00:05:24 +00:00
tm-symmetry.h Johns release 1991-03-28 16:28:29 +00:00
tm-tahoe.h Initial revision 1991-04-29 05:28:45 +00:00
tm-umax.h Johns release 1991-03-28 16:28:29 +00:00
tm-vax.h Johns release 1991-03-28 16:28:29 +00:00
tm-vx68.h Initial revision 1991-04-05 09:01:15 +00:00
tm-vx960.h Initial revision 1991-04-05 09:01:15 +00:00
tm-vxworks68.h Johns release 1991-03-28 16:28:29 +00:00
tm-vxworks960.h Johns release 1991-03-28 16:28:29 +00:00
TODO Johns release 1991-03-28 16:28:29 +00:00
umax-xdep.c Johns release 1991-03-28 16:28:29 +00:00
utils.c Make it run on wingnut (88k, DGUX). Complete list of changes in the ChangeLog. 1991-05-03 06:02:03 +00:00
valarith.c Initial revision 1991-03-28 16:26:26 +00:00
valops.c * valops.c (typecmp): If t2 == 0, return 1. 1991-04-26 23:02:15 +00:00
valprint.c Mips bringup and general cleanup 1991-05-03 01:07:12 +00:00
value.h * values.c, value.h: New functions value_{headof,from_vtable_info}. 1991-04-26 23:04:32 +00:00
values.c *** empty log message *** 1991-05-03 00:50:18 +00:00
vax-opcode.h * vax-opcode.h, expread.y, expprint.c, cplus-dem.c: Declare some 1991-04-26 22:57:07 +00:00
vax-pinsn.c Johns release 1991-03-28 16:28:29 +00:00
WHATS.NEW * WHATS.NEW: Remove mention of readline and more paging (in 3.5). 1991-04-24 19:30:10 +00:00
xm-3b1.h Johns release 1991-03-28 16:28:29 +00:00
xm-altos.h Johns release 1991-03-28 16:28:29 +00:00
xm-arm.h Johns release 1991-03-28 16:28:29 +00:00
xm-bigmips.h Johns release 1991-03-28 16:28:29 +00:00
xm-convex.h Johns release 1991-03-28 16:28:29 +00:00
xm-hp300bsd.h Johns release 1991-03-28 16:28:29 +00:00
xm-hp300hpux.h Johns release 1991-03-28 16:28:29 +00:00
xm-i386sco.h Initial revision 1991-04-05 09:01:15 +00:00
xm-i386v32.h Johns release 1991-03-28 16:28:29 +00:00
xm-i386v.h Johns release 1991-03-28 16:28:29 +00:00
xm-isi.h Johns release 1991-03-28 16:28:29 +00:00
xm-m88k.h Make it run on wingnut (88k, DGUX). Complete list of changes in the ChangeLog. 1991-05-03 06:02:03 +00:00
xm-merlin.h Johns release 1991-03-28 16:28:29 +00:00
xm-mips.h Johns release 1991-03-28 16:28:29 +00:00
xm-news1000.h Johns release 1991-03-28 16:28:29 +00:00
xm-news.h Johns release 1991-03-28 16:28:29 +00:00
xm-np1.h Johns release 1991-03-28 16:28:29 +00:00
xm-pn.h Johns release 1991-03-28 16:28:29 +00:00
xm-pyr.h Johns release 1991-03-28 16:28:29 +00:00
xm-sparc.h Johns release 1991-03-28 16:28:29 +00:00
xm-sun2.h Johns release 1991-03-28 16:28:29 +00:00
xm-sun3.h Johns release 1991-03-28 16:28:29 +00:00
xm-sun3os4.h Johns release 1991-03-28 16:28:29 +00:00
xm-sun4os4.h Johns release 1991-03-28 16:28:29 +00:00
xm-sun386.h * xm-sun386.h: Don't define SET_STACK_LIMIT_HUGE. 1991-05-02 04:37:28 +00:00
xm-symmetry.h Johns release 1991-03-28 16:28:29 +00:00
xm-tahoe.h * infrun.c: Don't include sys/user.h and friends (wrong for 1991-04-29 20:54:42 +00:00
xm-umax.h Johns release 1991-03-28 16:28:29 +00:00
xm-vax.h Johns release 1991-03-28 16:28:29 +00:00

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This is GDB, the GNU source-level debugger, presently running under
un*x.  This is a pre-alpha version of GDB version 4, and has NOT been
extensively tested.  It surely has some bugs, both bugs that were
present in version 3 and new bugs.  I have filed all the bug reports
and fixes mailed to bug-gdb, and the fixes in particular will move
into these sources as I find the time.

	      => THIS VERSION IS PARTICULARLY FRAGILE! <=

	It depends on a preliminary version of a new "binary file
	descriptor" library and a new global "include" directory, which
	are packaged separately from GDB.  You must obtain, configure
	and build this library manually, then configure and build gdb.
	When building gdb's for multiple platforms, you must manually
	rebuild the bfd library separately for each platform.  Yes, of
	course, we are working on this!  FIXME!

	Configure bfd for your host system by:

		cd ../bfd
		edit Makefile
		make

	Then you can cd ../gdb-whatever, and config and build gdb.

This release moves the generic GNU include files, the BFD library,
and the getopt routines into the parent directory of gdb.  The idea
is that a variety of GNU tools can share a common copy of these things.

A summary of features new since gdb-3.5 is in the file `WHATS.NEW'.

The best way to build GDB, in my opinion, is in a subdirectory.  I use
a naming convention "=XXX" where XXX is the machine type I'm building
for.  Nothing depends on this, it's just how I remember which
subdirectories are what.  So, once you have the BFD library built for
that machine, you can do:

	cd gdb-x.yy	(the directory where this README is)
	mkdir =XXX	(e.g. mkdir =vax)
	cd =XXX
	../config.gdb machine
	make

Machine is like "vax" or "sun4".  For more information type `../config.gdb'.

Once you have done that, just `make' will do everything, producing an
executable `gdb' in this directory.

You can also build gdb binaries in a completely different directory from its 
sources, by specifying "srcdir=YYY" to config.gdb, giving it an absolute
or relative path to the source directory.  

GDB can be used as a cross-debugger, running on a machine of one type
while debugging a program running on a machine of another type.  You
configure it this way by specifying `config.gdb host target' where host
is where GDB runs, and target is where your program runs.

If you want a new (current to this release) version of the manual, you
will have to use the gdb.texinfo file provided with this distribution.
For details see the texinfo manual (distributed with emacs and as a
printed manual).

About languages other than C...

C++ support has been integrated into gdb.  GDB should work with FORTRAN
programs (if you have problem, please send a bug report; note that you
may have to refer to some FORTRAN variables with a trailing
underscore), but I am not aware of anyone who is working on getting it
to use the syntax of any language other than C or C++.  Pascal programs
which use sets, subranges, file variables, or nested functions will not
currently work.

About kernel debugging...

I have't done this myself so I can't really offer any advice.
Remote debugging over serial lines is more like to be in a currently
functioning state than the standalone gdb (kdb).  FIXME.

About remote debugging...

[This section seems to be out of date, I have never seen the "rapp"
program, though I would like to.  FIXME.]
`rapp' runs under unix and acts as a remote stub (like remote-multi.shar
distributed with GDB version 3).  Currently it just works over UDP
(network), not over a serial line.  To get it running
* Compile GDB on the host machine as usual
* Compile rapp on the target machine, giving for both host and target
  the type of the target machine
* Install "gdb" in /etc/services on both machines.

This will get reworked before the initial release of 4.x.  FIXME.

The two files remote-multi.shar and remote-sa.m68k.shar contain two
examples of a remote stub to be used with remote.c.  The the -multi
file is a general stub that can probably be running on various
different flavors of unix to allow debugging over a serial line from
one machine to another.  The remote-sa.m68k.shar is designed to run
standalone on a 68k type cpu and communicate properley with the
remote.c stub over a serial line.

The files remote-eb.c and remote-nindy.c are two examples of remote
interfaces for talking to existing ROM monitors (for the AMD 29000 and the
Intel 960 repsectively).  There is also a remote interface for the
VxWorks realtime kernel, which communicates over TCP/IP, in remote-vx.c
and the vx-share subdirectory.

About reporting bugs...

The correct address for reporting bugs found with gdb is
"bug-gdb@prep.ai.mit.edu".  Please email all bugs to that address.

About xgdb...

Hopefully a new xgdb will be in 4.x.

xgdb.c was provided to us by the user community; it is not an integral
part of the gdb distribution.  The problem of providing visual
debugging support on top of gdb is peripheral to the GNU project and
(at least right now) we can't afford to put time into it.  So while we
will be happy to incorporate user fixes to xgdb.c, we do not guarantee
that it will work and we will not fix bugs reported in it.  See
XGDB-README for one person's opinion about what is wrong with the
current xgdb.  Someone is working on writing a new XGDB, so improving
(e.g. by fixing it so that it will work, if it doesn't currently) the
current one is not worth it.

For those intersted in auto display of source and the availability of
an editor while debugging I suggest trying gdb-mode in gnu-emacs
(Try typing M-x gdb RETURN).  Comments on this mode are welcome.

About the machine-dependent files...

tconfig/<machine>
This contains Makefile stuff for when the target system is <machine>.
It also specifies the name of the tm-XXX.h file for this machine.

xconfig/<machine>
This contains Makefile stuff for when the host system is <machine>.
It also specifies the name of the xm-XXX.h file for this machine.

tm-XXX.h (tm.h is a link to this file, created by config.gdb).
This file contains macro definitions that express information
about the target machine's registers, stack frame format and instructions.

xm-XXX.h (xm.h is a link to this file, created by config.gdb).
This contains macro definitions describing the host system environment,
such as byte order, host C compiler and library, ptrace support,
and core file structure.

<machine>-opcode.h
<machine>-pinsn.c
These files contain the information necessary to print instructions
for your cpu type.  <machine>-opcode.h includes some large initialized
data structures, which is strange for a ".h" file, but it's OK since
it is only included in one place.  <machine>-opcode.h is shared
between the debugger and the assembler (if the GNU assembler has been
ported to that machine), whereas <machine>-pinsn.c is specific to GDB.

<machine>-tdep.c
This file contains any miscellaneous code required for this machine
as a target.  On some machines it doesn't exist at all.  Its existence
is specified in the tconfig/XXX file.

<machine>-xdep.c
This file contains any miscellaneous code required for this machine
as a host.  On some machines it doesn't exist at all.  Its existence
is specified in the xconfig/XXX file.

infptrace.c
This is the low level interface to inferior processes for systems
using the Unix ptrace call in a vanilla way.  Some systems have their
own routines in <machine>-xdep.c.  Whether or not it is used
is specified in the xconfig/XXX file.

coredep.c
Machine and system-dependent aspects of reading core files.  Some
machines use coredep.c; some have the routines in <machine>-xdep.c.
Whether or not it is used is specified in the xconfig/XXX file.
Now that BFD is used to read core files, virtually all machines should
use coredep.c and should just provide fetch_core_registers in
<machine>-xdep.c.

exec.c 
Machine and system-dependent aspects of reading executable files.
Some machines use exec.c; some have the routines in <machine>-tdep.c
Since BFD, virtually all machines should use exec.c.

About writing code for GDB...

We appreciate having users contribute code that is of general use, but
for it to be included in future GDB releases it must be cleanly
written.  We do not want to include changes that will needlessly make
future maintainance difficult.  It is not much harder to do things
right, and in the long term it is worth it to the GNU project, and
probably to you individually as well.

Please code according to the GNU coding standards.  If you do not have
a copy, you can request one by sending mail to gnu@prep.ai.mit.edu.

If you make substantial changes, you'll have to file a copyright
assignment with the Free Software Foundation before we can produce a
release that includes your changes.  Send mail requesting the copyright
assignment to gnu@prep.ai.mit.edu.  Do this early, like before the
changes actually work, or even before you start them, because a manager
or lawyer on your end will probably make this a slow process.

Please try to avoid making machine-specific changes to
machine-independent files.  If this is unavoidable, put a hook in the
machine-independent file which calls a (possibly) machine-dependent
macro (for example, the IGNORE_SYMBOL macro can be used for any
symbols which need to be ignored on a specific machine.  Calling
IGNORE_SYMBOL in dbxread.c is a lot cleaner than a maze of #if
defined's).  The machine-independent code should do whatever "most"
machines want if the macro is not defined in param.h.  Using #if
defined can sometimes be OK (e.g.  SET_STACK_LIMIT_HUGE) but should be
conditionalized on a specific feature of an operating system (set in
tm.h or xm.h) rather than something like #if defined(vax) or #if
defined(SYSV).  If you use an #ifdef on some symbol that is defined
in a header file (e.g. #ifdef TIOCSETP), *please* make sure that you
have #include'd the relevant header file in that module!

It is better to replace entire routines which may be system-specific,
rather than put in a whole bunch of hooks which are probably not going
to be helpful for any purpose other than your changes.  For example,
if you want to modify dbxread.c to deal with DBX debugging symbols
which are in COFF files rather than BSD a.out files, do something
along the lines of a macro GET_NEXT_SYMBOL, which could have
different definitions for COFF and a.out, rather than trying to put
the necessary changes throughout all the code in dbxread.c that
currently assumes BSD format.

Please avoid duplicating code.  For example, in GDB 3.x all the stuff
in infptrace.c was duplicated in *-dep.c, and so changing something
was very painful.  Thus in GDB 4.x these have all been consolidated
into infptrace.c.  infptrace.c can deal with variations between
systems the same way any system-independent file would (hooks, #if
defined, etc.), and machines which are radically different don't need
to use infptrace.c at all.  The same was true of core_file_command
and exec_file_command.

About debugging gdb with itself...

You probably want to do a "make TAGS" after you configure your
distribution; this will put the machine dependent routines for your
local machine where they will be accessed first by a M-period .

Also, make sure that you've compiled gdb with your local cc or taken
appropriate precautions regarding ansification of include files.  See
the Makefile for more information.

When you run gdb in this directory, it will read a ".gdbinit" file that
sets up some simple things to make debugging gdb easier.  The "info"
command, when executed without a subcommand in a gdb being debugged by
gdb, will pop you back up to the top level gdb.  See .gdbinit for details.

(this is for editing this file with GNU emacs)
Local Variables:
mode: text
End: