FpDebug: Dwarfviewer, do not parse after unknown OP.

This commit is contained in:
Martin 2022-09-23 20:29:17 +02:00
parent 3ebada48d3
commit 78caaf4fc2

View File

@ -473,8 +473,11 @@ var
DW_OP_lo_user..DW_OP_hi_user: begin
Result := Result + 'DW_OP_user, ' + IntToStr(AData^);
end;
else
else begin
Result := Result + 'Unknown DW_OP_' + IntToStr(AData^);
result := Result + ' RemainCnt:' + IntToStr(MaxData - AData);
break;
end
end;
Inc(AData);
//Result := Result +' / ';