From c0bcd201fadb2a286b051892a7ed896a7a99fadf Mon Sep 17 00:00:00 2001 From: Oleg Tolmatcev Date: Fri, 28 Aug 2026 17:53:28 +0200 Subject: [PATCH] do not overwrite cuInfo->low, it's the base of a range --- src/dwst-file.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/dwst-file.c b/src/dwst-file.c index 8976d06..2a6cc10 100644 --- a/src/dwst-file.c +++ b/src/dwst-file.c @@ -544,14 +544,6 @@ int dwstOfFileExt( if( !low ) continue; - if( !hasLow || lowlow ) - { - cuInfo->low = low; - hasLow = 1; - } - if( high>cuInfo->high ) - cuInfo->high = high; - cuInfo->ranges[cuInfo->rangeCount].low = low; cuInfo->ranges[cuInfo->rangeCount].high = high; cuInfo->rangeCount++; @@ -585,14 +577,6 @@ int dwstOfFileExt( debug_addr_unavailable || !lowpc ) continue; - if( !hasLow || lowpclow ) - { - cuInfo->low = lowpc; - hasLow = 1; - } - if( highpc>cuInfo->high ) - cuInfo->high = highpc; - cuInfo->ranges[cuInfo->rangeCount].low = lowpc; cuInfo->ranges[cuInfo->rangeCount].high = highpc; cuInfo->rangeCount++;