From f1db97fbbd74abde24f256663599333a79c620ef Mon Sep 17 00:00:00 2001 From: Andrei Kortunov Date: Wed, 29 May 2019 19:11:43 +0400 Subject: [PATCH] Improve info message about missing GDB (bug #4341) --- CHANGELOG.md | 1 + components/crashcatcher/crashcatcher.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f117a09bc..0eb8b8780 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ Bug #3778: [Mod] Improved Thrown Weapon Projectiles - weapons have wrong transformation during throw animation Bug #3812: Wrong multiline tooltips width when word-wrapping is enabled Bug #4329: Removed birthsign abilities are restored after reloading the save + Bug #4341: Error message about missing GDB is too vague Bug #4383: Bow model obscures crosshair when arrow is drawn Bug #4384: Resist Normal Weapons only checks ammunition for ranged weapons Bug #4411: Reloading a saved game while falling prevents damage in some cases diff --git a/components/crashcatcher/crashcatcher.cpp b/components/crashcatcher/crashcatcher.cpp index 006b190ba..80d2102b8 100644 --- a/components/crashcatcher/crashcatcher.cpp +++ b/components/crashcatcher/crashcatcher.cpp @@ -176,7 +176,8 @@ static void gdb_info(pid_t pid) int ret = system(cmd_buf); if (ret != 0) - printf("\nFailed to create a crash report. Please install 'gdb' and crash again!\n"); + printf("\nFailed to create a crash report. Please make sure that 'gdb' is installed and present in PATH then crash again." + "\nCurrent PATH: %s\n", getenv("PATH")); fflush(stdout); /* Clean up */