[common] debug: set the crash handler process name

This commit is contained in:
Geoffrey McRae
2026-07-29 11:29:57 +10:00
parent 6dd91a1269
commit 56ad487d0a
6 changed files with 37 additions and 12 deletions

View File

@@ -2064,7 +2064,7 @@ int main(int argc, char * argv[])
DEBUG_INFO("Locking Method: " LG_LOCK_MODE);
cpuInfo_log();
if (!installCrashHandler("/proc/self/exe"))
if (!installCrashHandler("/proc/self/exe", argv[0]))
DEBUG_WARN("Failed to install the crash handler");
lgPathsInit("looking-glass");