dmalloc and __throw

Martin v. Loewis martin@mira.isdn.cs.tu-berlin.de
Sun Oct 31 23:03:00 GMT 1999


> While I would love to contribute test cases, I haven't been able to
> build any that fail and the code in question is not open. Mostly, I
> just need to know whether I'm on crack, my binutils are fubarred, I
> need to look harder for problems dmalloc wouldn't catch, or if there
> really may be nasty problems inside of egcs that I'm exposing with
> this 500,000 line project.

I guess part of your problem is that __throw cannot be properly
debugged, right? If that is the case, you should recompile libgcc.a
with -g. It is compiled with -g1 by default (according to the
Makefile, "so that -g1 will be tested" - I never found that very
useful).

Hopefully, with proper line and variable info, you can find the
problem.

Good luck,
Martin



More information about the Gcc-bugs mailing list