Which debugger/GDB-frontend for NetBSD?

Which debugger/GDB-frontend for NetBSD?

Post by Thorsten Fruea » Fri, 01 Mar 1996 04:00:00



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/

 
 
 

1. Graphical frontend to GDB



What about kgdb? This is a KDE program and should therefore be possible
to port to Windows-NT, using the NT-Version of the QT-Library (you must
buy this). I'm not sure whether the KDE-Libs can be ported to NT.
Solaris shouldn't be a problem.

Bye
Andreas

-------------------------------------------------------------------------

 ----- private ---- | www  : http://www.huennebeck-online.de
 Fax/Anrufbeantworter: 0721/151-284301 o. 0180/50525-5232659 (24 Pfg/Min)
 SMS: D1=72617 D2=0172/7366-042 E-Plus=0177/7934-396 Viag=0179/2029-894
-------------------------------------------------------------------------

2. Qpopper won't compile!

3. Frontends to gdb?

4. POP3 ?

5. xDuel for xxgdb,gdb - a REAL graphical debugger

6. Problems with the TCP/IP stack

7. gdb debugger question (FreeBSD 2.0)

8. Adaptec RAID Controller...

9. gdb (GNU debugger) on RS6000?

10. 'gdb' debugger problem (Sparc)

11. How are breakpoints implemented in Unix debuggers like gdb or dbx?

12. gdb Debugger segmentation fault

13. GDB debugger with different configurations