summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2023-01-29 15:49:25 +0100
committerLinus Groh <mail@linusgroh.de>2023-01-29 18:21:11 +0000
commit89a4a9c7a7f1c530c9a49ba972c650d63d601f79 (patch)
treecc941dee5f960aa98414016dd8c280dab2e1bf65 /Userland
parentd11baf48ae3a9998a0527836e73e9b1cc597715f (diff)
downloadserenity-89a4a9c7a7f1c530c9a49ba972c650d63d601f79.zip
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.
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibDebug/Dwarf/AbbreviationsMap.cpp2
1 files changed, 1 insertions, 1 deletions
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<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;
}