1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:47:46 +00:00

LibDebug: Correct a (un-)signed mixup in the DWARF abbreviations map

I accidentally replaced this with `read_unsigned` in
908b88db34, now it's correct again.
This commit is contained in:
Tim Schumacher 2023-01-29 15:49:25 +01:00 committed by Linus Groh
parent d11baf48ae
commit 89a4a9c7a7

View file

@ -54,7 +54,7 @@ ErrorOr<void> AbbreviationsMap::populate_map()
if (current_attribute_specification.form == AttributeDataForm::ImplicitConst) {
ssize_t data_value;
LEB128::read_unsigned(wrapped_abbreviation_stream, data_value);
LEB128::read_signed(wrapped_abbreviation_stream, data_value);
current_attribute_specification.value = data_value;
}