aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1993-04-06 05:50:54 +0000
committerStu Grossman <grossman@cygnus>1993-04-06 05:50:54 +0000
commit4e772f4426b2e004da8aaa4cccc7ea483eadf794 (patch)
tree52ef0674eefe2186020a8ccc68265c6cd2a0d9ab /gdb/configure.in
parent9acdb2dc824dfdfbd94bbd4481473dc3b9c2c09b (diff)
downloadgdb-4e772f4426b2e004da8aaa4cccc7ea483eadf794.zip
gdb-4e772f4426b2e004da8aaa4cccc7ea483eadf794.tar.gz
gdb-4e772f4426b2e004da8aaa4cccc7ea483eadf794.tar.bz2
* Makefile.in (SFILES OBS): Add serial.[co] & ser-hardwire.[co].
These implement a new serial line interface for talking to remote targets. * configure.in: Link ser-hardwire.c to ser-unix.c for all hosts, EXCEPT go32, which gets ser-go32.c. * remote.c: Use new serial interface. More remote-xxx's to be converted later. * ser-bsd.c, ser-termios.c: Removed. * serial.c: New. Implements common operations for all serial types. * ser-unix.c: New. Unix specific serial operations for various flavors of Unix (Posix, SysV, BSD). * serial.h: Generic serial interface defs. * config/i386/go32.mh, config/i386/i386bsd.h, config/m68k/apollo68b.mh, config/sparc/sun4os4.mh: Remove ser-bsd.o from XDEPFILES. All the magic is now handled in configure.in.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index 013bd62..5a1cc69 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -1,6 +1,7 @@
configdirs="doc testsuite"
srcname="GDB"
srctrigger=main.c
+gdb_serial_driver=ser-unix.c
# per-host:
@@ -36,7 +37,9 @@ i[34]86-ncr-*) gdb_host=ncr3000 ;;
i[34]86-sequent-*) gdb_host=symmetry ;;
i[34]86-*-bsd*) gdb_host=i386bsd ;;
-i[34]86-*-go32) gdb_host=go32 ;;
+i[34]86-*-go32) gdb_host=go32
+ gdb_serial_driver=ser-go32.c
+ ;;
i[34]86-*-linux) gdb_host=linux ;;
i[34]86-*-mach) gdb_host=i386mach ;;
i[34]86-*-sco3.2v4*) gdb_host=i386sco4 ;;
@@ -267,6 +270,7 @@ target_makefile_frag=config/${gdb_target_cpu}/${gdb_target}.mt
files=
links=
rm -f xm.h
+rm -f ser-hardwire.c
if [ "${hostfile}" != "" ]; then
if [ -f ${srcdir}/config/${hostfile} ]; then
files="${files} config/${hostfile}"
@@ -274,6 +278,9 @@ if [ "${hostfile}" != "" ]; then
files="${files} config/${gdb_host_cpu}/${hostfile}"
fi
links="${links} xm.h"
+
+ files="${files} ${gdb_serial_driver}"
+ links="${links} ser-hardwire.c"
fi
rm -f tm.h
if [ "${targetfile}" != "" ]; then