# you can use 'CLIBS=$(INSTALLED_LIBS)' 'CDEPS='
INSTALLED_LIBS=-lbfd -lreadline $(TERMCAP) -lopcodes -lmmalloc \
-liberty $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS)
-CLIBS = $(BFD) $(READLINE) $(TERMCAP) $(OPCODES) $(MMALLOC) \
- $(LIBIBERTY) $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS)
+CLIBS = $(BFD) $(READLINE) $(OPCODES) $(MMALLOC) \
+ $(LIBIBERTY) $(TERMCAP) $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS)
CDEPS = $(XM_CDEPS) $(TM_CDEPS) $(NAT_CDEPS) \
$(BFD) $(READLINE) $(OPCODES) $(MMALLOC) $(LIBIBERTY)
ADD_FILES = $(REGEX) $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
ADD_DEPS = $(REGEX1) $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
-VERSION = 4.9.3
+VERSION = 4.10.2
DIST=gdb
LINT=/usr/5bin/lint
# besides ser-unix.o
SER_HARDWIRE=ser-unix.o
+# The `remote' debugging target is supported for most architectures,
+# but not all (e.g. 960)
+REMOTE_O = remote.o dcache.o remote-utils.o
+
# Host and target-dependent makefile fragments come in here.
####
# End of host and target-dependent makefile fragments
m2-exp.y m2-lang.c m2-typeprint.c m2-valprint.c main.c maint.c \
mem-break.c minsyms.c mipsread.c nlmread.c objfiles.c parse.c \
printcmd.c remote.c source.c stabsread.c stack.c symfile.c symmisc.c \
- symtab.c target.c typeprint.c utils.c valarith.c valops.c valprint.c \
- values.c serial.c ser-unix.c
+ symtab.c target.c thread.c typeprint.c utils.c valarith.c valops.c \
+ valprint.c values.c serial.c ser-unix.c
# Files that are not source code, but need to go into
# gdb-$(VERSION).tar.Z.
Projects .gdbinit COPYING $(YYFILES) copying.c copying.awk \
saber.suppress standalone.c stuff.c kdb-start.c gcc.patch \
nindy-share/Makefile nindy-share/VERSION nindy-share/README \
- vx-share/README 29k-share/udi/README config/convex/Convex.notes
+ vx-share/README 29k-share/README config/convex/Convex.notes
# All source files that lint should look at
LINTFILES = $(SFILES) $(YYFILES) init.c
#wait_h = $(INCLUDE_DIR)/wait.h
#dis-asm_h = $(INCLUDE_DIR)/dis-asm.h
+dcache_h = dcache.h
+remote_utils_h = $(dcache_h) remote-utils.h
+
readline_headers = \
$(READLINE_SRC)/chardefs.h \
$(READLINE_SRC)/history.h \
29k-share/udi/udipt29k.h \
29k-share/udi/udisoc.h
+dcache_h = dcache.h
gdbcore_h = gdbcore.h $(bfd_h)
config/m68k/xm-m68k.h config/sparc/xm-sparc.h config/xm-sysv4.h \
config/vax/xm-vax.h config/nm-trash.h $(udiheaders) \
29k-share/udi/udiids.h 29k-share/udi_soc nindy-share/b.out.h \
- nindy-share/block_io.h nindy-share/coff.h nindy-share/demux.h \
- nindy-share/env.h nindy-share/stop.h nindy-share/ttycntl.h \
+ nindy-share/block_io.h nindy-share/coff.h \
+ nindy-share/env.h nindy-share/stop.h \
vx-share/dbgRpcLib.h vx-share/ptrace.h vx-share/vxTypes.h \
vx-share/vxWorks.h vx-share/wait.h vx-share/xdr_ld.h \
- vx-share/xdr_ptrace.h vx-share/xdr_rdb.h
+ vx-share/xdr_ptrace.h vx-share/xdr_rdb.h thread.h \
+ $(remote_utils_h)
# GDB "info" files, which should be included in their entirety
INFOFILES = gdb.info*
# variables analogous to SER_HARDWIRE which get defaulted in this
# Makefile.in
-DEPFILES = $(TDEPFILES) $(XDEPFILES) $(SER_HARDWIRE) $(NATDEPFILES)
+DEPFILES = $(TDEPFILES) $(XDEPFILES) $(SER_HARDWIRE) $(NATDEPFILES) $(REMOTE_O)
SOURCES = $(SFILES) $(ALLDEPFILES) $(YYFILES)
# Don't include YYFILES (*.tab.c) because we already include *.y in SFILES,
$(ALLPARAM) $(INFOFILES) $(POSSLIBS) $(REMOTE_EXAMPLES)
-OBS = version.o main.o blockframe.o breakpoint.o findvar.o stack.o \
+OBS = version.o main.o blockframe.o breakpoint.o findvar.o stack.o thread.o \
source.o values.o eval.o valops.o valarith.o valprint.o printcmd.o \
- symtab.o symfile.o symmisc.o infcmd.o infrun.o remote.o command.o \
+ symtab.o symfile.o symmisc.o infcmd.o infrun.o command.o \
utils.o expprint.o environ.o gdbtypes.o copying.o $(DEPFILES) \
mem-break.o target.o putenv.o parse.o language.o $(YYOBJ) buildsym.o \
objfiles.o minsyms.o maint.o demangle.o dbxread.o coffread.o elfread.o \
cd $$i; \
ln -s $${rootme}/$$i/* .; \
rm -rf SCCS CVS CVS.adm RCS config.status; \
- if test -f Makefile.in; then rm Makefile; else true; fi;); \
+ if test -f Makefile.in; then rm -f Makefile; else true; fi;); \
done ; \
for i in `echo $(TARFILES)`; do \
(cd proto-gdb.dir ; \
ALLDEPFILES = 29k-share/udi/udip2soc.c 29k-share/udi/udr.c \
a29k-pinsn.c a29k-tdep.c a68v-nat.c altos-xdep.c arm-convert.s \
arm-pinsn.c arm-tdep.c arm-xdep.c convex-pinsn.c convex-tdep.c \
- convex-xdep.c core-svr4.c coredep.c corelow.c exec.c fork-child.c \
+ convex-xdep.c core-svr4.c coredep.c corelow.c dcache.c delta68-nat.c \
+ dpx2-nat.c exec.c fork-child.c \
go32-xdep.c gould-pinsn.c gould-xdep.c h8300-tdep.c h8500-tdep.c \
hp300ux-nat.c hppa-pinsn.c hppa-tdep.c hppab-nat.c hppah-nat.c \
i386-pinsn.c i386-tdep.c i386b-nat.c i386mach-nat.c i386v-nat.c \
- i386aix-nat.c i386v4-nat.c i387-tdep.c i960-pinsn.c i960-tdep.c \
+ i386aix-nat.c i386v4-nat.c i386lynx-nat.c i387-tdep.c i960-pinsn.c \
+ i960-tdep.c \
infptrace.c inftarg.c irix4-nat.c isi-xdep.c m68k-pinsn.c m68k-tdep.c \
m88k-nat.c m88k-pinsn.c m88k-tdep.c mips-nat.c mips-pinsn.c \
mips-tdep.c news-xdep.c nindy-share/Onindy.c nindy-share/nindy.c \
- nindy-share/ttybreak.c nindy-share/ttyflush.c nindy-tdep.c \
+ nindy-share/ttyflush.c nindy-tdep.c \
ns32k-pinsn.c paread.c procfs.c pyr-pinsn.c pyr-tdep.c pyr-xdep.c \
- remote-adapt.c remote-eb.c remote-es.c remote-hms.c remote-mips.c \
- remote-mm.c remote-monitor.c remote-nindy.c remote-sim.c remote-st.c \
+ remote-adapt.c remote-bug.c remote-eb.c remote-es.c remote-hms.c remote-mips.c \
+ remote-mm.c remote-mon.c remote-nindy.c remote-sim.c \
+ remote-st.c remote-utils.c dcache.c \
remote-udi.c remote-vx.c remote-z8k.c rs6000-nat.c rs6000-pinsn.c \
rs6000-tdep.c ser-go32.c ser-tcp.c sh-tdep.c solib.c sparc-nat.c \
sparc-pinsn.c sparc-tdep.c sun3-nat.c sun386-nat.c symm-tdep.c \
config/i386/nm-i386bsd.h config/i386/nm-i386lynx.h \
config/i386/nm-i386mach.h config/i386/nm-i386sco.h \
config/i386/nm-i386sco4.h config/i386/nm-i386v.h \
- config/i386/nm-i386v4.h config/i386/nm-linux.h config/i386/nm-sun386.h \
+ config/i386/nm-i386v4.h config/i386/nm-linux.h \
+ config/i386/nm-sun386.h config/i386/nm-symmetry.h \
config/i386/tm-i386aix.h config/i386/tm-i386bsd.h \
- config/i386/tm-i386lynx.h config/i386/tm-i386v.h \
- config/i386/tm-i386v4.h config/i386/tm-linux.h config/i386/tm-sun386.h \
+ config/i386/tm-i386lynx.h config/i386/tm-i386nw.h \
+ config/i386/tm-i386v.h \
+ config/i386/tm-i386v4.h config/i386/tm-linux.h \
+ config/i386/tm-sun386.h \
config/i386/tm-symmetry.h config/i386/xm-go32.h \
config/i386/xm-i386aix.h config/i386/xm-i386bsd.h \
config/i386/xm-i386lynx.h config/i386/xm-i386mach.h \
config/i386/xm-linux.h config/i386/xm-sun386.h \
config/i386/xm-symmetry.h config/i960/tm-nindy960.h \
config/i960/tm-vx960.h config/m68k/nm-apollo68b.h \
- config/m68k/nm-apollo68v.h config/m68k/nm-hp300bsd.h \
- config/m68k/nm-hp300hpux.h config/m68k/nm-news.h config/m68k/nm-sun2.h \
+ config/m68k/nm-apollo68v.h config/m68k/nm-delta68.h \
+ config/m68k/nm-dpx2.h config/m68k/nm-hp300bsd.h \
+ config/m68k/nm-hp300hpux.h config/m68k/nm-news.h \
+ config/m68k/nm-sun2.h \
config/m68k/nm-sun3.h config/m68k/tm-3b1.h config/m68k/tm-altos.h \
- config/m68k/tm-amix.h config/m68k/tm-es1800.h \
+ config/m68k/tm-amix.h config/m68k/tm-delta68.h \
+ config/m68k/tm-dpx2.h config/m68k/tm-es1800.h \
config/m68k/tm-hp300bsd.h config/m68k/tm-hp300hpux.h \
- config/m68k/tm-isi.h config/m68k/tm-m68k-fp.h \
- config/m68k/tm-m68k-nofp.h config/m68k/tm-monitor.h \
+ config/m68k/tm-isi.h config/m68k/tm-m68k-em.h \
+ config/m68k/tm-monitor.h \
config/m68k/tm-news.h config/m68k/tm-os68k.h config/m68k/tm-st2000.h \
config/m68k/tm-sun2.h config/m68k/tm-sun2os4.h config/m68k/tm-sun3.h \
config/m68k/tm-sun3os4.h config/m68k/tm-vx68.h config/m68k/xm-3b1.h \
config/m68k/xm-altos.h config/m68k/xm-amix.h \
config/m68k/xm-apollo68b.h config/m68k/xm-apollo68v.h \
+ config/m68k/xm-delta68.h config/m68k/xm-dpx2.h \
config/m68k/xm-hp300bsd.h config/m68k/xm-hp300hpux.h \
config/m68k/xm-isi.h config/m68k/xm-news.h config/m68k/xm-news1000.h \
config/m68k/xm-sun2.h config/m68k/xm-sun3.h config/m68k/xm-sun3os4.h \
config/mips/nm-irix4.h config/mips/nm-mips.h config/mips/nm-riscos.h \
config/mips/nm-news-mips.h config/mips/tm-bigmips.h \
config/mips/tm-irix3.h config/mips/tm-mips.h config/mips/xm-irix3.h \
- config/mips/xm-irix4.h config/mips/xm-mips.h config/mips/xm-riscos.h \
- config/mips/xm-news-mips.h \
- config/nm-sysv4.h \
+ config/mips/xm-irix4.h config/mips/xm-makeva.h config/mips/xm-mips.h \
+ config/mips/xm-riscos.h config/mips/xm-news-mips.h config/nm-sysv4.h \
config/none/nm-none.h config/none/tm-none.h config/none/xm-none.h \
- config/ns32k/nm-umax.h config/ns32k/tm-merlin.h config/ns32k/tm-umax.h \
+ config/ns32k/nm-umax.h config/ns32k/tm-merlin.h \
+ config/ns32k/tm-umax.h \
config/ns32k/xm-merlin.h config/ns32k/xm-umax.h config/pa/nm-hppab.h \
config/pa/nm-hppah.h config/pa/tm-hppab.h config/pa/tm-hppah.h \
config/pa/xm-hppab.h config/pa/xm-hppah.h config/pa/xm-pa.h \
config/gould/pn.mh config/gould/pn.mt config/h8300/h8300hms.mt \
config/h8500/h8500hms.mt config/i386/go32.mh config/i386/i386aix.mh \
config/i386/i386aix.mt config/i386/i386aout.mt config/i386/i386bsd.mh \
- config/i386/i386bsd.mt config/i386/i386lynx.mh config/i386/i386lynx.mt \
- config/i386/i386mach.mh config/i386/i386sco.mh config/i386/i386sco4.mh \
+ config/i386/i386bsd.mt config/i386/i386lynx.mh \
+ config/i386/i386lynx.mt \
+ config/i386/i386mach.mh config/i386/i386nw.mt config/i386/i386sco.mh \
+ config/i386/i386sco4.mh \
config/i386/i386sol2.mh config/i386/i386sol2.mt config/i386/i386v.mh \
config/i386/i386v.mt config/i386/i386v32.mh config/i386/i386v4.mh \
config/i386/i386v4.mt config/i386/linux.mh config/i386/linux.mt \
- config/i386/ncr3000.mh config/i386/ncr3000.mt config/i386/sun386.mh \
+ config/i386/ncr3000.mh config/i386/ncr3000.mt config/i386/ptx.mh \
+ config/i386/sun386.mh \
config/i386/sun386.mt config/i386/symmetry.mh config/i386/symmetry.mt \
config/i960/nindy960.mt config/i960/vxworks960.mt config/m68k/3b1.mh \
config/m68k/3b1.mt config/m68k/altos.mh config/m68k/altos.mt \
config/m68k/amix.mh config/m68k/amix.mt config/m68k/apollo68b.mh \
- config/m68k/apollo68v.mh config/m68k/es1800.mt config/m68k/hp300bsd.mh \
+ config/m68k/apollo68v.mh config/m68k/delta68.mh \
+ config/m68k/delta68.mt config/m68k/dpx2.mh config/m68k/dpx2.mt \
+ config/m68k/es1800.mt config/m68k/hp300bsd.mh \
config/m68k/hp300bsd.mt config/m68k/hp300hpux.mh \
config/m68k/hp300hpux.mt config/m68k/isi.mh config/m68k/isi.mt \
- config/m68k/m68k-fp.mt config/m68k/m68k-nofp.mt config/m68k/monitor.mt \
+ config/m68k/m68k-em.mt \
+ config/m68k/monitor.mt \
config/m68k/news.mh config/m68k/news.mt config/m68k/news1000.mh \
config/m68k/os68k.mt config/m68k/st2000.mt config/m68k/sun2os3.mh \
config/m68k/sun2os3.mt config/m68k/sun2os4.mh config/m68k/sun2os4.mt \
config/mips/decstation.mt config/mips/idt.mt config/mips/idtl.mt \
config/mips/irix3.mh config/mips/irix3.mt config/mips/irix4.mh \
config/mips/littlemips.mh config/mips/littlemips.mt \
+ config/mips/news-mips.mh config/mips/riscos.mh \
config/none/none.mh config/none/none.mt config/ns32k/merlin.mh \
config/ns32k/merlin.mt config/ns32k/umax.mh config/ns32k/umax.mt \
config/pa/hppabsd.mh config/pa/hppabsd.mt config/pa/hppahpux.mh \
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udr.c
a29k-pinsn.o: a29k-pinsn.c $(bfd_h) $(dis-asm_h)
-a29k-tdep.o: a29k-tdep.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h)
+a29k-tdep.o: a29k-tdep.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h)
a68v-nat.o: a68v-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
altos-xdep.o: altos-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
arm-pinsn.o: arm-pinsn.c $(OP_INCLUDE)/arm.h $(defs_h) $(symtab_h)
cp-valprint.o: cp-valprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
$(gdbtypes_h) $(symtab_h) $(value_h)
+dcache.o: dcache.c $(dcache_h)
+
dbxread.o: dbxread.c $(breakpoint_h) buildsym.h $(command_h) \
complaints.h $(defs_h) $(expression_h) gdb-stabs.h $(gdbcore_h) \
$(gdbtypes_h) language.h objfiles.h partial-stab.h stabsread.h \
symfile.h $(symtab_h) target.h
+dcache.o: dcache.c $(dcache_h)
+
+delta68-nat.o: delta68-nat.c $(defs_h)
+
demangle.o: demangle.c $(defs_h) $(gdbcmd_h)
dwarfread.o: dwarfread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
m88k-tdep.o: m88k-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
main.o: main.c $(bfd_h) $(getopt_h) $(readline_headers) call-cmds.h \
- $(defs_h) $(gdbcmd_h) $(inferior_h) language.h signals.h target.h
+ $(defs_h) $(gdbcmd_h) $(inferior_h) language.h signals.h \
+ target.h $(remote_utils_h)
$(CC) -c $(INTERNAL_CFLAGS) $(READLINE_CFLAGS) $(srcdir)/main.c
maint.o: maint.c $(defs_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h)
mips-tdep.o: mips-tdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
$(inferior_h) language.h objfiles.h symfile.h
-mipsread.o: mipsread.c buildsym.h complaints.h $(defs_h) \
+mipsread.o: mipsread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \
$(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \
objfiles.h partial-stab.h stabsread.h symfile.h $(symtab_h)
news-xdep.o: news-xdep.c
Onindy.o: nindy-share/Onindy.c $(wait_h) nindy-share/block_io.h \
- nindy-share/env.h nindy-share/ttycntl.h
+ nindy-share/env.h
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/Onindy.c
nindy.o: nindy-share/nindy.c $(wait_h) nindy-share/block_io.h \
- nindy-share/env.h nindy-share/ttycntl.h
+ nindy-share/env.h
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/nindy.c
nlmread.o: nlmread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
gdb-stabs.h objfiles.h symfile.h $(symtab_h)
-ttybreak.o: nindy-share/ttybreak.c nindy-share/ttycntl.h
- $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/ttybreak.c
-
-ttyflush.o: nindy-share/ttyflush.c nindy-share/ttycntl.h
+ttyflush.o: nindy-share/ttyflush.c
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/ttyflush.c
nindy-tdep.o: nindy-tdep.c $(defs_h) $(frame_h) $(symtab_h)
pyr-tdep.o: pyr-tdep.c $(defs_h)
pyr-xdep.o: pyr-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
+regex.o: regex.c regex.h
+
remote-adapt.o: remote-adapt.c $(wait_h) $(defs_h) $(gdbcore_h) \
$(inferior_h) target.h terminal.h
+remote-bug.o: remote-bug.c $(wait_h) $(defs_h) $(gdbcore_h) \
+ $(inferior_h) target.h terminal.h $(remote_utils_h)
+
remote-eb.o: remote-eb.c $(wait_h) $(srcdir)/config/a29k/tm-a29k.h \
$(defs_h) $(gdbcore_h) $(inferior_h) symfile.h target.h terminal.h
remote-mm.o: remote-mm.c $(bfd_h) $(wait_h) $(defs_h) $(inferior_h) \
minimon.h target.h terminal.h
-remote-monitor.o: remote-monitor.c $(wait_h) $(command_h) $(defs_h) \
+remote-mon.o: remote-mon.c $(wait_h) $(command_h) $(defs_h) \
$(gdbcore_h) monitor.h serial.h target.h
remote-nindy.o: remote-nindy.c $(ieee-float_h) $(wait_h) $(command_h) \
- $(defs_h) $(gdbcore_h) $(inferior_h) nindy-share/demux.h \
- nindy-share/env.h nindy-share/stop.h nindy-share/ttycntl.h \
+ $(defs_h) $(gdbcore_h) $(inferior_h) \
+ nindy-share/env.h nindy-share/stop.h \
symfile.h target.h
remote-sim.o: remote-sim.c $(wait_h) $(defs_h) $(gdbcore_h) \
target.o: target.c $(bfd_h) $(defs_h) $(gdbcmd_h) $(inferior_h) \
objfiles.h symfile.h target.h
+thread.o: thread.c $(defs_h) thread.h
+
typeprint.o: typeprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
$(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
$(value_h)