Revised UDP support (was: Re: [Fwd: [patch] UDP transport support])
Momchil Velikov
velco@fadata.bg
Sat Apr 1 03:16:00 GMT 2000
Fernando Nasser <fnasser@cygnus.com>
> Please make sure tcp is assumed by default so the current behavior is not changed.
Done. Here the new patch.
Regards,
-velco
PS. The funny thing is that initially I forgot to remove the old
code in serial.c noticed it just before sending the patch
and "corrected" it. Maybe I should't have looked that close :-)
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.17
diff -c -3 -p -r1.17 Makefile.in
*** Makefile.in 2000/03/28 21:19:04 1.17
--- Makefile.in 2000/03/31 19:05:32
*************** ALLDEPFILES = 29k-share/udi/udip2soc.c 2
*** 1086,1092 ****
remote-st.c remote-utils.c dcache.c \
remote-udi.c remote-vx.c remote-vx29k.c \
rs6000-nat.c rs6000-tdep.c \
! ser-go32.c ser-pipe.c ser-ocd.c ser-tcp.c \
sh-tdep.c solib.c sparc-nat.c \
sparc-tdep.c sparcl-tdep.c sun3-nat.c sun386-nat.c \
symm-tdep.c symm-nat.c \
--- 1086,1092 ----
remote-st.c remote-utils.c dcache.c \
remote-udi.c remote-vx.c remote-vx29k.c \
rs6000-nat.c rs6000-tdep.c \
! ser-go32.c ser-pipe.c ser-ocd.c ser-tcp.c ser-udp.c \
sh-tdep.c solib.c sparc-nat.c \
sparc-tdep.c sparcl-tdep.c sun3-nat.c sun386-nat.c \
symm-tdep.c symm-nat.c \
*************** ser-ocd.o: ser-ocd.c $(defs_h) serial.h
*** 1760,1765 ****
--- 1760,1767 ----
ser-pipe.o: ser-pipe.c $(defs_h) serial.h signals.h gdb_string.h ser-unix.h
ser-tcp.o: ser-tcp.c $(defs_h) serial.h signals.h gdb_string.h ser-unix.h
+
+ ser-udp.o: ser-udp.c $(defs_h) serial.h signals.h gdb_string.h ser-unix.h
ser-unix.o: ser-unix.c $(defs_h) serial.h ser-unix.h
Index: ser-tcp.c
===================================================================
RCS file: /cvs/src/src/gdb/ser-tcp.c,v
retrieving revision 1.1.1.9
diff -c -3 -p -r1.1.1.9 ser-tcp.c
*** ser-tcp.c 1999/10/05 23:08:47 1.1.1.9
--- ser-tcp.c 2000/03/31 19:05:35
*************** tcp_open (serial_t scb, const char *name
*** 57,63 ****
port_str = strchr (name, ':');
if (!port_str)
! error ("tcp_open: No colon in host name!"); /* Shouldn't ever happen */
tmp = min (port_str - name, (int) sizeof hostname - 1);
strncpy (hostname, name, tmp); /* Don't want colon */
--- 57,63 ----
port_str = strchr (name, ':');
if (!port_str)
! error ("tcp_open: No colon in host name!");
tmp = min (port_str - name, (int) sizeof hostname - 1);
strncpy (hostname, name, tmp); /* Don't want colon */
Index: serial.c
===================================================================
RCS file: /cvs/src/src/gdb/serial.c,v
retrieving revision 1.2
diff -c -3 -p -r1.2 serial.c
*** serial.c 2000/03/28 02:25:14 1.2
--- serial.c 2000/03/31 19:05:38
*************** serial_open (const char *name)
*** 185,190 ****
--- 185,200 ----
ops = serial_interface_lookup ("ocd");
else if (strcmp (name, "pc") == 0)
ops = serial_interface_lookup ("pc");
+ else if (strncmp (name, "udp:", 4) == 0)
+ {
+ ops = serial_interface_lookup ("udp");
+ open_name = name + 4; /* discard ``udp:'' */
+ }
+ else if (strncmp (name, "tcp:", 4) == 0)
+ {
+ ops = serial_interface_lookup ("tcp");
+ open_name = name + 4; /* discard ``tcp:'' */
+ }
else if (strchr (name, ':'))
ops = serial_interface_lookup ("tcp");
else if (strncmp (name, "lpt", 3) == 0)
Index: config/alpha/alpha-linux.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/alpha/alpha-linux.mh,v
retrieving revision 1.2
diff -c -3 -p -r1.2 alpha-linux.mh
*** alpha-linux.mh 2000/03/03 02:18:26 1.2
--- alpha-linux.mh 2000/03/31 19:05:39
***************
*** 1,5 ****
# Host: Little-endian Alpha running Linux
! XDEPFILES= ser-tcp.o
XM_FILE= xm-alphalinux.h
NAT_FILE= nm-linux.h
NATDEPFILES= infptrace.o inftarg.o corelow.o alpha-nat.o \
--- 1,5 ----
# Host: Little-endian Alpha running Linux
! XDEPFILES= ser-tcp.o ser-udp.o
XM_FILE= xm-alphalinux.h
NAT_FILE= nm-linux.h
NATDEPFILES= infptrace.o inftarg.o corelow.o alpha-nat.o \
Index: config/arm/linux.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/arm/linux.mh,v
retrieving revision 1.2
diff -c -3 -p -r1.2 linux.mh
*** linux.mh 2000/02/28 20:28:10 1.2
--- linux.mh 2000/03/31 19:05:39
***************
*** 1,7 ****
# Host: ARM based machine running GNU/Linux
XM_FILE= xm-linux.h
! XDEPFILES= ser-tcp.o
NAT_FILE= nm-linux.h
NATDEPFILES= infptrace.o solib.o inftarg.o fork-child.o corelow.o \
--- 1,7 ----
# Host: ARM based machine running GNU/Linux
XM_FILE= xm-linux.h
! XDEPFILES= ser-tcp.o ser-udp.o
NAT_FILE= nm-linux.h
NATDEPFILES= infptrace.o solib.o inftarg.o fork-child.o corelow.o \
Index: config/i386/cygwin.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/cygwin.mh,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 cygwin.mh
*** cygwin.mh 1999/04/16 01:34:17 1.1.1.1
--- cygwin.mh 2000/03/31 19:05:39
***************
*** 1,6 ****
MH_CFLAGS=
XM_FILE=xm-cygwin.h
! XDEPFILES=ser-tcp.o
NATDEPFILES= win32-nat.o
NAT_FILE=../nm-empty.h
XM_CLIBS=
--- 1,6 ----
MH_CFLAGS=
XM_FILE=xm-cygwin.h
! XDEPFILES=ser-tcp.o ser-udp.o
NATDEPFILES= win32-nat.o
NAT_FILE=../nm-empty.h
XM_CLIBS=
Index: config/i386/fbsd.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/fbsd.mh,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 fbsd.mh
*** fbsd.mh 1999/04/16 01:34:17 1.1.1.1
--- fbsd.mh 2000/03/31 19:05:39
***************
*** 1,5 ****
# Host: Intel 386 running FreeBSD
! XDEPFILES= ser-tcp.o
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o core-aout.o i386b-nat.o
XM_FILE= xm-i386bsd.h
NAT_FILE= nm-fbsd.h
--- 1,5 ----
# Host: Intel 386 running FreeBSD
! XDEPFILES= ser-tcp.o ser-udp.o
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o core-aout.o i386b-nat.o
XM_FILE= xm-i386bsd.h
NAT_FILE= nm-fbsd.h
Index: config/i386/i386dgux.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/i386dgux.mh,v
retrieving revision 1.1.1.3
diff -c -3 -p -r1.1.1.3 i386dgux.mh
*** i386dgux.mh 2000/02/01 03:19:14 1.1.1.3
--- i386dgux.mh 2000/03/31 19:05:40
***************
*** 1,7 ****
# Host: Intel 386 running DGUX, cloned from SVR4
XM_FILE= xm-i386v4.h
! XDEPFILES= ser-tcp.o
# for network communication
XM_CLIBS= -lsocket -lnsl
--- 1,7 ----
# Host: Intel 386 running DGUX, cloned from SVR4
XM_FILE= xm-i386v4.h
! XDEPFILES= ser-tcp.o ser-udp.o
# for network communication
XM_CLIBS= -lsocket -lnsl
Index: config/i386/i386lynx.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/i386lynx.mh,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 i386lynx.mh
*** i386lynx.mh 1999/04/16 01:34:18 1.1.1.1
--- i386lynx.mh 2000/03/31 19:05:40
***************
*** 2,8 ****
XM_FILE= xm-i386lynx.h
XM_CLIBS= -lbsd
! XDEPFILES= ser-tcp.o
NAT_FILE= nm-i386lynx.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o lynx-nat.o
--- 2,8 ----
XM_FILE= xm-i386lynx.h
XM_CLIBS= -lbsd
! XDEPFILES= ser-tcp.o ser-udp.o
NAT_FILE= nm-i386lynx.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o lynx-nat.o
Index: config/i386/i386sco5.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/i386sco5.mh,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 i386sco5.mh
*** i386sco5.mh 1999/04/16 01:34:19 1.1.1.1
--- i386sco5.mh 2000/03/31 19:05:40
*************** XM_FILE= xm-i386sco.h
*** 8,14 ****
# runtime, but all come with the development system, so we always
# have socket(), gethostbyname(), and friends.
#
! XDEPFILES= ser-tcp.o
XM_CLIBS= -lPW -lsocket
NAT_FILE= nm-i386sco5.h
--- 8,14 ----
# runtime, but all come with the development system, so we always
# have socket(), gethostbyname(), and friends.
#
! XDEPFILES= ser-tcp.o ser-udp.o
XM_CLIBS= -lPW -lsocket
NAT_FILE= nm-i386sco5.h
Index: config/i386/linux.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/linux.mh,v
retrieving revision 1.1.1.4
diff -c -3 -p -r1.1.1.4 linux.mh
*** linux.mh 1999/12/22 21:45:13 1.1.1.4
--- linux.mh 2000/03/31 19:05:40
***************
*** 1,7 ****
# Host: Intel 386 running GNU/Linux
XM_FILE= xm-linux.h
! XDEPFILES= ser-tcp.o
NAT_FILE= nm-linux.h
NATDEPFILES= infptrace.o solib.o inftarg.o fork-child.o corelow.o \
--- 1,7 ----
# Host: Intel 386 running GNU/Linux
XM_FILE= xm-linux.h
! XDEPFILES= ser-tcp.o ser-udp.o
NAT_FILE= nm-linux.h
NATDEPFILES= infptrace.o solib.o inftarg.o fork-child.o corelow.o \
Index: config/i386/nbsd.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/nbsd.mh,v
retrieving revision 1.2
diff -c -3 -p -r1.2 nbsd.mh
*** nbsd.mh 2000/03/22 01:36:31 1.2
--- nbsd.mh 2000/03/31 19:05:40
***************
*** 1,5 ****
# Host: Intel 386 running NetBSD
! XDEPFILES= ser-tcp.o
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o i386nbsd-nat.o
XM_FILE= xm-nbsd.h
NAT_FILE= nm-nbsd.h
--- 1,5 ----
# Host: Intel 386 running NetBSD
! XDEPFILES= ser-tcp.o ser-udp.o
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o i386nbsd-nat.o
XM_FILE= xm-nbsd.h
NAT_FILE= nm-nbsd.h
Index: config/ia64/linux.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/ia64/linux.mh,v
retrieving revision 1.1
diff -c -3 -p -r1.1 linux.mh
*** linux.mh 2000/03/21 00:11:10 1.1
--- linux.mh 2000/03/31 19:05:41
***************
*** 1,7 ****
# Host: Intel IA-64 running GNU/Linux
XM_FILE= xm-linux.h
! XDEPFILES= ser-tcp.o
NAT_FILE= nm-linux.h
NATDEPFILES= infptrace.o solib.o inftarg.o fork-child.o corelow.o \
--- 1,7 ----
# Host: Intel IA-64 running GNU/Linux
XM_FILE= xm-linux.h
! XDEPFILES= ser-tcp.o ser-udp.o
NAT_FILE= nm-linux.h
NATDEPFILES= infptrace.o solib.o inftarg.o fork-child.o corelow.o \
Index: config/m68k/linux.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/m68k/linux.mh,v
retrieving revision 1.1.1.2
diff -c -3 -p -r1.1.1.2 linux.mh
*** linux.mh 1999/12/07 03:56:10 1.1.1.2
--- linux.mh 2000/03/31 19:05:41
***************
*** 1,7 ****
# Host: Motorola m68k running Linux
XM_FILE= xm-linux.h
! XDEPFILES= ser-tcp.o
NAT_FILE= nm-linux.h
NATDEPFILES= infptrace.o solib.o inftarg.o fork-child.o \
--- 1,7 ----
# Host: Motorola m68k running Linux
XM_FILE= xm-linux.h
! XDEPFILES= ser-tcp.o ser-udp.o
NAT_FILE= nm-linux.h
NATDEPFILES= infptrace.o solib.o inftarg.o fork-child.o \
Index: config/m68k/m68klynx.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/m68k/m68klynx.mh,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 m68klynx.mh
*** m68klynx.mh 1999/04/16 01:34:21 1.1.1.1
--- m68klynx.mh 2000/03/31 19:05:41
***************
*** 2,8 ****
XM_FILE= xm-m68klynx.h
XM_CLIBS= -lbsd
! XDEPFILES= ser-tcp.o
NAT_FILE= nm-m68klynx.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o lynx-nat.o
--- 2,8 ----
XM_FILE= xm-m68klynx.h
XM_CLIBS= -lbsd
! XDEPFILES= ser-tcp.o ser-udp.o
NAT_FILE= nm-m68klynx.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o lynx-nat.o
Index: config/m68k/nbsd.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/m68k/nbsd.mh,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 nbsd.mh
*** nbsd.mh 1999/04/16 01:34:21 1.1.1.1
--- nbsd.mh 2000/03/31 19:05:41
***************
*** 1,5 ****
# Host: Motorola m68k running NetBSD
! XDEPFILES= ser-tcp.o
NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o m68knbsd-nat.o
XM_FILE= xm-nbsd.h
NAT_FILE= nm-nbsd.h
--- 1,5 ----
# Host: Motorola m68k running NetBSD
! XDEPFILES= ser-tcp.o ser-udp.o
NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o m68knbsd-nat.o
XM_FILE= xm-nbsd.h
NAT_FILE= nm-nbsd.h
Index: config/mips/irix4.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/irix4.mh,v
retrieving revision 1.1.1.3
diff -c -3 -p -r1.1.1.3 irix4.mh
*** irix4.mh 2000/02/01 03:19:17 1.1.1.3
--- irix4.mh 2000/03/31 19:05:42
***************
*** 1,5 ****
# Host: SGI Iris running irix 4.x
! XDEPFILES= ser-tcp.o
XM_FILE= xm-irix4.h
NAT_FILE= nm-irix4.h
NATDEPFILES= fork-child.o irix4-nat.o corelow.o procfs.o \
--- 1,5 ----
# Host: SGI Iris running irix 4.x
! XDEPFILES= ser-tcp.o ser-udp.o
XM_FILE= xm-irix4.h
NAT_FILE= nm-irix4.h
NATDEPFILES= fork-child.o irix4-nat.o corelow.o procfs.o \
Index: config/mips/irix5.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/irix5.mh,v
retrieving revision 1.1.1.3
diff -c -3 -p -r1.1.1.3 irix5.mh
*** irix5.mh 2000/02/01 03:19:17 1.1.1.3
--- irix5.mh 2000/03/31 19:05:42
***************
*** 1,5 ****
# Host: SGI Iris running irix 5.x
! XDEPFILES= ser-tcp.o
XM_FILE= xm-irix5.h
NAT_FILE= nm-irix5.h
NATDEPFILES= fork-child.o irix5-nat.o corelow.o procfs.o \
--- 1,5 ----
# Host: SGI Iris running irix 5.x
! XDEPFILES= ser-tcp.o ser-udp.o
XM_FILE= xm-irix5.h
NAT_FILE= nm-irix5.h
NATDEPFILES= fork-child.o irix5-nat.o corelow.o procfs.o \
Index: config/ns32k/nbsd.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/ns32k/nbsd.mh,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 nbsd.mh
*** nbsd.mh 1999/04/16 01:34:24 1.1.1.1
--- nbsd.mh 2000/03/31 19:05:42
***************
*** 1,5 ****
# Host: PC532 running NetBSD
! XDEPFILES= ser-tcp.o
XM_FILE= xm-nbsd.h
NAT_FILE= nm-nbsd.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o ns32knbsd-nat.o
--- 1,5 ----
# Host: PC532 running NetBSD
! XDEPFILES= ser-tcp.o ser-udp.o
XM_FILE= xm-nbsd.h
NAT_FILE= nm-nbsd.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o ns32knbsd-nat.o
Index: config/pa/hppabsd.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/pa/hppabsd.mh,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 hppabsd.mh
*** hppabsd.mh 1999/04/16 01:34:24 1.1.1.1
--- hppabsd.mh 2000/03/31 19:05:42
***************
*** 1,5 ****
# Host: Hewlett-Packard PA-RISC machine, running BSD
! XDEPFILES= ser-tcp.o
XM_FILE= xm-hppab.h
NAT_FILE= nm-hppab.h
NATDEPFILES= hppab-nat.o corelow.o core-aout.o inftarg.o fork-child.o somread.o infptrace.o hp-psymtab-read.o hp-symtab-read.o somsolib.o
--- 1,5 ----
# Host: Hewlett-Packard PA-RISC machine, running BSD
! XDEPFILES= ser-tcp.o ser-udp.o
XM_FILE= xm-hppab.h
NAT_FILE= nm-hppab.h
NATDEPFILES= hppab-nat.o corelow.o core-aout.o inftarg.o fork-child.o somread.o infptrace.o hp-psymtab-read.o hp-symtab-read.o somsolib.o
Index: config/pa/hppahpux.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/pa/hppahpux.mh,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 hppahpux.mh
*** hppahpux.mh 1999/04/16 01:34:24 1.1.1.1
--- hppahpux.mh 2000/03/31 19:05:42
***************
*** 1,7 ****
# Host: Hewlett-Packard PA-RISC machine, running HPUX
XM_FILE= xm-hppah.h
! XDEPFILES= ser-tcp.o
NAT_FILE= nm-hppah.h
NATDEPFILES= hppah-nat.o corelow.o core-aout.o inftarg.o fork-child.o somread.o infptrace.o hp-psymtab-read.o hp-symtab-read.o somsolib.o
--- 1,7 ----
# Host: Hewlett-Packard PA-RISC machine, running HPUX
XM_FILE= xm-hppah.h
! XDEPFILES= ser-tcp.o ser-udp.o
NAT_FILE= nm-hppah.h
NATDEPFILES= hppah-nat.o corelow.o core-aout.o inftarg.o fork-child.o somread.o infptrace.o hp-psymtab-read.o hp-symtab-read.o somsolib.o
Index: config/pa/hppaosf.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/pa/hppaosf.mh,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 hppaosf.mh
*** hppaosf.mh 1999/04/16 01:34:24 1.1.1.1
--- hppaosf.mh 2000/03/31 19:05:42
***************
*** 1,5 ****
# Host: Hewlett-Packard PA-RISC machine, running BSD
! XDEPFILES= ser-tcp.o
XM_FILE= xm-hppab.h
NAT_FILE= nm-hppao.h
NATDEPFILES= fork-child.o m3-nat.o hppam3-nat.o somread.o hp-psymtab-read.o hp-symtab-read.o somsolib.o
--- 1,5 ----
# Host: Hewlett-Packard PA-RISC machine, running BSD
! XDEPFILES= ser-tcp.o ser-udp.o
XM_FILE= xm-hppab.h
NAT_FILE= nm-hppao.h
NATDEPFILES= fork-child.o m3-nat.o hppam3-nat.o somread.o hp-psymtab-read.o hp-symtab-read.o somsolib.o
Index: config/pa/hpux1020.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/pa/hpux1020.mh,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 hpux1020.mh
*** hpux1020.mh 1999/04/16 01:34:24 1.1.1.1
--- hpux1020.mh 2000/03/31 19:05:42
***************
*** 3,9 ****
MH_CFLAGS = -D__HP_CURSES
XM_FILE= xm-hppah.h
! XDEPFILES= ser-tcp.o
NAT_FILE= nm-hppah.h
NATDEPFILES= hppah-nat.o corelow.o core-aout.o inftarg.o fork-child.o infptrace.o somread.o hp-psymtab-read.o hp-symtab-read.o somsolib.o
--- 3,9 ----
MH_CFLAGS = -D__HP_CURSES
XM_FILE= xm-hppah.h
! XDEPFILES= ser-tcp.o ser-udp.o
NAT_FILE= nm-hppah.h
NATDEPFILES= hppah-nat.o corelow.o core-aout.o inftarg.o fork-child.o infptrace.o somread.o hp-psymtab-read.o hp-symtab-read.o somsolib.o
Index: config/pa/hpux11.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/pa/hpux11.mh,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 hpux11.mh
*** hpux11.mh 1999/08/23 22:37:07 1.1.1.1
--- hpux11.mh 2000/03/31 19:05:42
***************
*** 3,9 ****
MH_CFLAGS = -D__HP_CURSES
XM_FILE= xm-hppah.h
! XDEPFILES= ser-tcp.o
NAT_FILE= nm-hppah11.h
NATDEPFILES= hppah-nat.o corelow.o core-aout.o inftarg.o fork-child.o infttrace.o somread.o hp-psymtab-read.o hp-symtab-read.o somsolib.o
--- 3,9 ----
MH_CFLAGS = -D__HP_CURSES
XM_FILE= xm-hppah.h
! XDEPFILES= ser-tcp.o ser-udp.o
NAT_FILE= nm-hppah11.h
NATDEPFILES= hppah-nat.o corelow.o core-aout.o inftarg.o fork-child.o infttrace.o somread.o hp-psymtab-read.o hp-symtab-read.o somsolib.o
Index: config/pa/hpux11w.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/pa/hpux11w.mh,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 hpux11w.mh
*** hpux11w.mh 1999/08/23 22:37:07 1.1.1.1
--- hpux11w.mh 2000/03/31 19:05:42
***************
*** 3,9 ****
MH_CFLAGS = -D__HP_CURSES
XM_FILE= xm-hppah.h
! XDEPFILES= ser-tcp.o
NAT_FILE= nm-hppah11.h
NATDEPFILES= hppah-nat.o corelow.o core-aout.o inftarg.o fork-child.o infttrace.o hp-psymtab-read.o hp-symtab-read.o pa64solib.o
--- 3,9 ----
MH_CFLAGS = -D__HP_CURSES
XM_FILE= xm-hppah.h
! XDEPFILES= ser-tcp.o ser-udp.o
NAT_FILE= nm-hppah11.h
NATDEPFILES= hppah-nat.o corelow.o core-aout.o inftarg.o fork-child.o infttrace.o hp-psymtab-read.o hp-symtab-read.o pa64solib.o
Index: config/powerpc/cygwin.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/powerpc/cygwin.mh,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 cygwin.mh
*** cygwin.mh 1999/04/16 01:34:24 1.1.1.1
--- cygwin.mh 2000/03/31 19:05:43
***************
*** 1,5 ****
MH_CFLAGS=
XM_FILE=xm-cygwin.h
! XDEP_FILES=ser-tcp.o
NATDEPFILES=win32-nat.o
XM_CLIBS=-lkernel32
--- 1,5 ----
MH_CFLAGS=
XM_FILE=xm-cygwin.h
! XDEP_FILES=ser-tcp.o ser-udp.o
NATDEPFILES=win32-nat.o
XM_CLIBS=-lkernel32
Index: config/powerpc/linux.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/powerpc/linux.mh,v
retrieving revision 1.2
diff -c -3 -p -r1.2 linux.mh
*** linux.mh 2000/02/22 01:27:34 1.2
--- linux.mh 2000/03/31 19:05:43
***************
*** 1,7 ****
# Host: PowerPC, running Linux
XM_FILE= xm-linux.h
! XDEPFILES= ser-tcp.o
XM_CLIBS=
NAT_FILE= nm-linux.h
--- 1,7 ----
# Host: PowerPC, running Linux
XM_FILE= xm-linux.h
! XDEPFILES= ser-tcp.o ser-udp.o
XM_CLIBS=
NAT_FILE= nm-linux.h
Index: config/powerpc/solaris.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/powerpc/solaris.mh,v
retrieving revision 1.1.1.3
diff -c -3 -p -r1.1.1.3 solaris.mh
*** solaris.mh 2000/02/01 03:19:18 1.1.1.3
--- solaris.mh 2000/03/31 19:05:43
***************
*** 1,7 ****
# Host: PowerPC, running Solaris 2
XM_FILE= xm-solaris.h
! XDEPFILES= ser-tcp.o
XM_CLIBS= -lsocket -lnsl
NAT_FILE= nm-solaris.h
--- 1,7 ----
# Host: PowerPC, running Solaris 2
XM_FILE= xm-solaris.h
! XDEPFILES= ser-tcp.o ser-udp.o
XM_CLIBS= -lsocket -lnsl
NAT_FILE= nm-solaris.h
Index: config/rs6000/rs6000lynx.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/rs6000/rs6000lynx.mh,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 rs6000lynx.mh
*** rs6000lynx.mh 1999/04/16 01:34:25 1.1.1.1
--- rs6000lynx.mh 2000/03/31 19:05:43
***************
*** 1,7 ****
# Host: RS6000 running LynxOS
XM_FILE= xm-rs6000ly.h
! XDEPFILES= ser-tcp.o
XM_CLIBS= -lbsd
NAT_FILE= nm-rs6000ly.h
--- 1,7 ----
# Host: RS6000 running LynxOS
XM_FILE= xm-rs6000ly.h
! XDEPFILES= ser-tcp.o ser-udp.o
XM_CLIBS= -lbsd
NAT_FILE= nm-rs6000ly.h
Index: config/sparc/linux.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/linux.mh,v
retrieving revision 1.1.1.2
diff -c -3 -p -r1.1.1.2 linux.mh
*** linux.mh 1999/12/07 03:56:12 1.1.1.2
--- linux.mh 2000/03/31 19:05:43
***************
*** 1,5 ****
# Host: Sparcstation, running Linux
! XDEPFILES= ser-tcp.o
XM_FILE= xm-linux.h
NAT_FILE= nm-linux.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o sparc-nat.o \
--- 1,5 ----
# Host: Sparcstation, running Linux
! XDEPFILES= ser-tcp.o ser-udp.o
XM_FILE= xm-linux.h
NAT_FILE= nm-linux.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o sparc-nat.o \
Index: config/sparc/nbsd.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/nbsd.mh,v
retrieving revision 1.1.1.2
diff -c -3 -p -r1.1.1.2 nbsd.mh
*** nbsd.mh 1999/12/14 01:05:42 1.1.1.2
--- nbsd.mh 2000/03/31 19:05:43
***************
*** 1,5 ****
# Host: Sun 4 or Sparcstation, running NetBSD
! XDEPFILES= ser-tcp.o
XM_FILE= xm-nbsd.h
NAT_FILE= nm-nbsd.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o sparc-nat.o solib.o
--- 1,5 ----
# Host: Sun 4 or Sparcstation, running NetBSD
! XDEPFILES= ser-tcp.o ser-udp.o
XM_FILE= xm-nbsd.h
NAT_FILE= nm-nbsd.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o sparc-nat.o solib.o
Index: config/sparc/nbsdelf.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/nbsdelf.mh,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 nbsdelf.mh
*** nbsdelf.mh 1999/12/14 01:05:42 1.1.1.1
--- nbsdelf.mh 2000/03/31 19:05:43
***************
*** 1,5 ****
# Host: Sun 4 or Sparcstation, running NetBSD
! XDEPFILES= ser-tcp.o
XM_FILE= xm-nbsd.h
NAT_FILE= nm-nbsdelf.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o sparc-nat.o solib.o
--- 1,5 ----
# Host: Sun 4 or Sparcstation, running NetBSD
! XDEPFILES= ser-tcp.o ser-udp.o
XM_FILE= xm-nbsd.h
NAT_FILE= nm-nbsdelf.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o sparc-nat.o solib.o
Index: config/sparc/sparclynx.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/sparclynx.mh,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 sparclynx.mh
*** sparclynx.mh 1999/04/16 01:34:25 1.1.1.1
--- sparclynx.mh 2000/03/31 19:05:43
***************
*** 1,7 ****
# Host: Sparc running LynxOS
XM_FILE= xm-sparclynx.h
! XDEPFILES= ser-tcp.o
XM_CLIBS= -lbsd
NAT_FILE= nm-sparclynx.h
--- 1,7 ----
# Host: Sparc running LynxOS
XM_FILE= xm-sparclynx.h
! XDEPFILES= ser-tcp.o ser-udp.o
XM_CLIBS= -lbsd
NAT_FILE= nm-sparclynx.h
Index: config/sparc/sun4os4.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/sun4os4.mh,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 sun4os4.mh
*** sun4os4.mh 1999/04/16 01:34:26 1.1.1.1
--- sun4os4.mh 2000/03/31 19:05:44
***************
*** 1,5 ****
# Host: Sun 4 or Sparcstation, running SunOS 4
! XDEPFILES= ser-tcp.o
XM_FILE= xm-sun4os4.h
NAT_FILE= nm-sun4os4.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o sparc-nat.o
--- 1,5 ----
# Host: Sun 4 or Sparcstation, running SunOS 4
! XDEPFILES= ser-tcp.o ser-udp.o
XM_FILE= xm-sun4os4.h
NAT_FILE= nm-sun4os4.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o sparc-nat.o
Index: config/sparc/sun4sol2.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/sun4sol2.mh,v
retrieving revision 1.1.1.3
diff -c -3 -p -r1.1.1.3 sun4sol2.mh
*** sun4sol2.mh 2000/01/25 02:40:07 1.1.1.3
--- sun4sol2.mh 2000/03/31 19:05:44
***************
*** 1,7 ****
# Host: Sun 4 or Sparcstation, running Solaris 2
XM_FILE= xm-sun4sol2.h
! XDEPFILES= ser-tcp.o
XM_CLIBS= -lsocket -lnsl
NAT_FILE= nm-sun4sol2.h
--- 1,7 ----
# Host: Sun 4 or Sparcstation, running Solaris 2
XM_FILE= xm-sun4sol2.h
! XDEPFILES= ser-tcp.o ser-udp.o
XM_CLIBS= -lsocket -lnsl
NAT_FILE= nm-sun4sol2.h
Index: doc/gdbint.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdbint.texinfo,v
retrieving revision 1.4
diff -c -3 -p -r1.4 gdbint.texinfo
*** gdbint.texinfo 2000/03/23 23:50:51 1.4
--- gdbint.texinfo 2000/03/31 19:06:14
*************** using the GO32 execution environment.
*** 905,910 ****
--- 905,913 ----
@item ser-tcp.c
This contains generic TCP support using sockets.
+ @item ser-udp.c
+ This contains generic UDP support using sockets.
+
@end table
@section Host Conditionals
More information about the Gdb-patches
mailing list