summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibDebug
diff options
context:
space:
mode:
authormjz19910 <matthias291999@gmail.com>2022-01-07 05:04:05 -0700
committerLinus Groh <mail@linusgroh.de>2022-01-07 15:44:42 +0100
commit10ec98dd3852369834b6367da5615ec2a21846a3 (patch)
treeabbff764b730536f3595cae937f7b8ca86b44e2e /Userland/Libraries/LibDebug
parent168063819d009b34d43286c0367129592809a79d (diff)
downloadserenity-10ec98dd3852369834b6367da5615ec2a21846a3.zip
Everywhere: Fix spelling mistakes
Diffstat (limited to 'Userland/Libraries/LibDebug')
-rw-r--r--Userland/Libraries/LibDebug/Dwarf/AbbreviationsMap.cpp10
-rw-r--r--Userland/Libraries/LibDebug/ProcessInspector.cpp2
2 files changed, 6 insertions, 6 deletions
diff --git a/Userland/Libraries/LibDebug/Dwarf/AbbreviationsMap.cpp b/Userland/Libraries/LibDebug/Dwarf/AbbreviationsMap.cpp
index 5cd2e4f4b3..983d5f5b27 100644
--- a/Userland/Libraries/LibDebug/Dwarf/AbbreviationsMap.cpp
+++ b/Userland/Libraries/LibDebug/Dwarf/AbbreviationsMap.cpp
@@ -37,9 +37,9 @@ void AbbreviationsMap::populate_map()
u8 has_children = 0;
abbreviation_stream >> has_children;
- AbbreviationEntry abbrevation_entry {};
- abbrevation_entry.tag = static_cast<EntryTag>(tag);
- abbrevation_entry.has_children = (has_children == 1);
+ AbbreviationEntry abbreviation_entry {};
+ abbreviation_entry.tag = static_cast<EntryTag>(tag);
+ abbreviation_entry.has_children = (has_children == 1);
AttributeSpecification current_attribute_specification {};
do {
@@ -58,11 +58,11 @@ void AbbreviationsMap::populate_map()
}
if (current_attribute_specification.attribute != Attribute::None) {
- abbrevation_entry.attribute_specifications.append(current_attribute_specification);
+ abbreviation_entry.attribute_specifications.append(current_attribute_specification);
}
} while (current_attribute_specification.attribute != Attribute::None || current_attribute_specification.form != AttributeDataForm::None);
- m_entries.set((u32)abbreviation_code, move(abbrevation_entry));
+ m_entries.set((u32)abbreviation_code, move(abbreviation_entry));
}
}
diff --git a/Userland/Libraries/LibDebug/ProcessInspector.cpp b/Userland/Libraries/LibDebug/ProcessInspector.cpp
index c13f78cd58..c006b2094f 100644
--- a/Userland/Libraries/LibDebug/ProcessInspector.cpp
+++ b/Userland/Libraries/LibDebug/ProcessInspector.cpp
@@ -27,7 +27,7 @@ Optional<ProcessInspector::SymbolicationResult> ProcessInspector::symbolicate(Fl
auto* lib = library_at(address);
if (!lib)
return {};
- // FIXME: ELF::Image symlicate() API should return String::empty() if symbol is not found (It currently returns ??)
+ // FIXME: ELF::Image symbolicate() API should return String::empty() if symbol is not found (It currently returns ??)
auto symbol = lib->debug_info->elf().symbolicate(address - lib->base_address);
return { { lib->name, symbol } };
}