*BSD News Article 8204


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.hawaii.edu!ames!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!menudo.uh.edu!sugar!karl
From: karl@NeoSoft.com (Karl Lehenbauer)
Subject: Complete info for fetching & building xxgdb, with patch
Organization: NeoSoft Communications Services -- (713) 684-5900
Date: Fri, 27 Nov 1992 18:31:49 GMT
Message-ID: <ByE0t4.AAo@NeoSoft.com>
Lines: 48

The xxgdb X-windows-based gdb debugger is awesome.

The latest version is apparently 1.06, and is available, among other
places, from csvax.cs.caltech.edu.  I did not see it on prep.ai.mit.edu --
it may be in the gdb tar archive, though.

If you find it in a comp.sources.x archive, do not be dismayed that
you can't find patches 4 & 5 -- patch 6 is really patch 3.

To build it under 386BSD, you'll need the following patch, which simply
adds an entry in the IMakefile for 386BSD and adds an ifdef'ed include
to one other file.

Apply the patch.  Do an xmkmf.  make.  Enjoy.

*** xxgdb.orig/Imakefile	Fri Nov 27 11:32:06 1992
--- xxgdb/Imakefile	Fri Nov 27 11:41:30 1992
***************
*** 29,34 ****
--- 29,38 ----
  #endif
  #endif
  
+ #ifdef i386BsdArchitecture
+         DEFINES = -DBSD  -DI386BSD $(DEFGDB)
+ #endif
+ 
  #ifdef PegasusArchitecture
  DEFINES = -DBSD $(DEFGDB) -DNEED_STRSTR
  #endif
*** xxgdb.orig/calldbx.c	Fri Nov 27 11:32:08 1992
--- xxgdb/calldbx.c	Fri Nov 27 11:41:25 1992
***************
*** 77,82 ****
--- 77,86 ----
  #include	<termio.h>
  #endif
  
+ #ifdef I386BSD
+ #include	<sys/ioctl_compat.h>
+ #endif
+ 
  #include	"global.h"
  
  #ifdef SYSV 
-- 
-- Email info@NeoSoft.com for info on getting interactive Internet access.
"Turn on your hot tub by email now.  Ask me how."