From: Stu Grossman Date: Thu, 18 Aug 1994 06:43:56 +0000 (+0000) Subject: * Makefile.in (TARGET_FLAGS_TO_PASS): Pass down LD_FOR_TARGET and X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a8f6da08dcf5ac23b649cbec6597bdf336e8775e;p=binutils-gdb.git * Makefile.in (TARGET_FLAGS_TO_PASS): Pass down LD_FOR_TARGET and NLMCONV_FOR_TARGET. (SUBDIRS): Add nlm target. * configure.in (powerpc-*-netware*): Automatically configure nlm subdir. * nlm/Makefile.in: Add {CC NLMCONV LD}_FOR_TARGET. Remove alpha specific stuff. Make things more configurable. * nlm/configure.in: Add powerpc-*-netware* target. Use gdbserve.mt/cpu.c/cpu.h for target stuff. Get rid of tm/xm/nm.h files. * nlm/gdbserve.c: Move Alpha specific stuff into other files. Remove lots of architecture-specific stuff. * nlm/gdbserve.def: Add new imports. * nlm/ppc.c, nlm/ppc.h: New files that contain PowerPC specific code. * nlm/prelude.c: Don't include libhooks.h, get rid of call to register library. * nlm/prelude.o: What was this doing here? * config/alpha/gdbserve.mt: Defs for alpha nlm stub. * config/powerpc/gdbserve.mt: Defs for PowerPC nlm stub. * config/powerpc/ppc-nw.mt: Defs for PowerPC target for GDB. * config/powerpc/tm-ppc-nw.h: Ditto. * nlmstub.def: New file, contains imports for 386 nlm stub. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8849c02c10d..85d54129f59 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -16,6 +16,12 @@ Wed Aug 17 23:08:53 1994 Stu Grossman (grossman@cygnus.com) * nlm/prelude.c: Don't include libhooks.h, get rid of call to register library. * nlm/prelude.o: What was this doing here? + * config/alpha/gdbserve.mt: Defs for alpha nlm stub. + * config/powerpc/gdbserve.mt: Defs for PowerPC nlm stub. + * config/powerpc/ppc-nw.mt: Defs for PowerPC target for GDB. + * config/powerpc/tm-ppc-nw.h: Ditto. + + * nlmstub.def: New file, contains imports for 386 nlm stub. Wed Aug 17 23:17:33 1994 Rob Savoye (rob@darkstar.cygnus.com) diff --git a/gdb/config/alpha/gdbserve.mt b/gdb/config/alpha/gdbserve.mt new file mode 100644 index 00000000000..59333a217ac --- /dev/null +++ b/gdb/config/alpha/gdbserve.mt @@ -0,0 +1,3 @@ +# Target: GDBSERVE.NLM running on a little-endian Alpha +TDEPFILES= alpha.o alpha-io.o alpha-patch.o alpha-uart.o +CPU_FILE= alpha diff --git a/gdb/config/powerpc/gdbserve.mt b/gdb/config/powerpc/gdbserve.mt new file mode 100644 index 00000000000..da4016cae04 --- /dev/null +++ b/gdb/config/powerpc/gdbserve.mt @@ -0,0 +1,4 @@ +# Target: GDBSERVE.NLM running on a Power-PC +TDEPFILES= ppc.o fake_aio.o + +CPU_FILE= ppc diff --git a/gdb/config/powerpc/ppc-nw.mt b/gdb/config/powerpc/ppc-nw.mt new file mode 100644 index 00000000000..434544e6a06 --- /dev/null +++ b/gdb/config/powerpc/ppc-nw.mt @@ -0,0 +1,22 @@ +# Target machine: Power-PC running Netware +# Copyright (C) 1994 Free Software Foundation, Inc. + +# This file is part of GDB. + +# GDB is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 1, or (at your option) +# any later version. + +# GDB is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with GDB; see the file COPYING. If not, write to +# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + +TDEPFILES= rs6000-pinsn.o rs6000-tdep.o exec.o +TM_FILE= tm-ppc-nw.h + diff --git a/gdb/config/powerpc/tm-ppc-nw.h b/gdb/config/powerpc/tm-ppc-nw.h new file mode 100644 index 00000000000..f747b7e9931 --- /dev/null +++ b/gdb/config/powerpc/tm-ppc-nw.h @@ -0,0 +1,29 @@ +/* Macro definitions for Power PC running Netware. + Copyright 1994 Free Software Foundation, Inc. + +This file is part of GDB. + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#ifndef TM_PPC_NW_H +#define TM_PPC_NW_H + +/* Use generic RS6000 definitions. */ +#include "rs6000/tm-rs6000.h" + +#undef PC_LOAD_SEGMENT +#undef PROCESS_LINENUMBER_HOOK + +#endif /* TM_PPC_NW_H */ diff --git a/gdb/nlmstub.def b/gdb/nlmstub.def new file mode 100644 index 00000000000..18fca89a76e --- /dev/null +++ b/gdb/nlmstub.def @@ -0,0 +1,5 @@ +description "GDB debugger stub" +version 1,2 +debug +module aio, aiocomx +screenname "System Console"