* 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.
This commit is contained in:
Stu Grossman 1994-08-18 06:43:56 +00:00
parent b7da24943d
commit a8f6da08dc
6 changed files with 69 additions and 0 deletions

View File

@ -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)

View File

@ -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

View File

@ -0,0 +1,4 @@
# Target: GDBSERVE.NLM running on a Power-PC
TDEPFILES= ppc.o fake_aio.o
CPU_FILE= ppc

View File

@ -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

View File

@ -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 */

5
gdb/nlmstub.def Normal file
View File

@ -0,0 +1,5 @@
description "GDB debugger stub"
version 1,2
debug
module aio, aiocomx
screenname "System Console"