1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:57:44 +00:00

LibDebug: Enable parsing libgcc_s.so

Now that our DWARF 5 support is nearly feature-complete, there is no
reason anymore to special-case this library, as we can process it just
fine.
This commit is contained in:
Daniel Bertalan 2021-10-09 17:51:41 +02:00 committed by Linus Groh
parent a60d960420
commit bb4bb3c2f4

View file

@ -436,10 +436,6 @@ void DebugSession::update_loaded_libs()
if (lib_name.ends_with(".so"))
lib_name = LexicalPath::basename(object_path.value());
// FIXME: DebugInfo currently cannot parse the debug information of libgcc_s.so
if (lib_name == "libgcc_s.so")
return IterationDecision::Continue;
FlatPtr base_address = entry.as_object().get("address").to_addr();
if (auto it = m_loaded_libraries.find(lib_name); it != m_loaded_libraries.end()) {
// We expect the VM regions to be sorted by address.