delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/07/19:48:44

From: Thomas Demmer <demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Degugging large projects under RHIDE
Date: Fri, 07 Nov 1997 16:40:54 +0100
Organization: Lehrstuhl fuer Stroemungsmechanik
Lines: 48
Message-ID: <34633686.F5D5C5C8@LSTM.Ruhr-UNI-Bochum.De>
References: <Pine DOT LNX DOT 3 DOT 91 DOT 971107114536 DOT 1995A-100000 AT cas3 DOT zlin DOT vutbr DOT cz>
NNTP-Posting-Host: c64.lstm.ruhr-uni-bochum.de
Mime-Version: 1.0
CC: Mrazek Petr <mrazek AT cas3 DOT zlin DOT vutbr DOT cz>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Mrazek Petr wrote:
> 
> Hi,
> I'm new in DJGPP and I try to use RHIDE for developping relatively large
> project (about 1.8 MB exe without any debug options).
> With compiling any modules with -g and linking without -s RHIDE says
> something about "Try to compile it with -g..." (i had it set - with gdb I
> debug normally). Smaller projects with the SAME options I can debug normally.
> Is there any restrictions in RHIDE?
> (I want to use RHIDE for debug because it's little better for me than gdb)
Given your setup is OK, and according to your report it is, it may be 
you hit a limit concerning the way debugging info is stored
inside the COFF format. AFAIK only 64k debugging symbols are possible.
The workaround would be compiling some modules without debugging
information, and add -g only to those you want to investigate. 

The solution is to search the mail archive on 
www.delorie.com/djgpp/
for ``stabs'' , search for a kind soul that patched
gcc (?) and the binutils (?) for supporting the stabs-format. 
I think Robert has done something like that, but I'm not
sure.

> 
> Second problem: allocating memory with malloc.
> In the small project I can allocate all free memory without any problems. In
> project I mentioned above is allocated about 60 KB in about 8 steps and than
> it exits with message Out of memory.
> Any ideas about any possibly conflicts?
No, unless you have a typo here. 60kB x 8 are merely 256kB, something
that every computer nowadays should have free. FWIW, post what RHIDE
spits
out when you create a bug report.

-- 
Ciao
Tom

*************************************************************
* Thomas Demmer                                             *
* Lehrstuhl fuer Stroemungsmechanik                         *
* Ruhr-Uni-Bochum                                           *
* Universitaetsstr. 150                                     *
* D-44780  Bochum                                           *
* Tel: +49 234 700 6434                                     *
* Fax: +49 234 709 4162                                     *
* http://www.lstm.ruhr-uni-bochum.de/~demmer                *
*************************************************************

- Raw text -


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