From 95ee01082f085cf5a81305b75cfe2e981b6efb13 Mon Sep 17 00:00:00 2001 From: Pierre Kancir Date: Thu, 20 Feb 2020 10:28:01 +0100 Subject: [PATCH] AP_HAL_SITL: update search for dumpstack.sh --- libraries/AP_HAL_SITL/system.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/AP_HAL_SITL/system.cpp b/libraries/AP_HAL_SITL/system.cpp index b071a7e6f7..072e9287b9 100644 --- a/libraries/AP_HAL_SITL/system.cpp +++ b/libraries/AP_HAL_SITL/system.cpp @@ -49,11 +49,11 @@ void panic(const char *errormsg, ...) void dump_stack_trace() { // find dumpstack command: - const char *dumpstack = "dumpstack"; // if we can't find it trust in PATH + const char *dumpstack = "dumpstack.sh"; // if we can't find it trust in PATH struct stat statbuf; const char *paths[] { - "Tools/scripts/dumpstack", - "APM/Tools/scripts/dumpstack", // for autotest server + "Tools/scripts/dumpstack.sh", + "APM/Tools/scripts/dumpstack.sh", // for autotest server }; for (uint8_t i=0; i