Date: Mon, 21 Aug 1995 11:18:36 +0300 (IDT) From: Eli Zaretskii To: Skip Egley Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: gdb bombs On Sun, 20 Aug 1995, Skip Egley wrote: > I've compiled with -g > I use gdb-dpmi (I ran go32 without arguments to verify this is what I should > be using). > > When I type: > go32 -d gdb-dpmi filename input_filename > everything starts up OK, I get some messages about GDB, and I get the following: > "... Copyright 1994 Free Software Foundation, Inc...Segmentation violation > in pointer 0x000cc004 at df:85a77 > eax=000c3f000... Why gdb-dpmi? Do you run under a DPMI host (like Windows)? If not, then use gdb instead: go32 -d gdb filename input_filename If you are unsure about the DPMI issue, run go32 with no parameters and post what it prints. Even if you do run under DPMI, if it ain't Windows, you can run go32 in non-DPMI mode by putting ``nodpmi'' into your GO32 environment variable (under Windows, it won't work).