Mail Archives: djgpp-workers/2001/03/26/03:36:57
On 24 Mar 2001, at 21:12, Mel Corley wrote:
> I upgraded to gcc2953 in Windows 98 and now none of the debugging
> features work in RHIDE, e.g., F7 & F8 keys for stepping through code.
> Not even breakpoints work. There must be a new compiler option that
> needs to be set in the RHIDE options? Or should I just go back to gcc2952?
Shortly: try -gstabs instead of -g
Seems that I have missed one breakage:
-gcoff (same as -g for DJGPP) seems to be broken in gcc-2.95.3 as
it often (but not always) puts 0 as line number in debug info
instead of real line number
Currently one can use -gstabs or -gstabs+ instead of -g with gcc-
2.95.3.
I was not able to test any other systems (different from DJGPP) as
under Linux gcc doesn't support -gcoff. Perhaps one could check and
report results here.
I have seen similar behaviour earlier in some cases (eg. gcc/libgcc2.c in
gcc sources) with gcc-2.95.2, but it was not critical that time.
I could rebuild gcc-2.95.3 to enable -gstabs by default, but in this case
we'll break symify and ability of fsdb and edebug32 to see debug info
For comparisson: my build of gcc-3.0 20010314 development version
(from CVS) for DJGPP seems to have correct line numbers in debug
info with -gcoff.
Andris
- Raw text -