delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/17/03:14:22

Date: Wed, 17 Jan 1996 10:02:44 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Allen J. Curtis" <ajcurtis AT westworld DOT com>
Cc: djgpp AT delorie DOT com
Subject: Re: GDB

On Mon, 15 Jan 1996, Allen J. Curtis wrote:

> I am trying to run the GDB debugger and running into some
> difficulties.
> 
> 1) There isn't a DGB.exe file so I assume that it must be run via GO32
> 2) When I try:   go32 gdb    -   It says that I do not have enough mem
> 3) When I try:   go32 gdb-dpmi - I get an unexpected DOS return code
> 
> Any help to get a jump start would be appreciated.

The DJGPP FAQ list *is* the means that should get you a jump start,  if 
you only search it for the problems you have.  In your case, it has this 
in section 12.4:

12.4  Q: When I try to invoke the debugger it crashes my machine, or
         reports an Unsupported DOS request, or Not enough memory.
      A: Be sure to invoke the debugger correctly:

             go32 -d <debugger-name> <program> <args...>


That `-d' switch is what you are missing.

Sections 12.1 - 12.3 of the FAQ explain when should you use gdb and when
gdb-dpmi. 

The latest version of the DJGPP FAQ list is available as faq102.zip from 
the same place you get DJGPP.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019