* configure.in (--enable-netrom): New configuration option.

* Makefile.in (REMOTE_OBS): Rename from REMOTE_O, append
	value of NETROM_OBS.
	(NETROM_OBS): New variable.
	* remote-nrom.c: New file, NetROM target support.
	* config/a29k/a29k-udi.mt, config/i960/vxworks960.mt: Use
	REMOTE_OBS instead of REMOTE_O.
start-sanitize-arc
	* config/arc/arc.mt: Ditto.
end-sanitize-arc
This commit is contained in:
Stan Shebs 1995-05-03 01:43:27 +00:00
parent 55ac59da2e
commit 33bc979d17
5 changed files with 1371 additions and 3 deletions

View File

@ -3,6 +3,6 @@ TDEPFILES= a29k-tdep.o remote-udi.o udip2soc.o udr.o udi2go32.o
TM_FILE= tm-a29k.h
# Disable standard remote support.
REMOTE_O=
REMOTE_OBS=
MT_CFLAGS = $(HOST_IPC)

View File

@ -1,5 +1,7 @@
# Target: arc processor
TDEPFILES= arc-tdep.o remote-arc.o
TM_FILE= tm-arc.h
REMOTE_O=dcache.o remote-utils.o
REMOTE_OBS= dcache.o remote-utils.o
SER_HARDWIRE= ser-go32-para.o

View File

@ -1,8 +1,10 @@
# Target: VxWorks running on an Intel 960
TDEPFILES= i960-tdep.o remote-vx.o remote-vx960.o xdr_ld.o xdr_ptrace.o xdr_rdb.o
TM_FILE= tm-vx960.h
# Define this for the vx-share routines, which don't see param.h.
MT_CFLAGS= -DI80960
# Don't use remote.o; it doesn't compile (and won't work) due to lack of
# BREAKPOINT.
REMOTE_O=dcache.o remote-utils.o
REMOTE_OBS= dcache.o remote-utils.o

View File

@ -466,6 +466,14 @@ ENABLE_CLIBS = $(TCL) $(TK) $(X11_LIB_SWITCHES) $(X11_LIBS) -lm
fi
# end-sanitize-gdbtk
if [ "${enable_netrom}" = "yes" ] ; then
sed -e '/# End of host and/i\
\
NETROM_OBS = remote-nrom.o\
' < Makefile > Makefile.tem
mv -f Makefile.tem Makefile
fi
sed -e '/^TM_FILE[ ]*=/s,^TM_FILE[ ]*=[ ]*,&config/'"${gdb_target_cpu}"'/,
/^XM_FILE[ ]*=/s,^XM_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,
/^NAT_FILE[ ]*=/s,^NAT_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,' <Makefile >Makefile.tmp

1356
gdb/remote-nrom.c Normal file

File diff suppressed because it is too large Load Diff