Hello!
|> The version 1.08 of XXGDB I tried didn't compile without some changes in
|> the source code; but I'm not sure wether I did the right things, because
|> sometimes XXGDB crashes when showing the contents of a variable.
I did the following patches to xxgdb-1.11.tar.gz:
*** ./Imakefile-orig Thu Mar 23 23:49:32 1995
--- ./Imakefile Mon Sep 4 01:47:20 1995
***************
*** 50,55 ****
--- 50,59 ----
DEFINES = -DSYSV $(DEFGDB)
#endif
+ #ifdef NetBSDArchitecture
+ DEFINES = $(DEFGDB)
+ #endif
+
mallocc = #malloc.c
malloco = #malloc.o
*** ./global.h-orig Wed Nov 16 03:09:55 1994
--- ./global.h Mon Sep 4 01:18:03 1995
***************
*** 68,80 ****
#define alloca __builtin_alloca
#endif
#ifndef __alpha
#ifndef MAXPATHLEN
#define MAXPATHLEN 1024
#endif
#endif
-
- #include "defs.h"
#if defined(SYSV) && !defined(MAX)
#define MAX(a,b) ((a)>(b)?(a):(b))
--- 68,80 ----
#define alloca __builtin_alloca
#endif
+ #include "defs.h"
+
#ifndef __alpha
#ifndef MAXPATHLEN
#define MAXPATHLEN 1024
#endif
#endif
#if defined(SYSV) && !defined(MAX)
#define MAX(a,b) ((a)>(b)?(a):(b))
*** ./command.c-orig Wed Nov 23 01:27:05 1994
--- ./command.c Mon Sep 4 01:22:45 1995
***************
*** 383,389 ****
XtPointer client_data;
XtPointer call_data;
{
! #ifdef SYSV
int status;
#else
union wait status;
--- 383,389 ----
XtPointer client_data;
XtPointer call_data;
{
! #if defined(SYSV) || defined(__NetBSD__)
int status;
#else
union wait status;
*** ./signals.c-orig Thu Nov 17 04:49:32 1994
--- ./signals.c Mon Sep 4 01:26:24 1995
***************
*** 93,99 ****
static void quit_handler(int sig)
{
int pid;
! #ifdef SYSV
int status;
#else
union wait status;
--- 93,99 ----
static void quit_handler(int sig)
{
int pid;
! #if defined(SYSV) || defined(__NetBSD__)
int status;
#else
union wait status;
*** ./calldbx.c-orig Tue Dec 6 02:21:36 1994
--- ./calldbx.c Mon Sep 4 01:52:12 1995
***************
*** 75,81 ****
--- 75,86 ----
#include <fcntl.h>
#include "global.h"
#if !(defined(OLDSUNOS) || defined(BSD))
+ #if defined(__NetBSD__)
+ #include <sys/ioctl.h>
+ #include <sys/ioctl_compat.h>
+ #else
#include <termio.h>
+ #endif
#else
#include <sgtty.h>
#endif
I run happily with them, but I don't know if they cover all things
though.
Greets
--
WWW : http://wwwipd.ira.uka.de/~frueauf \X/