From 33cc288d6bb8f5f80ca98d725328ff819aeb5abf Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Fri, 7 Jun 1991 07:45:16 +0000 Subject: [PATCH] Reverse entropy. Inhale bit rot, exahle graceful compilation. --- gdb/config.gdb | 1 + gdb/depend | 385 +++++++++++++++++++++++++------------------------ gdb/mtrace.c | 14 +- 3 files changed, 211 insertions(+), 189 deletions(-) diff --git a/gdb/config.gdb b/gdb/config.gdb index 4f226630d37..c380fe45772 100755 --- a/gdb/config.gdb +++ b/gdb/config.gdb @@ -170,6 +170,7 @@ case ${srcdir} in echo "source ${srcdir}/.gdbinit" >> .gdbinit esac +rm -f Makefile make "srcdir=${srcdir}" \ "M_MAKEFILE=$srcdir/tconfig/$target $srcdir/xconfig/$host" \ -f $srcdir/Makefile.dist Makefile diff --git a/gdb/depend b/gdb/depend index 4a40ea67a9d..0e32396eae3 100755 --- a/gdb/depend +++ b/gdb/depend @@ -1,124 +1,134 @@ -altos-xdep.o : altos-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \ - inferior.h breakpoint.h value.h symtab.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ - $(INCLUDE_DIR)/ansidecl.h +altos-xdep.o : altos-xdep.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h \ + xm.h config.status xm-sparc.h frame.h inferior.h breakpoint.h value.h symtab.h gdbcore.h \ + $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h am29k-pinsn.o : am29k-pinsn.c defs.h target.h am29k-opcode.h am29k-tdep.o : am29k-tdep.c defs.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ $(INCLUDE_DIR)/ansidecl.h $(INCLUDE_DIR)/obstack.h frame.h param.h tm.h config.status \ - param-no-tm.h xm.h config.status value.h symtab.h inferior.h breakpoint.h -arm-pinsn.o : arm-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \ - arm-opcode.h -arm-tdep.o : arm-tdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \ - inferior.h breakpoint.h value.h symtab.h arm-opcode.h gdbcore.h \ - $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h -arm-xdep.o : arm-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \ - inferior.h breakpoint.h value.h symtab.h arm-opcode.h gdbcore.h \ - $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h -blockframe.o : blockframe.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \ - frame.h gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h value.h \ - target.h -breakpoint.o : breakpoint.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \ - frame.h breakpoint.h value.h expression.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ - $(INCLUDE_DIR)/ansidecl.h gdbcmd.h command.h inferior.h target.h -coffread.o : coffread.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \ - breakpoint.h value.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h symfile.h \ - $(BFD_DIR)/libcoff.h + tm-i960.h param-no-tm.h xm.h config.status xm-sparc.h value.h symtab.h inferior.h \ + breakpoint.h +arm-pinsn.o : arm-pinsn.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h symtab.h arm-opcode.h +arm-tdep.o : arm-tdep.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h frame.h inferior.h breakpoint.h value.h symtab.h arm-opcode.h \ + gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h +arm-xdep.o : arm-xdep.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h frame.h inferior.h breakpoint.h value.h symtab.h arm-opcode.h \ + gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h +blockframe.o : blockframe.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h \ + xm.h config.status xm-sparc.h symtab.h frame.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ + $(INCLUDE_DIR)/ansidecl.h value.h target.h +breakpoint.o : breakpoint.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h \ + xm.h config.status xm-sparc.h symtab.h frame.h breakpoint.h value.h expression.h \ + gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h gdbcmd.h command.h \ + inferior.h target.h +coffread.o : coffread.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h symtab.h breakpoint.h value.h $(INCLUDE_DIR)/bfd.h \ + $(INCLUDE_DIR)/ansidecl.h symfile.h $(BFD_DIR)/libcoff.h command.o : command.c defs.h command.h symtab.h value.h -convex-pinsn.o : convex-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \ - symtab.h convx-opcode.h -convex-tdep.o : convex-tdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \ - command.h symtab.h value.h frame.h inferior.h breakpoint.h \ +convex-pinsn.o : convex-pinsn.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h \ + xm.h config.status xm-sparc.h symtab.h convx-opcode.h +convex-tdep.o : convex-tdep.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h \ + xm.h config.status xm-sparc.h command.h symtab.h value.h frame.h inferior.h breakpoint.h \ $(INCLUDE_DIR)/wait.h gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h \ gdbcmd.h -convex-xdep.o : convex-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \ - command.h symtab.h value.h frame.h inferior.h breakpoint.h \ +convex-xdep.o : convex-xdep.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h \ + xm.h config.status xm-sparc.h command.h symtab.h value.h frame.h inferior.h breakpoint.h \ $(INCLUDE_DIR)/wait.h gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h \ gdbcmd.h -core.o : core.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h inferior.h \ - breakpoint.h value.h symtab.h command.h $(INCLUDE_DIR)/bfd.h \ - $(INCLUDE_DIR)/ansidecl.h target.h gdbcore.h -coredep.o : coredep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status gdbcore.h \ - $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h $(INCLUDE_DIR)/obstack.h -cplus-dem.o : cplus-dem.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status -dbxread.o : dbxread.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \ - $(INCLUDE_DIR)/a.out.gnu.h $(INCLUDE_DIR)/reloc.h $(INCLUDE_DIR)/stab.gnu.h \ - $(INCLUDE_DIR)/stab.def symtab.h breakpoint.h value.h command.h target.h \ - gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h $(BFD_DIR)/libaout.h \ - symfile.h +core.o : core.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status xm-sparc.h \ + frame.h inferior.h breakpoint.h value.h symtab.h command.h \ + $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h target.h gdbcore.h +coredep.o : coredep.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h \ + $(INCLUDE_DIR)/obstack.h +cplus-dem.o : cplus-dem.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h +dbxread.o : dbxread.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h $(INCLUDE_DIR)/a.out.gnu.h $(INCLUDE_DIR)/reloc.h \ + $(INCLUDE_DIR)/stab.gnu.h $(INCLUDE_DIR)/stab.def symtab.h breakpoint.h value.h \ + command.h target.h gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h \ + $(BFD_DIR)/libaout.h symfile.h environ.o : environ.c environ.h defs.h -eval.o : eval.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h value.h \ - expression.h target.h frame.h -exec.o : exec.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h inferior.h \ - breakpoint.h value.h symtab.h target.h gdbcmd.h command.h gdbcore.h \ - $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h -expprint.o : expprint.c defs.h symtab.h param.h tm.h config.status param-no-tm.h xm.h config.status \ - expression.h value.h -findvar.o : findvar.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \ - frame.h value.h gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h \ - inferior.h breakpoint.h target.h +eval.o : eval.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status xm-sparc.h \ + symtab.h value.h expression.h target.h frame.h +exec.o : exec.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status xm-sparc.h \ + frame.h inferior.h breakpoint.h value.h symtab.h target.h gdbcmd.h \ + command.h gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h +expprint.o : expprint.c defs.h symtab.h param.h tm.h config.status tm-i960.h \ + param-no-tm.h xm.h config.status xm-sparc.h expression.h value.h +findvar.o : findvar.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h symtab.h frame.h value.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ + $(INCLUDE_DIR)/ansidecl.h inferior.h breakpoint.h target.h gould-pinsn.o : gould-pinsn.c gdbcore.h $(INCLUDE_DIR)/bfd.h \ $(INCLUDE_DIR)/ansidecl.h $(INCLUDE_DIR)/obstack.h defs.h param.h tm.h config.status \ - param-no-tm.h xm.h config.status symtab.h frame.h np1-opcode.h -gould-xdep.o : gould-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \ - inferior.h breakpoint.h value.h symtab.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ - $(INCLUDE_DIR)/ansidecl.h -hp300ux-xdep.o : hp300ux-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \ - frame.h inferior.h breakpoint.h value.h symtab.h gdbcore.h \ + tm-i960.h param-no-tm.h xm.h config.status xm-sparc.h symtab.h frame.h np1-opcode.h +gould-xdep.o : gould-xdep.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h \ + xm.h config.status xm-sparc.h frame.h inferior.h breakpoint.h value.h symtab.h gdbcore.h \ $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h -i386-pinsn.o : i386-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \ - gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h $(INCLUDE_DIR)/obstack.h -i386-tdep.o : i386-tdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \ - inferior.h breakpoint.h value.h symtab.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ - $(INCLUDE_DIR)/ansidecl.h -i386-xdep.o : i386-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \ - inferior.h breakpoint.h value.h symtab.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ - $(INCLUDE_DIR)/ansidecl.h -i960-pinsn.o : i960-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \ - inferior.h breakpoint.h value.h symtab.h -i960-tdep.o : i960-tdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \ - value.h frame.h signame.h ieee-float.h -ieee-float.o : ieee-float.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \ - ieee-float.h -infcmd.o : infcmd.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h frame.h \ - inferior.h breakpoint.h value.h environ.h gdbcmd.h command.h gdbcore.h \ - $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h target.h -inflow.o : inflow.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \ - inferior.h breakpoint.h value.h symtab.h command.h signals.h terminal.h \ - target.h -infptrace.o : infptrace.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \ - inferior.h breakpoint.h value.h symtab.h target.h gdbcore.h \ +hp300ux-xdep.o : hp300ux-xdep.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h \ + xm.h config.status xm-sparc.h frame.h inferior.h breakpoint.h value.h symtab.h gdbcore.h \ + $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h +i386-pinsn.o : i386-pinsn.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h \ + xm.h config.status xm-sparc.h gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h \ + $(INCLUDE_DIR)/obstack.h +i386-tdep.o : i386-tdep.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h frame.h inferior.h breakpoint.h value.h symtab.h gdbcore.h \ $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h -infrun.o : infrun.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h frame.h \ - inferior.h breakpoint.h value.h $(INCLUDE_DIR)/wait.h gdbcore.h \ - $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h signame.h command.h terminal.h \ +i386-xdep.o : i386-xdep.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h frame.h inferior.h breakpoint.h value.h symtab.h gdbcore.h \ + $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h +i960-pinsn.o : i960-pinsn.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h \ + xm.h config.status xm-sparc.h frame.h inferior.h breakpoint.h value.h symtab.h +i960-tdep.o : i960-tdep.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h symtab.h value.h frame.h signame.h ieee-float.h +ieee-float.o : ieee-float.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h \ + xm.h config.status xm-sparc.h ieee-float.h +infcmd.o : infcmd.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h symtab.h frame.h inferior.h breakpoint.h value.h environ.h \ + gdbcmd.h command.h gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h \ target.h -inftarg.o : inftarg.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \ - inferior.h breakpoint.h value.h symtab.h target.h $(INCLUDE_DIR)/wait.h \ - gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h ieee-float.h -m68k-pinsn.o : m68k-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \ - m68k-opcode.h gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h +inflow.o : inflow.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h frame.h inferior.h breakpoint.h value.h symtab.h command.h \ + signals.h terminal.h target.h +infptrace.o : infptrace.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h frame.h inferior.h breakpoint.h value.h symtab.h target.h \ + gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h +infrun.o : infrun.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h symtab.h frame.h inferior.h breakpoint.h value.h \ + $(INCLUDE_DIR)/wait.h gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h \ + signame.h command.h terminal.h target.h +inftarg.o : inftarg.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h frame.h inferior.h breakpoint.h value.h symtab.h target.h \ + $(INCLUDE_DIR)/wait.h gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h \ + ieee-float.h +m68k-pinsn.o : m68k-pinsn.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h \ + xm.h config.status xm-sparc.h symtab.h m68k-opcode.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ + $(INCLUDE_DIR)/ansidecl.h m68k-tdep.o : m68k-tdep.c defs.h ieee-float.h m88k-pinsn.o : m88k-pinsn.c m88k-opcode.h defs.h symtab.h -m88k-tdep.o : m88k-tdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \ - inferior.h breakpoint.h value.h symtab.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ - $(INCLUDE_DIR)/ansidecl.h /usr/include/setjmp.h -m88k-xdep.o : m88k-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \ - inferior.h breakpoint.h value.h symtab.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ - $(INCLUDE_DIR)/ansidecl.h /usr/include/setjmp.h -main.o : main.c defs.h gdbcmd.h command.h param.h tm.h config.status param-no-tm.h xm.h config.status \ - symtab.h inferior.h breakpoint.h value.h frame.h signals.h target.h \ - $(INCLUDE_DIR)/getopt.h readline.h history.h -mem-break.o : mem-break.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status -mips-pinsn.o : mips-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \ - mips-opcode.h -mips-tdep.o : mips-tdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \ - inferior.h breakpoint.h value.h symtab.h gdbcmd.h command.h gdbcore.h \ +m88k-tdep.o : m88k-tdep.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h frame.h inferior.h breakpoint.h value.h symtab.h gdbcore.h \ + $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h /usr/include/setjmp.h +m88k-xdep.o : m88k-xdep.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h frame.h inferior.h breakpoint.h value.h symtab.h gdbcore.h \ + $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h /usr/include/setjmp.h +main.o : main.c defs.h gdbcmd.h command.h param.h tm.h config.status tm-i960.h \ + param-no-tm.h xm.h config.status xm-sparc.h symtab.h inferior.h breakpoint.h value.h \ + frame.h signals.h target.h $(INCLUDE_DIR)/getopt.h $(READLINE_DIR)/readline.h \ + $(READLINE_DIR)/keymaps.h $(READLINE_DIR)/chardefs.h $(READLINE_DIR)/history.h +mem-break.o : mem-break.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h +mips-pinsn.o : mips-pinsn.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h \ + xm.h config.status xm-sparc.h symtab.h mips-opcode.h +mips-tdep.o : mips-tdep.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h frame.h inferior.h breakpoint.h value.h symtab.h gdbcmd.h \ + command.h gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h +mips-xdep.o : mips-xdep.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h frame.h inferior.h breakpoint.h value.h symtab.h gdbcore.h \ $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h -mips-xdep.o : mips-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \ - inferior.h breakpoint.h value.h symtab.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ - $(INCLUDE_DIR)/ansidecl.h -mipsread.o : mipsread.c param.h tm.h config.status param-no-tm.h xm.h config.status \ - $(INCLUDE_DIR)/obstack.h defs.h symtab.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ - $(INCLUDE_DIR)/ansidecl.h symfile.h $(INCLUDE_DIR)/ecoff.h +mipsread.o : mipsread.c param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h $(INCLUDE_DIR)/obstack.h defs.h symtab.h gdbcore.h \ + $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h symfile.h $(INCLUDE_DIR)/ecoff.h news-xdep.o : news-xdep.c Onindy.o : ${srcdir}/nindy-share/Onindy.c ${srcdir}/nindy-share/ttycntl.h \ ${srcdir}/nindy-share/block_io.h $(INCLUDE_DIR)/wait.h ${srcdir}/nindy-share/env.h \ @@ -127,98 +137,101 @@ nindy.o : ${srcdir}/nindy-share/nindy.c ${srcdir}/nindy-share/ttycntl.h ${srcdir $(INCLUDE_DIR)/wait.h ${srcdir}/nindy-share/env.h /usr/include/string.h ttybreak.o : ${srcdir}/nindy-share/ttybreak.c ${srcdir}/nindy-share/ttycntl.h ttyflush.o : ${srcdir}/nindy-share/ttyflush.c ${srcdir}/nindy-share/ttycntl.h -nindy-tdep.o : nindy-tdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \ - frame.h -ns32k-pinsn.o : ns32k-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \ - symtab.h ns32k-opcode.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ +nindy-tdep.o : nindy-tdep.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h \ + xm.h config.status xm-sparc.h symtab.h frame.h +ns32k-pinsn.o : ns32k-pinsn.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h \ + xm.h config.status xm-sparc.h symtab.h ns32k-opcode.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ $(INCLUDE_DIR)/ansidecl.h -printcmd.o : printcmd.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \ - symtab.h value.h expression.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ - $(INCLUDE_DIR)/ansidecl.h gdbcmd.h command.h target.h -pyr-pinsn.o : pyr-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \ - pyr-opcode.h gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h -pyr-tdep.o : pyr-tdep.c -pyr-xdep.o : pyr-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \ - inferior.h breakpoint.h value.h symtab.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ +printcmd.o : printcmd.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h frame.h symtab.h value.h expression.h gdbcore.h \ + $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h gdbcmd.h command.h target.h +pyr-pinsn.o : pyr-pinsn.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h symtab.h pyr-opcode.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ $(INCLUDE_DIR)/ansidecl.h -remote-eb.o : remote-eb.c defs.h tm-29k.h param-no-tm.h xm.h config.status inferior.h \ - breakpoint.h value.h symtab.h frame.h param.h $(INCLUDE_DIR)/wait.h \ - terminal.h target.h -remote-nindy.o : remote-nindy.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \ - frame.h inferior.h breakpoint.h value.h symtab.h target.h gdbcore.h \ - $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h command.h ieee-float.h \ +pyr-tdep.o : pyr-tdep.c +pyr-xdep.o : pyr-xdep.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h frame.h inferior.h breakpoint.h value.h symtab.h gdbcore.h \ + $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h +remote-eb.o : remote-eb.c defs.h tm-29k.h param-no-tm.h xm.h config.status xm-sparc.h \ + inferior.h breakpoint.h value.h symtab.h frame.h param.h \ + $(INCLUDE_DIR)/wait.h terminal.h target.h +remote-nindy.o : remote-nindy.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h \ + xm.h config.status xm-sparc.h frame.h inferior.h breakpoint.h value.h symtab.h target.h \ + gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h command.h ieee-float.h \ $(INCLUDE_DIR)/wait.h ${srcdir}/nindy-share/ttycntl.h ${srcdir}/nindy-share/demux.h \ ${srcdir}/nindy-share/env.h ${srcdir}/nindy-share/stop.h -remote-vx.o : remote-vx.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \ - inferior.h breakpoint.h value.h symtab.h $(INCLUDE_DIR)/wait.h target.h \ - gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h command.h symfile.h \ - ${srcdir}/vx-share/xdr_ptrace.h ${srcdir}/vx-share/xdr_regs.h ${srcdir}/vx-share/reg.h \ - ${srcdir}/vx-share/xdr_ld.h ${srcdir}/vx-share/xdr_rdb.h ${srcdir}/vx-share/dbgRpcLib.h -remote.o : remote.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \ - inferior.h breakpoint.h value.h symtab.h target.h $(INCLUDE_DIR)/wait.h \ - terminal.h -signame.o : signame.c signame.h defs.h param.h tm.h config.status param-no-tm.h xm.h config.status -solib.o : solib.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h gdbcore.h \ - $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h command.h target.h frame.h \ - regex.h -source.o : source.c defs.h symtab.h param.h tm.h config.status param-no-tm.h xm.h config.status \ - command.h gdbcmd.h frame.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ +remote-vx.o : remote-vx.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h frame.h inferior.h breakpoint.h value.h symtab.h \ + $(INCLUDE_DIR)/wait.h target.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ + $(INCLUDE_DIR)/ansidecl.h command.h symfile.h ${srcdir}/vx-share/xdr_ptrace.h \ + ${srcdir}/vx-share/xdr_regs.h ${srcdir}/vx-share/reg.h ${srcdir}/vx-share/xdr_ld.h \ + ${srcdir}/vx-share/xdr_rdb.h ${srcdir}/vx-share/dbgRpcLib.h +remote.o : remote.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h frame.h inferior.h breakpoint.h value.h symtab.h target.h \ + $(INCLUDE_DIR)/wait.h terminal.h +signame.o : signame.c signame.h defs.h param.h tm.h config.status tm-i960.h param-no-tm.h \ + xm.h config.status xm-sparc.h +solib.o : solib.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h symtab.h gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h \ + command.h target.h frame.h regex.h +source.o : source.c defs.h symtab.h param.h tm.h config.status tm-i960.h param-no-tm.h \ + xm.h config.status xm-sparc.h command.h gdbcmd.h frame.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ $(INCLUDE_DIR)/ansidecl.h regex.h -sparc-pinsn.o : sparc-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \ - symtab.h sparc-opcode.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ +sparc-pinsn.o : sparc-pinsn.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h \ + xm.h config.status xm-sparc.h symtab.h sparc-opcode.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ $(INCLUDE_DIR)/ansidecl.h /usr/include/string.h target.h -sparc-tdep.o : sparc-tdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \ - inferior.h breakpoint.h value.h symtab.h signame.h target.h ieee-float.h \ - gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h -sparc-xdep.o : sparc-xdep.c defs.h tm-sparc.h param-no-tm.h xm.h config.status inferior.h \ - breakpoint.h value.h symtab.h frame.h param.h target.h gdbcore.h \ +sparc-tdep.o : sparc-tdep.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h \ + xm.h config.status xm-sparc.h frame.h inferior.h breakpoint.h value.h symtab.h signame.h \ + target.h ieee-float.h gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h +sparc-xdep.o : sparc-xdep.c defs.h tm-sparc.h param-no-tm.h xm.h config.status xm-sparc.h \ + inferior.h breakpoint.h value.h symtab.h frame.h param.h target.h gdbcore.h \ + $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h +stack.o : stack.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h symtab.h frame.h gdbcmd.h command.h value.h gdbcore.h \ + $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h target.h breakpoint.h +sun3-xdep.o : sun3-xdep.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h inferior.h breakpoint.h value.h symtab.h frame.h gdbcore.h \ $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h -stack.o : stack.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h frame.h \ - gdbcmd.h command.h value.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ - $(INCLUDE_DIR)/ansidecl.h target.h breakpoint.h -sun3-xdep.o : sun3-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status inferior.h \ - breakpoint.h value.h symtab.h frame.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ - $(INCLUDE_DIR)/ansidecl.h sun386-xdep.o : sun386-xdep.c -symfile.o : symfile.c defs.h symtab.h param.h tm.h config.status param-no-tm.h xm.h config.status \ - gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h frame.h target.h \ - value.h symfile.h gdbcmd.h command.h breakpoint.h -symm-tdep.o : symm-tdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \ - inferior.h breakpoint.h value.h symtab.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ - $(INCLUDE_DIR)/ansidecl.h -symm-xdep.o : symm-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \ - inferior.h breakpoint.h value.h symtab.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ - $(INCLUDE_DIR)/ansidecl.h -symmisc.o : symmisc.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \ - breakpoint.h value.h command.h -symtab.o : symtab.c defs.h symtab.h param.h tm.h config.status param-no-tm.h xm.h config.status \ - gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h frame.h target.h \ - value.h symfile.h gdbcmd.h command.h regex.h -tahoe-pinsn.o : tahoe-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status \ - symtab.h tahoe-opcode.h +symfile.o : symfile.c defs.h symtab.h param.h tm.h config.status tm-i960.h param-no-tm.h \ + xm.h config.status xm-sparc.h gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h \ + frame.h target.h value.h symfile.h gdbcmd.h command.h breakpoint.h +symm-tdep.o : symm-tdep.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h frame.h inferior.h breakpoint.h value.h symtab.h gdbcore.h \ + $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h +symm-xdep.o : symm-xdep.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h frame.h inferior.h breakpoint.h value.h symtab.h gdbcore.h \ + $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h +symmisc.o : symmisc.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h symtab.h breakpoint.h value.h command.h +symtab.o : symtab.c defs.h symtab.h param.h tm.h config.status tm-i960.h param-no-tm.h \ + xm.h config.status xm-sparc.h gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h \ + frame.h target.h value.h symfile.h gdbcmd.h command.h regex.h +tahoe-pinsn.o : tahoe-pinsn.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h \ + xm.h config.status xm-sparc.h symtab.h tahoe-opcode.h target.o : target.c defs.h target.h gdbcmd.h command.h symtab.h inferior.h \ - breakpoint.h value.h frame.h param.h tm.h config.status param-no-tm.h xm.h config.status \ - $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h symfile.h + breakpoint.h value.h frame.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h symfile.h tdesc.o : tdesc.c -umax-xdep.o : umax-xdep.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status frame.h \ - inferior.h breakpoint.h value.h symtab.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ - $(INCLUDE_DIR)/ansidecl.h -utils.o : utils.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status signals.h gdbcmd.h \ - command.h terminal.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h \ - $(INCLUDE_DIR)/obstack.h target.h -valarith.o : valarith.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status value.h \ - symtab.h expression.h target.h -valops.o : valops.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h value.h \ - frame.h inferior.h breakpoint.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ - $(INCLUDE_DIR)/ansidecl.h target.h -valprint.o : valprint.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \ - value.h gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h gdbcmd.h \ - command.h target.h -values.o : values.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h value.h \ - gdbcore.h $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h frame.h command.h \ - gdbcmd.h -vax-pinsn.o : vax-pinsn.c defs.h param.h tm.h config.status param-no-tm.h xm.h config.status symtab.h \ - vax-opcode.h +umax-xdep.o : umax-xdep.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h frame.h inferior.h breakpoint.h value.h symtab.h gdbcore.h \ + $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h +utils.o : utils.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h signals.h gdbcmd.h command.h terminal.h $(INCLUDE_DIR)/bfd.h \ + $(INCLUDE_DIR)/ansidecl.h $(INCLUDE_DIR)/obstack.h target.h +valarith.o : valarith.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h value.h symtab.h expression.h target.h +valops.o : valops.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h symtab.h value.h frame.h inferior.h breakpoint.h gdbcore.h \ + $(INCLUDE_DIR)/bfd.h $(INCLUDE_DIR)/ansidecl.h target.h +valprint.o : valprint.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h symtab.h value.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ + $(INCLUDE_DIR)/ansidecl.h gdbcmd.h command.h target.h +values.o : values.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h symtab.h value.h gdbcore.h $(INCLUDE_DIR)/bfd.h \ + $(INCLUDE_DIR)/ansidecl.h frame.h command.h gdbcmd.h +vax-pinsn.o : vax-pinsn.c defs.h param.h tm.h config.status tm-i960.h param-no-tm.h xm.h config.status \ + xm-sparc.h symtab.h vax-opcode.h xdr_ld.o : ${srcdir}/vx-share/xdr_ld.c ${srcdir}/vx-share/vxWorks.h ${srcdir}/vx-share/vxTypes.h \ /usr/include/rpc/rpc.h ${srcdir}/vx-share/xdr_ld.h xdr_ptrace.o : ${srcdir}/vx-share/xdr_ptrace.c diff --git a/gdb/mtrace.c b/gdb/mtrace.c index a2fb1693e38..06268c46dc3 100755 --- a/gdb/mtrace.c +++ b/gdb/mtrace.c @@ -26,7 +26,15 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define ptrdiff_t int #define __ONEFILE -#include +/* We can't declare malloc and realloc here because we don't know + if they are char * or void *, and the compiler will give an error + if we get it wrong and they happen to be defined in some header + file e.g. . We can't include here because + it has some incompatability with our own includes, e.g. size_t or + whatever. So we just punt. This causes malloc and realloc to + default to returning "int", which works for most cases we care + about. FIXME-somehow. */ +/* #include */ #include "gmalloc.h" extern char *getenv(); @@ -71,7 +79,7 @@ DEFUN(tr_mallochook, (size), size_t size) PTR hdr; __malloc_hook = old_malloc_hook; - hdr = malloc(size); + hdr = (PTR) malloc(size); __malloc_hook = tr_mallochook; /* We could be printing a NULL here; that's OK */ @@ -94,7 +102,7 @@ DEFUN(tr_reallochook, (ptr, size), PTR ptr AND size_t size) __free_hook = old_free_hook; __malloc_hook = old_malloc_hook; __realloc_hook = old_realloc_hook; - hdr = realloc(ptr, size); + hdr = (PTR) realloc(ptr, size); __free_hook = tr_freehook; __malloc_hook = tr_mallochook; __realloc_hook = tr_reallochook; -- 2.30.2