summaryrefslogtreecommitdiff
path: root/Userland/Applications
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/Applications
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/Applications')
-rw-r--r--Userland/Applications/CrashReporter/CMakeLists.txt2
-rw-r--r--Userland/Applications/CrashReporter/main.cpp12
2 files changed, 7 insertions, 7 deletions
diff --git a/Userland/Applications/CrashReporter/CMakeLists.txt b/Userland/Applications/CrashReporter/CMakeLists.txt
index e89bce6d9a..3cc04bb72c 100644
--- a/Userland/Applications/CrashReporter/CMakeLists.txt
+++ b/Userland/Applications/CrashReporter/CMakeLists.txt
@@ -13,4 +13,4 @@ set(SOURCES
)
serenity_app(CrashReporter ICON app-crash-reporter)
-target_link_libraries(CrashReporter LibCore LibCoreDump LibDesktop LibGUI)
+target_link_libraries(CrashReporter LibCore LibCoredump LibDesktop LibGUI)
diff --git a/Userland/Applications/CrashReporter/main.cpp b/Userland/Applications/CrashReporter/main.cpp
index d14f37f0a1..1227c5a1e2 100644
--- a/Userland/Applications/CrashReporter/main.cpp
+++ b/Userland/Applications/CrashReporter/main.cpp
@@ -11,11 +11,11 @@
#include <Applications/CrashReporter/CrashReporterWindowGML.h>
#include <LibCore/ArgsParser.h>
#include <LibCore/File.h>
-#include <LibCoreDump/Backtrace.h>
-#include <LibCoreDump/Reader.h>
+#include <LibCoredump/Backtrace.h>
+#include <LibCoredump/Reader.h>
#include <LibDesktop/AppFile.h>
#include <LibDesktop/Launcher.h>
-#include <LibELF/CoreDump.h>
+#include <LibELF/Core.h>
#include <LibGUI/Application.h>
#include <LibGUI/BoxLayout.h>
#include <LibGUI/Button.h>
@@ -36,9 +36,9 @@ struct TitleAndText {
String text;
};
-static TitleAndText build_backtrace(const CoreDump::Reader& coredump, const ELF::Core::ThreadInfo& thread_info, size_t thread_index)
+static TitleAndText build_backtrace(Coredump::Reader const& coredump, ELF::Core::ThreadInfo const& thread_info, size_t thread_index)
{
- CoreDump::Backtrace backtrace(coredump, thread_info);
+ Coredump::Backtrace backtrace(coredump, thread_info);
auto metadata = coredump.metadata();
StringBuilder builder;
@@ -129,7 +129,7 @@ int main(int argc, char** argv)
u8 termination_signal { 0 };
{
- auto coredump = CoreDump::Reader::create(coredump_path);
+ auto coredump = Coredump::Reader::create(coredump_path);
if (!coredump) {
warnln("Could not open coredump '{}'", coredump_path);
return 1;