From: engel@netcom.com (Mike Engelhardt)
Newsgroups: comp.os.linux.announce
Subject: minor xxgdb patch
Date: 9 Apr 1993 20:44:14 GMT
Approved: linux-announce@tc.cornell.edu (Matt Welsh)
Message-ID: <1q4n6u$sls@fitz.TC.Cornell.EDU>

In the interest of getting a binary of xxgdb linked to modern
sharable Xfree libraries, I recompiled it(the bin on tsx is an
Xfree1.1 vintage that has the X libraries statically linked,
making for a rather large file).  The only changes required for
xxgdb-1.06 are:

  1. Change BSD style name of FNDELAY to POSIX style O_NDELAY.
  2. Change BSD style name of FAPPEND to POSIX style O_APPEND.
  3. Defined SYSV so that setpgrp() is called with no arguments.
  4. Commented out trapping and decoding of SIGBUS.

So to recompile xxgdb:

  1. ftp xxgdb-1.06.tar.Z, uncompress and tar.
  2. uudecode and gunzip this post.
  3. Apply xxgdb.diff with patch.
  4. cd to ./xxgdb-1.06 and xmkmf
  5. If your system is messed up like mine, change the line
     "USRLIBDIR = /usr/X386/lib" to "USRLIBDIR = /usr/lib"
  6. Type make and install the binary and man page.

credit: H.J. Lu helped me.

begin 644 xxgdb.diff.z
M'XL(`+Q0Q2L``-56_V^:0!3_V?X5K^VR@(,J6.S4=(DMZ%A0NZ)-EBPQ%`YW
M*P5S0--DV?^^.U"^*-IV:Y:-(#G>M_N\]S[WQ,&N"Z)-X*3Q@,D"^Z)TTFPW
M]'OK#KG80U3^^+AP;C?$!_5Z?9=+S8Q]&%D$)`6D=E=I=4_/0.ITY`-1%'?$
MJPT(AOZ2`'1`:G:;9UVIR7Q:;*/BE6PL":TS2-X`Z'WLT!@^@FG_>JA-Y[HY
M'ZH7(#'E(1QCMZR@,E4;,(MS`%%E"W'!#)$7HH(R$?D.=NF"WI>7U'YAVR`^
MY('3C1V.9MPG]C<<(3N*">)7ZHDYLKX'Y`:1$`<^?#B'TVK-.=7`V[=,C/V2
MN$D=UA=%IH\UD^(057,VGIBG=#'6-'5N3J_I#6^X%#Q?2&>/<]E\E>H^OXF1
MNN[=-HN3+-:EHI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