aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1994-08-18 06:43:56 +0000
committerStu Grossman <grossman@cygnus>1994-08-18 06:43:56 +0000
commita8f6da08dcf5ac23b649cbec6597bdf336e8775e (patch)
tree3ade4a58a9973350b35a7db5f9a9c109bd341a01 /gdb
parentb7da24943dbe07851c083336f4c352e6e2e41d74 (diff)
downloadgdb-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')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/config/alpha/gdbserve.mt3
-rw-r--r--gdb/config/powerpc/gdbserve.mt4
-rw-r--r--gdb/config/powerpc/ppc-nw.mt22
-rw-r--r--gdb/config/powerpc/tm-ppc-nw.h29
-rw-r--r--gdb/nlmstub.def5
6 files changed, 69 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8849c02..85d5412 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 0000000..59333a2
--- /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 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 */
diff --git a/gdb/nlmstub.def b/gdb/nlmstub.def
new file mode 100644
index 0000000..18fca89
--- /dev/null
+++ b/gdb/nlmstub.def
@@ -0,0 +1,5 @@
+description "GDB debugger stub"
+version 1,2
+debug
+module aio, aiocomx
+screenname "System Console"