Mail Archives: djgpp/1996/05/08/21:48:03
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 -