DebuggerIntf: Set the RangeStartAddr when merging with an empty range

git-svn-id: trunk@49391 -
This commit is contained in:
joost 2015-06-21 15:42:16 +00:00
parent 7cf6cbfe47
commit f72ec12c26

View File

@ -5073,6 +5073,8 @@ begin
FCount := FCount + AnotherRange.Count - i;
FRangeEndAddr := AnotherRange.FRangeEndAddr;
FLastEntryEndAddr := AnotherRange.FLastEntryEndAddr;
if FRangeStartAddr = 0 then
FRangeStartAddr := AnotherRange.FRangeStartAddr;
end;
debugln(DBG_DISASSEMBLER, ['INFO: TDBGDisassemblerEntryRange.Merge AFTER MERGE: ', dbgs(self) ]);
end;