Subject: Re: What is the trick to getting xxgdb to work under i386 NetBSD 1 .1 (our mail went down, can you repost if you responded)
To: John Maier <JohnAM@datastorm.com>
From: Ken Hornstein <kenh@cmf.nrl.navy.mil>
List: netbsd-help
Date: 03/28/1996 16:15:49
>xxgdb starts to come up and exits.
>
>I did a ktrace/kdump on it and I see...
>
>8760 xxgdb    PSIG  SIGCHLD caught handler=0x9df0 mask=0x0 code=0x0
>8760 xxgdb    RET   read 1
>8760 xxgdb    CALL  wait4(0xffffffff,0xf7bfc65c,0x3,0)
>8760 xxgdb    RET   wait4 8761/0x2239
>8760 xxgdb    CALL  exit(0x1)

It's trying to invoke "dbx" instead of "gdb" (if you do a ktrace -i, you'll
see this happen).  You need to define GDB in the Imakefile - if you look
at what other operating systems do, it's pretty obvious.

--Ken