diff --git a/buildscripts/hang_analyzer.py b/buildscripts/hang_analyzer.py index 15280199fb2..8fdf40bc274 100755 --- a/buildscripts/hang_analyzer.py +++ b/buildscripts/hang_analyzer.py @@ -271,7 +271,7 @@ class GDBDumper(object): def __find_debugger(self): """Finds the installed debugger""" - return find_program('gdb', ['/opt/mongodbtoolchain/bin', '/usr/bin']) + return find_program('gdb', ['/opt/mongodbtoolchain/gdb/bin', '/usr/bin']) def dump_info(self, pid, process_name, stream, take_dump = False): dbg = self.__find_debugger() diff --git a/etc/evergreen.yml b/etc/evergreen.yml index ac742a3c67e..ce22d4c610e 100644 --- a/etc/evergreen.yml +++ b/etc/evergreen.yml @@ -873,7 +873,7 @@ timeout: set -o verbose hang_analyzer_option="-p ${hang_analyzer_processes|dbtest,java,mongo,mongod,mongos,python,_test}" echo "Calling the hang analyzer: python buildscripts/hang_analyzer.py $hang_analyzer_option" - PATH=/opt/mongodbtoolchain/bin:$PATH python buildscripts/hang_analyzer.py $hang_analyzer_option + PATH=/opt/mongodbtoolchain/gdb/bin:$PATH python buildscripts/hang_analyzer.py $hang_analyzer_option ####################################### # Tasks #