From 2ea868d3c132b9598013b2570d270e919251d7a6 Mon Sep 17 00:00:00 2001 From: Mark Benvenuto Date: Wed, 24 Aug 2016 13:12:21 -0400 Subject: [PATCH] SERVER-25761 hang_analyzer should use GDB in the mongodb tool chain --- buildscripts/hang_analyzer.py | 2 +- etc/evergreen.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 #