Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Momchil Velikov <velco@fadata.bg>
To: GDB List <gdb@sourceware.cygnus.com>
Subject: [patch] UDP transport support
Date: Thu, 30 Mar 2000 11:49:00 -0000	[thread overview]
Message-ID: <38E25E77.9DD3CE75@fadata.bg> (raw)
Message-ID: <20000330114900.nLhOIsVQNyWIYUmkuqZsFClcfUPHxfB4a1ZOFysLyNs@z> (raw)

Hi,

This patch adds generic UDP support to GDB.
The attachments contain:
  gdb-udp.diff -- the patch itself
  gdbChangeLog -- changelog entry for gdb/ChangeLog
  docChangeLog -- changelog entry for gdb/doc/ChangeLog
  ser-udp.c    -- new file for the UDP transport.

Regards,
-velco
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/30 19:40:13
*************** 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/30 19:40:13
*************** 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/30 19:40:13
*************** serial_open (const char *name)
*** 185,192 ****
      ops = serial_interface_lookup ("ocd");
    else if (strcmp (name, "pc") == 0)
      ops = serial_interface_lookup ("pc");
!   else if (strchr (name, ':'))
!     ops = serial_interface_lookup ("tcp");
    else if (strncmp (name, "lpt", 3) == 0)
      ops = serial_interface_lookup ("parallel");
    else if (strncmp (name, "|", 1) == 0)
--- 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 (strncmp (name, "lpt", 3) == 0)
      ops = serial_interface_lookup ("parallel");
    else if (strncmp (name, "|", 1) == 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:13
*************** 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:13
***************
*** 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/30 19:40:53
*************** 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
From ezannoni@cygnus.com Thu Mar 30 13:21:00 2000
From: Elena Zannoni <ezannoni@cygnus.com>
To: gdb@sourceware.cygnus.com
Subject: mdebug?
Date: Thu, 30 Mar 2000 13:21:00 -0000
Message-id: <14563.50531.341290.804769@kwikemart.cygnus.com>
X-SW-Source: 2000-03/msg00377.html
Content-length: 228

Does anybody know something about mdebug?

I am trying to figure out a problem in gdb which untilmately is due
to some limitation of mdebug.
Is there any documentation at all about how the debug symbols are built?

Thanks
Elena
From meissner@cygnus.com Thu Mar 30 13:58:00 2000
From: Michael Meissner <meissner@cygnus.com>
To: Elena Zannoni <ezannoni@cygnus.com>
Cc: gdb@sourceware.cygnus.com
Subject: Re: mdebug?
Date: Thu, 30 Mar 2000 13:58:00 -0000
Message-id: <20000330165810.27223@cse.cygnus.com>
References: <14563.50531.341290.804769@kwikemart.cygnus.com>
X-SW-Source: 2000-03/msg00378.html
Content-length: 946

On Thu, Mar 30, 2000 at 04:21:39PM -0500, Elena Zannoni wrote:
> 
> Does anybody know something about mdebug?

In the past, I knew something of the format.  Unfortunately, the only document
I ever saw on it (other than the DEC include files) is a hard copy of the DEC
Pmax assembler guide, that I may have somewhere.

> I am trying to figure out a problem in gdb which untilmately is due
> to some limitation of mdebug.
> Is there any documentation at all about how the debug symbols are built?

The program mips-tdump.c in the gcc release, in the distant past dumped the
debug tables for MIPS and later Alpha ecoff systems.  Whether it has suffered
bit rot in the 9+ years since I wrote it, I don't know.

-- 
Michael Meissner, Cygnus Solutions, a Red Hat company.
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work:	  meissner@redhat.com		phone: +1 978-486-9304
Non-work: meissner@spectacle-pond.org	fax:   +1 978-692-4482
From ezannoni@cygnus.com Thu Mar 30 14:40:00 2000
From: Elena Zannoni <ezannoni@cygnus.com>
To: Michael Meissner <meissner@cygnus.com>
Cc: Elena Zannoni <ezannoni@cygnus.com>, gdb@sourceware.cygnus.com
Subject: Re: mdebug?
Date: Thu, 30 Mar 2000 14:40:00 -0000
Message-id: <14563.55263.898978.669684@kwikemart.cygnus.com>
References: <14563.50531.341290.804769@kwikemart.cygnus.com> <20000330165810.27223@cse.cygnus.com>
X-SW-Source: 2000-03/msg00379.html
Content-length: 1301

Michael Meissner writes:
 > On Thu, Mar 30, 2000 at 04:21:39PM -0500, Elena Zannoni wrote:
 > > 
 > > Does anybody know something about mdebug?
 > 
 > In the past, I knew something of the format.  Unfortunately, the only document
 > I ever saw on it (other than the DEC include files) is a hard copy of the DEC
 > Pmax assembler guide, that I may have somewhere.
 > 
 > > I am trying to figure out a problem in gdb which untilmately is due
 > > to some limitation of mdebug.
 > > Is there any documentation at all about how the debug symbols are built?
 > 
 > The program mips-tdump.c in the gcc release, in the distant past dumped the
 > debug tables for MIPS and later Alpha ecoff systems.  Whether it has suffered
 > bit rot in the 9+ years since I wrote it, I don't know.
 > 
 > -- 
 > Michael Meissner, Cygnus Solutions, a Red Hat company.
 > PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
 > Work:	  meissner@redhat.com		phone: +1 978-486-9304
 > Non-work: meissner@spectacle-pond.org	fax:   +1 978-692-4482


Thanks Mike.

I also found that this document at:
http://reality.sgi.com/davea/objectinfo.html

has a pointer to a mdebug.ps file containing some description of the mdebug
format. In this, there is mention of an SGI utility available on IRIX
called stdump. 

Elena
From aoliva@cygnus.com Thu Mar 30 19:19:00 2000
From: Alexandre Oliva <aoliva@cygnus.com>
To: binutils@sourceware.cygnus.com, gdb@sourceware.cygnus.com, newlib@sourceware.cygnus.com
Subject: `make check' with --enable-shared
Date: Thu, 30 Mar 2000 19:19:00 -0000
Message-id: <ority3q10w.fsf@zecarneiro.lsd.ic.unicamp.br>
X-SW-Source: 2000-03/msg00380.html
Content-length: 487

When the srcware tree is configured with --enable-shared, the `expect'
program won't run properly.  Jim Wilson found out gdb has a local hack
to set LD_LIBRARY_PATH, but, AFAIK, no other project has been hacked
similarly.

Here's a simple patch that renders that gdb hack obsolete, and
arranges for all packages to automatically benefit from it.  I'm not
reverting the gdb hack, though.  I'll leave that to the gdb hackers
:-)

Here's the patch I'm checking in, approved by Jim Wilson:


             reply	other threads:[~2000-03-30 11:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-01  0:00 Momchil Velikov [this message]
2000-03-30 11:49 ` Momchil Velikov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=38E25E77.9DD3CE75@fadata.bg \
    --to=velco@fadata.bg \
    --cc=gdb@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox