summaryrefslogtreecommitdiff
path: root/Userland/Services/CrashDaemon
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-08-22 14:51:04 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-23 00:02:09 +0200
commitbcd2025311b97d45aeb23960e17fcae2bc5b7f2e (patch)
treefacb4e412cdfcc5a9f5177c9f3cd0cd1e27a2f67 /Userland/Services/CrashDaemon
parenta930877f31fb117ce4b38d4782dd288093700d8a (diff)
downloadserenity-bcd2025311b97d45aeb23960e17fcae2bc5b7f2e.zip
Everywhere: Core dump => Coredump
We all know what a coredump is, and it feels more natural to refer to it as a coredump (most code already does), so let's be consistent.
Diffstat (limited to 'Userland/Services/CrashDaemon')
-rw-r--r--Userland/Services/CrashDaemon/CMakeLists.txt2
-rw-r--r--Userland/Services/CrashDaemon/main.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/Userland/Services/CrashDaemon/CMakeLists.txt b/Userland/Services/CrashDaemon/CMakeLists.txt
index c4fee7622b..f73989dd52 100644
--- a/Userland/Services/CrashDaemon/CMakeLists.txt
+++ b/Userland/Services/CrashDaemon/CMakeLists.txt
@@ -9,4 +9,4 @@ set(SOURCES
)
serenity_bin(CrashDaemon)
-target_link_libraries(CrashDaemon LibC LibCompress LibCore LibCoreDump)
+target_link_libraries(CrashDaemon LibC LibCompress LibCore LibCoredump)
diff --git a/Userland/Services/CrashDaemon/main.cpp b/Userland/Services/CrashDaemon/main.cpp
index 6ab73070cf..63a65751b4 100644
--- a/Userland/Services/CrashDaemon/main.cpp
+++ b/Userland/Services/CrashDaemon/main.cpp
@@ -10,8 +10,8 @@
#include <LibCompress/Gzip.h>
#include <LibCore/File.h>
#include <LibCore/FileWatcher.h>
-#include <LibCoreDump/Backtrace.h>
-#include <LibCoreDump/Reader.h>
+#include <LibCoredump/Backtrace.h>
+#include <LibCoredump/Reader.h>
#include <serenity.h>
#include <spawn.h>
#include <sys/stat.h>
@@ -62,7 +62,7 @@ static bool compress_coredump(const String& coredump_path)
static void print_backtrace(const String& coredump_path)
{
- auto coredump = CoreDump::Reader::create(coredump_path);
+ auto coredump = Coredump::Reader::create(coredump_path);
if (!coredump) {
dbgln("Could not open coredump '{}'", coredump_path);
return;
@@ -70,7 +70,7 @@ static void print_backtrace(const String& coredump_path)
size_t thread_index = 0;
coredump->for_each_thread_info([&](auto& thread_info) {
- CoreDump::Backtrace backtrace(*coredump, thread_info);
+ Coredump::Backtrace backtrace(*coredump, thread_info);
if (thread_index > 0)
dbgln();
dbgln("--- Backtrace for thread #{} (TID {}) ---", thread_index, thread_info.tid);