|
From: Jeremy F. <je...@go...> - 2004-02-05 22:58:44
|
CVS commit by fitzhardinge:
Fix for bug 73326. It seems that gcc 3.2.2 is generating negatively-sized
scopes and out of order line number information in the stabs debug info.
I wonder if this is the stabs writer rotting now that dwarf is the
default...
M +2 -2 vg_symtab2.c 1.75
--- valgrind/coregrind/vg_symtab2.c #1.74:1.75
@@ -302,6 +302,6 @@ void VG_(addScopeInfo) ( SegInfo* si,
ScopeRange range;
- /* Ignore zero-sized scopes */
- if (this == next) {
+ /* Ignore zero-sized or negative scopes */
+ if (size <= 0) {
if (debug)
VG_(printf)("ignoring zero-sized range, scope %p at %p\n", scope, this);
|