summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2022-10-04 02:54:56 +0300
committerAndreas Kling <kling@serenityos.org>2022-12-28 11:53:41 +0100
commiteca57006f66027ccac19efab7485e96b584217ef (patch)
tree85a4eca7568ff724ca3a4a77cb2547243ae42f2c
parent1d26b468848effd77c798c51352250441e1026f2 (diff)
downloadserenity-eca57006f66027ccac19efab7485e96b584217ef.zip
LibCoredump: Remove i686 support
-rw-r--r--Userland/Libraries/LibCoredump/Backtrace.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/Userland/Libraries/LibCoredump/Backtrace.cpp b/Userland/Libraries/LibCoredump/Backtrace.cpp
index e147732fd1..92c521f94d 100644
--- a/Userland/Libraries/LibCoredump/Backtrace.cpp
+++ b/Userland/Libraries/LibCoredump/Backtrace.cpp
@@ -44,10 +44,7 @@ ELFObjectInfo const* Backtrace::object_info_for_region(Reader const& coredump, M
Backtrace::Backtrace(Reader const& coredump, const ELF::Core::ThreadInfo& thread_info, Function<void(size_t, size_t)> on_progress)
: m_thread_info(move(thread_info))
{
-#if ARCH(I386)
- auto start_bp = m_thread_info.regs.ebp;
- auto start_ip = m_thread_info.regs.eip;
-#elif ARCH(X86_64)
+#if ARCH(X86_64)
auto start_bp = m_thread_info.regs.rbp;
auto start_ip = m_thread_info.regs.rip;
#elif ARCH(AARCH64)