www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/08/21:48:03

Xref: news2.mv.net comp.os.msdos.djgpp:3591
From: malcolm AT manawatu DOT gen DOT nz (Malcolm Taylor)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Lots of Q's
Date: Wed, 08 May 1996 20:57:42 GMT
Organization: Grafik Software
Lines: 35
Message-ID: <4mr5h0$m31@news.manawatu.gen.nz>
References: <199605061003 DOT GAA04578 AT delorie DOT com>
Reply-To: malcolm AT manawatu DOT gen DOT nz
NNTP-Posting-Host: malcolm.manawatu.gen.nz
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Martynas Kunigelis <martynas DOT kunigelis AT VM DOT KTU DOT LT> wrote:

> I've so many DJGPP and non-DJGPP related questions spinning in my head,
>that I'm even afraid to forget some of them...

>*1* Which sbrk() algorythm is used in v2 by default?

The non-unixy (as the unixy version may not allow HW ints to work
properly).

>*2* Is the v2 executable packer `djp' buggy or not?

Where is this? I'd be very interested in having a look at it!

>*3* Eli, when will EMACS compiled with v2 be out?

I'll leave this to Eli.

>*5* How do I debug C++ progs with GDB??? This one bothers me the most. The docs
>    say debugging C++ requires additional debug info, not supported by COFF.
>    They suggest -gstabs, though. However, it doesn't help. I try to say:
>    `break Class::Method', but GDB says `class Class not found'. Is it true,
>    that you can't debug C++ programs with COFF? I mean that's a major loss.
>    If so, moving to ELF is really necessary IMHO, because NT compatibility
>    is not worth losing C++ debugging ability. Please advise if I'm wrong.
>    I really need to debug C++.

I have no problems debugging C++ programs with gdb. I agree that most
of the time it cannot locate my c++ functions for me (then again it
does other times), but you can just 'l srcfile.cc:0' and then 'search
Class::Method' and you'll be there. Then put a breakpoint with br 354
or whatever the linenumber is.

Malcolm

- Raw text -


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