From 5fe3a1e907cebc36d29d70811b1381db4ef67e81 Mon Sep 17 00:00:00 2001 From: gwr Date: Sat, 18 Oct 1997 18:57:59 +0000 Subject: [PATCH] This was temporary - now in ../gdb --- gnu/usr.bin/gdb416/.gdbinit | 23 ------- gnu/usr.bin/gdb416/Makefile | 116 --------------------------------- gnu/usr.bin/gdb416/_alpha.mk | 10 --- gnu/usr.bin/gdb416/_arm32.mk | 9 --- gnu/usr.bin/gdb416/_i386.mk | 10 --- gnu/usr.bin/gdb416/_m68k.mk | 10 --- gnu/usr.bin/gdb416/_mips.mk | 9 --- gnu/usr.bin/gdb416/_ns32k.mk | 10 --- gnu/usr.bin/gdb416/_powerpc.mk | 9 --- gnu/usr.bin/gdb416/_sparc.mk | 10 --- gnu/usr.bin/gdb416/_vax.mk | 10 --- gnu/usr.bin/gdb416/config.h | 91 -------------------------- gnu/usr.bin/gdb416/mkinit.sh | 46 ------------- gnu/usr.bin/gdb416/version.c | 5 -- gnu/usr.bin/gdb416/xm.h | 3 - 15 files changed, 371 deletions(-) delete mode 100644 gnu/usr.bin/gdb416/.gdbinit delete mode 100644 gnu/usr.bin/gdb416/Makefile delete mode 100644 gnu/usr.bin/gdb416/_alpha.mk delete mode 100644 gnu/usr.bin/gdb416/_arm32.mk delete mode 100644 gnu/usr.bin/gdb416/_i386.mk delete mode 100644 gnu/usr.bin/gdb416/_m68k.mk delete mode 100644 gnu/usr.bin/gdb416/_mips.mk delete mode 100644 gnu/usr.bin/gdb416/_ns32k.mk delete mode 100644 gnu/usr.bin/gdb416/_powerpc.mk delete mode 100644 gnu/usr.bin/gdb416/_sparc.mk delete mode 100644 gnu/usr.bin/gdb416/_vax.mk delete mode 100644 gnu/usr.bin/gdb416/config.h delete mode 100644 gnu/usr.bin/gdb416/mkinit.sh delete mode 100644 gnu/usr.bin/gdb416/version.c delete mode 100644 gnu/usr.bin/gdb416/xm.h diff --git a/gnu/usr.bin/gdb416/.gdbinit b/gnu/usr.bin/gdb416/.gdbinit deleted file mode 100644 index 4d35d40c6adb..000000000000 --- a/gnu/usr.bin/gdb416/.gdbinit +++ /dev/null @@ -1,23 +0,0 @@ -echo Setting up the environment for debugging gdb.\n - -set complaints 1 - -b fatal - -b info_command -commands - silent - return -end - -dir ../../dist/gdb -dir ../../dist/readline - -dir ../../lib/bfd - -dir ../../dist/bfd -dir ../../dist/opcodes -dir ../../dist/libiberty -dir ../../dist/include - -set prompt (top-gdb) diff --git a/gnu/usr.bin/gdb416/Makefile b/gnu/usr.bin/gdb416/Makefile deleted file mode 100644 index f17dba643439..000000000000 --- a/gnu/usr.bin/gdb416/Makefile +++ /dev/null @@ -1,116 +0,0 @@ -# $NetBSD: Makefile,v 1.7 1997/09/29 15:41:09 gwr Exp $ - -PROG= gdb - -TOP= $(.CURDIR)/../.. -dist= $(TOP)/dist -srcdir= $(dist)/gdb - -.PATH: $(srcdir) - -# Override this to build a cross-debugger. -TARGET_ARCH?=$(MACHINE_ARCH) - -# Debugging? -# CFLAGS=-g - -# Find out where libreadline.a lives. -RL_CURDIR=$(TOP)/lib/readline -RL_OBJDIR!=cd $(RL_CURDIR); $(MAKE) echo_objdir -LIBREADLINE=$(RL_OBJDIR)/libreadline.a - -# Note: nm.h, tm.h are in $(.OBJDIR), -# and config.h, xm.h are in $(.CURDIR) -INCLS+= -I$(.OBJDIR) -I$(.CURDIR) - -# GDB_CFLAGS -INCLS+= -I$(srcdir) -I$(srcdir)/config - -# READLINE_CFLAGS -INCLS+= -I$(dist)/readline - -# BFD_CFLAGS: Make sure we get the installed bfd.h -INCLS+= -I$(TOP)/lib/bfd -INCLS+= -I$(dist)/bfd -INCLS+= -I$(dist)/include - -# misc. -DHAVE_TERMIOS -# KERNEL_DEBUG no longer used. See ADDITIONAL_OPTIONS* -DEFS= -DNO_MMALLOC - -CFLAGS+= $(INCLS) $(DEFS) - -.include "_$(TARGET_ARCH).mk" - -# Any NetBSD: (i386 m68k ns32k sparc vax) -NDEP_CMN?= infptrace.c inftarg.c fork-child.c corelow.c kcore-nbsd.c -XDEP_FILES= ser-tcp.c ser-unix.c -REMOTE_SRCS = remote.c dcache.c remote-utils.c - -DEPFILES = $(TDEP_FILES) $(XDEP_FILES) \ - $(NDEP_CMN) $(NDEP_FILES) $(REMOTE_SRCS) - -YYSRCS= c-exp.tab.c f-exp.tab.c m2-exp.tab.c - -# This exists only for easy comparison with the GNU Makefile. -COMMON_SRCS = version.c blockframe.c breakpoint.c findvar.c stack.c thread.c \ - source.c values.c eval.c valops.c valarith.c valprint.c printcmd.c \ - symtab.c symfile.c symmisc.c infcmd.c infrun.c command.c \ - expprint.c environ.c gdbtypes.c copying.c $(DEPFILES) \ - mem-break.c target.c parse.c language.c $(YYSRCS) buildsym.c \ - exec.c bcache.c objfiles.c minsyms.c maint.c demangle.c \ - dbxread.c coffread.c elfread.c \ - dwarfread.c mipsread.c stabsread.c corefile.c \ - c-lang.c ch-exp.c ch-lang.c f-lang.c m2-lang.c \ - scm-exp.c scm-lang.c scm-valprint.c complaints.c typeprint.c \ - c-typeprint.c ch-typeprint.c f-typeprint.c m2-typeprint.c \ - c-valprint.c cp-valprint.c ch-valprint.c f-valprint.c m2-valprint.c \ - nlmread.c serial.c mdebugread.c os9kread.c top.c utils.c callback.c - -SRCS= main.c $(COMMON_SRCS) annotate.c inflow.c gnu-regex.c -OBJS= init.o - -LDADD+= $(LIBREADLINE) -DPADD+= $(LIBREADLINE) - -LDADD+= -lbfd -DPADD+= $(LIBBFD) - -LDADD+= -lkvm -DPADD+= $(LIBKVM) - -LDADD+= -ltermcap -DPADD+= $(LIBTERMCAP) - -DPSRCS+= nm.h tm.h - -.include - -# Note: this rule does something similar to the gcc "collect" program, -# by scanning all the objects for initialization functions, collecting -# them all into the generated init.c file, which is called by main. -CLEANFILES+= init.c -init.o : $(OBJS:S/init.o//) - -rm -f init.c - sh $(.CURDIR)/mkinit.sh $(OBJS:S/init.o//) > init.c - ${COMPILE.c} init.c - -# Need these headers before any objects. -$(OBJS) : nm.h tm.h xm.h - -nm.h : $(srcdir)/$(NM_FILE) - -rm -f $@ - cp -p $(srcdir)/$(NM_FILE) $@ - -tm.h : $(srcdir)/$(TM_FILE) - -rm -f $@ - cp -p $(srcdir)/$(TM_FILE) $@ - -version.o : version.c - $(CC) $(CFLAGS) $(CPPFLAGS) \ - -DHOST_NAME=\"$(MACHINE_ARCH)-netbsd\" \ - -DTARGET_NAME=\"$(TARGET_ARCH)-netbsd\" \ - -c $(.IMPSRC) - -# YACC rules for YYSRCS? Our yacc did not work for me, so -# this makefile uses the FSF-provided YYSRCS for now. diff --git a/gnu/usr.bin/gdb416/_alpha.mk b/gnu/usr.bin/gdb416/_alpha.mk deleted file mode 100644 index d8c017d2ad23..000000000000 --- a/gnu/usr.bin/gdb416/_alpha.mk +++ /dev/null @@ -1,10 +0,0 @@ -# $NetBSD: _alpha.mk,v 1.2 1997/09/29 15:37:22 gwr Exp $ - -# From gdb/config/alpha/nbsd.mh -NM_FILE= config/alpha/nm-nbsd.h -NDEP_FILES= alphanbsd-nat.c - -# From gdb/config/alpha/nbsd.mt -TM_FILE= config/alpha/tm-nbsd.h -TDEP_FILES= alpha-tdep.c solib.c - diff --git a/gnu/usr.bin/gdb416/_arm32.mk b/gnu/usr.bin/gdb416/_arm32.mk deleted file mode 100644 index bbfc56660100..000000000000 --- a/gnu/usr.bin/gdb416/_arm32.mk +++ /dev/null @@ -1,9 +0,0 @@ -# $NetBSD: _arm32.mk,v 1.1 1997/10/17 21:30:12 gwr Exp $ - -# From gdb/config/arm/arm.mh -NM_FILE= config/nm-nbsd.h -NDEP_FILES= arm-xdep.c arm-convert.s - -# From gdb/config/arm/arm.mt -TM_FILE= config/arm/tm-arm.h -TDEP_FILES= arm-tdep.c solib.c diff --git a/gnu/usr.bin/gdb416/_i386.mk b/gnu/usr.bin/gdb416/_i386.mk deleted file mode 100644 index 2eb42b7b858b..000000000000 --- a/gnu/usr.bin/gdb416/_i386.mk +++ /dev/null @@ -1,10 +0,0 @@ -# $NetBSD: _i386.mk,v 1.2 1997/09/29 15:37:23 gwr Exp $ - -# From gdb/config/i386/nbsd.mh -NM_FILE= config/i386/nm-nbsd.h -NDEP_FILES= i386nbsd-nat.c - -# From gdb/config/i386/nbsd.mt -TM_FILE= config/i386/tm-nbsd.h -TDEP_FILES= i386-tdep.c i387-tdep.c solib.c - diff --git a/gnu/usr.bin/gdb416/_m68k.mk b/gnu/usr.bin/gdb416/_m68k.mk deleted file mode 100644 index e49d4d4bd734..000000000000 --- a/gnu/usr.bin/gdb416/_m68k.mk +++ /dev/null @@ -1,10 +0,0 @@ -# $NetBSD: _m68k.mk,v 1.2 1997/09/29 15:37:23 gwr Exp $ - -# From gdb/config/m68k/nbsd.mh -NM_FILE= config/m68k/nm-nbsd.h -NDEP_FILES= m68knbsd-nat.c - -# From gdb/config/m68k/nbsd.mt -TM_FILE= config/m68k/tm-nbsd.h -TDEP_FILES= m68k-tdep.c solib.c - diff --git a/gnu/usr.bin/gdb416/_mips.mk b/gnu/usr.bin/gdb416/_mips.mk deleted file mode 100644 index 22f7888693b6..000000000000 --- a/gnu/usr.bin/gdb416/_mips.mk +++ /dev/null @@ -1,9 +0,0 @@ -# $NetBSD: _mips.mk,v 1.1 1997/10/17 21:30:07 gwr Exp $ - -# From gdb/config/mips/decstation.mh -NM_FILE= config/mips/nm-mips.h -NDEP_FILES= mips-nat.c - -# From gdb/config/mips/decstation.mt -TM_FILE= config/mips/tm-mips.h -TDEP_FILES= mips-tdep.c solib.c diff --git a/gnu/usr.bin/gdb416/_ns32k.mk b/gnu/usr.bin/gdb416/_ns32k.mk deleted file mode 100644 index a6b70c668f0e..000000000000 --- a/gnu/usr.bin/gdb416/_ns32k.mk +++ /dev/null @@ -1,10 +0,0 @@ -# $NetBSD: _ns32k.mk,v 1.2 1997/09/29 15:37:24 gwr Exp $ - -# gdb/config/ns32k/nbsd.mh -NM_FILE= config/ns32k/nm-nbsd.h -NDEP_FILES= ns32knbsd-nat.c - -# gdb/config/ns32k/nbsd.mt -TM_FILE= config/ns32k/tm-nbsd.h -TDEP_FILES= ns32k-tdep.c solib.c - diff --git a/gnu/usr.bin/gdb416/_powerpc.mk b/gnu/usr.bin/gdb416/_powerpc.mk deleted file mode 100644 index 9a64a69dc65d..000000000000 --- a/gnu/usr.bin/gdb416/_powerpc.mk +++ /dev/null @@ -1,9 +0,0 @@ -# $NetBSD: _powerpc.mk,v 1.1 1997/10/17 21:30:18 gwr Exp $ - -# From gdb/config/powerpc/nbsd.mh -NM_FILE= config/powerpc/nm-nbsd.h -NDEP_FILES= rs6000-nat.c - -# From gdb/config/powerpc/nbsd.mt -TM_FILE= config/powerpc/tm-nbsd.h -TDEP_FILES= rs6000-tdep.c solib.c diff --git a/gnu/usr.bin/gdb416/_sparc.mk b/gnu/usr.bin/gdb416/_sparc.mk deleted file mode 100644 index 1ae31f0e6705..000000000000 --- a/gnu/usr.bin/gdb416/_sparc.mk +++ /dev/null @@ -1,10 +0,0 @@ -# $NetBSD: _sparc.mk,v 1.2 1997/09/29 15:37:25 gwr Exp $ - -# From gdb/config/sparc/nbsd.mh -NM_FILE= config/sparc/nm-nbsd.h -NDEP_FILES= sparcnbsd-nat.c - -# From gdb/config/sparc/nbsd.mt -TM_FILE= config/sparc/tm-nbsd.h -TDEP_FILES= sparc-tdep.c solib.c - diff --git a/gnu/usr.bin/gdb416/_vax.mk b/gnu/usr.bin/gdb416/_vax.mk deleted file mode 100644 index 19d455591617..000000000000 --- a/gnu/usr.bin/gdb416/_vax.mk +++ /dev/null @@ -1,10 +0,0 @@ -# $NetBSD: _vax.mk,v 1.2 1997/09/29 15:37:26 gwr Exp $ - -# From gdb/config/vax/nbsd.mh -NM_FILE= config/vax/nm-nbsd.h -NDEP_FILES= vaxnbsd-nat.c - -# From gdb/config/vax/nbsd.mt -TM_FILE= config/vax/tm-nbsd.h -TDEP_FILES= vax-tdep.c solib.c - diff --git a/gnu/usr.bin/gdb416/config.h b/gnu/usr.bin/gdb416/config.h deleted file mode 100644 index 29f0a3c0e18a..000000000000 --- a/gnu/usr.bin/gdb416/config.h +++ /dev/null @@ -1,91 +0,0 @@ -/* config.h. Generated automatically by configure. */ -/* config.in. Generated automatically from configure.in by autoheader. */ - -/* Define if on AIX 3. - System headers sometimes define this. - We just want to avoid a redefinition error message. */ -#ifndef _ALL_SOURCE -/* #undef _ALL_SOURCE */ -#endif - -/* Define if the `long double' type works. */ -#define HAVE_LONG_DOUBLE 1 - -/* Define if you have a working `mmap' system call. */ -#define HAVE_MMAP 1 - -/* Define if on MINIX. */ -/* #undef _MINIX */ - -/* Define if the system does not provide POSIX.1 features except - with this defined. */ -/* #undef _POSIX_1_SOURCE */ - -/* Define if you need to in order for stat and other things to work. */ -/* #undef _POSIX_SOURCE */ - -/* Define if the `S_IS*' macros in do not work properly. */ -/* #undef STAT_MACROS_BROKEN */ - -/* Define if you have the ANSI C header files. */ -#define STDC_HEADERS 1 - -/* Define if fpregset_t type is available. */ -/* #undef HAVE_FPREGSET_T */ - -/* Define if gregset_t type is available. */ -/* #undef HAVE_GREGSET_T */ - -/* Define if the "%Lg" format works to print long doubles. */ -#define PRINTF_HAS_LONG_DOUBLE 1 - -/* Define if you have the getpagesize function. */ -#define HAVE_GETPAGESIZE 1 - -/* Define if you have the sbrk function. */ -#define HAVE_SBRK 1 - -/* Define if you have the setpgid function. */ -#define HAVE_SETPGID 1 - -/* Define if you have the valloc function. */ -#define HAVE_VALLOC 1 - -/* Define if you have the header file. */ -/* #undef HAVE_ENDIAN_H */ - -/* Define if you have the header file. */ -#define HAVE_LIMITS_H 1 - -/* Define if you have the header file. */ -#define HAVE_LINK_H 1 - -/* Define if you have the header file. */ -#define HAVE_MEMORY_H 1 - -/* Define if you have the header file. */ -#define HAVE_SGTTY_H 1 - -/* Define if you have the header file. */ -#define HAVE_STDDEF_H 1 - -/* Define if you have the header file. */ -#define HAVE_STRING_H 1 - -/* Define if you have the header file. */ -#define HAVE_STRINGS_H 1 - -/* Define if you have the header file. */ -/* #undef HAVE_SYS_PROCFS_H */ - -/* Define if you have the header file. */ -/* #undef HAVE_TERMIO_H */ - -/* Define if you have the header file. */ -#define HAVE_TERMIOS_H 1 - -/* Define if you have the header file. */ -#define HAVE_UNISTD_H 1 - -/* Define if you have the dl library (-ldl). */ -/* #undef HAVE_LIBDL */ diff --git a/gnu/usr.bin/gdb416/mkinit.sh b/gnu/usr.bin/gdb416/mkinit.sh deleted file mode 100644 index 033af98b45ca..000000000000 --- a/gnu/usr.bin/gdb416/mkinit.sh +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/sh -# -# $NetBSD: mkinit.sh,v 1.1.1.1 1997/09/26 04:37:02 gwr Exp $ -# -# Generate the init.c file on stdout. -# Arguments are names of *.o files. - -# Run awk on the (edited) output of nm, i.e: -# 00000000 T _initialize_xxxx -# and turn it into a list of function calls. - -# Which awk do we use? (awk,gawk,nawk?) -awk=${AWK:-awk} - -# Does the compiler prepend an underscore? -if (nm version.o |grep -q ' _version') -then - sedarg='s/ _/ /' -else - sedarg= -fi -# echo "mkinit.sh: sedarg=$sedarg" >&2 - -echo '/* Do not modify this file. */' -echo '/* It is created automatically by the Makefile. */' -echo 'void initialize_all_files () {' - -for f -do - nm -p $f -done | -sed -e "$sedarg" | -$awk ' -function doit(str) { - printf(" {extern void %s (); %s ();}\n", str, str); -} -/ T _initialize_/ { - doit($3); - next; -} -{ next; } -' - -echo '}' - -exit 0 diff --git a/gnu/usr.bin/gdb416/version.c b/gnu/usr.bin/gdb416/version.c deleted file mode 100644 index 2b097fe71ad6..000000000000 --- a/gnu/usr.bin/gdb416/version.c +++ /dev/null @@ -1,5 +0,0 @@ -/* $NetBSD: version.c,v 1.1.1.1 1997/09/26 04:37:02 gwr Exp $ */ - -char *version = "4.16"; -char *host_name = HOST_NAME; -char *target_name = TARGET_NAME; diff --git a/gnu/usr.bin/gdb416/xm.h b/gnu/usr.bin/gdb416/xm.h deleted file mode 100644 index 0205b074faea..000000000000 --- a/gnu/usr.bin/gdb416/xm.h +++ /dev/null @@ -1,3 +0,0 @@ -/* $NetBSD: xm.h,v 1.1.1.1 1997/09/26 04:37:02 gwr Exp $ */ - -#include "xm-nbsd.h"