From 89a4a9c7a7f1c530c9a49ba972c650d63d601f79 Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Sun, 29 Jan 2023 15:49:25 +0100 Subject: LibDebug: Correct a (un-)signed mixup in the DWARF abbreviations map I accidentally replaced this with `read_unsigned` in 908b88db347e932934ee311be8d3920cabbe8886, now it's correct again. --- Userland/Libraries/LibDebug/Dwarf/AbbreviationsMap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland') diff --git a/Userland/Libraries/LibDebug/Dwarf/AbbreviationsMap.cpp b/Userland/Libraries/LibDebug/Dwarf/AbbreviationsMap.cpp index c112e1878a..78c6fca329 100644 --- a/Userland/Libraries/LibDebug/Dwarf/AbbreviationsMap.cpp +++ b/Userland/Libraries/LibDebug/Dwarf/AbbreviationsMap.cpp @@ -54,7 +54,7 @@ ErrorOr 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; } -- cgit v1.2.3