From: Thomas Demmer 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: NNTP-Posting-Host: c64.lstm.ruhr-uni-bochum.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit CC: Mrazek Petr To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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 * *************************************************************