From bb4bb3c2f413ff6647dc05eb78130794b58a490b Mon Sep 17 00:00:00 2001 From: Daniel Bertalan Date: Sat, 9 Oct 2021 17:51:41 +0200 Subject: [PATCH] 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. --- Userland/Libraries/LibDebug/DebugSession.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Userland/Libraries/LibDebug/DebugSession.cpp b/Userland/Libraries/LibDebug/DebugSession.cpp index 9fec825a22..ebb36d78c2 100644 --- a/Userland/Libraries/LibDebug/DebugSession.cpp +++ b/Userland/Libraries/LibDebug/DebugSession.cpp @@ -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.