diff options
author | Stu Grossman <grossman@cygnus> | 1994-08-18 06:43:56 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1994-08-18 06:43:56 +0000 |
commit | a8f6da08dcf5ac23b649cbec6597bdf336e8775e (patch) | |
tree | 3ade4a58a9973350b35a7db5f9a9c109bd341a01 /gdb/config/powerpc | |
parent | b7da24943dbe07851c083336f4c352e6e2e41d74 (diff) | |
download | gdb-a8f6da08dcf5ac23b649cbec6597bdf336e8775e.zip gdb-a8f6da08dcf5ac23b649cbec6597bdf336e8775e.tar.gz gdb-a8f6da08dcf5ac23b649cbec6597bdf336e8775e.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/config/powerpc')
-rw-r--r-- | gdb/config/powerpc/gdbserve.mt | 4 | ||||
-rw-r--r-- | gdb/config/powerpc/ppc-nw.mt | 22 | ||||
-rw-r--r-- | gdb/config/powerpc/tm-ppc-nw.h | 29 |
3 files changed, 55 insertions, 0 deletions
diff --git a/gdb/config/powerpc/gdbserve.mt b/gdb/config/powerpc/gdbserve.mt new file mode 100644 index 0000000..da4016c --- /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 0000000..434544e --- /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 0000000..f747b7e --- /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 */ |