summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Egesdahl <ryan.egesdahl@mongodb.com>2022-03-03 15:00:52 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-12-29 03:36:37 +0000
commit05b8fa9a923779f29845933d27b1bed1f5514215 (patch)
tree1dc598b777f30310c8c35b1c67a5f30ede804c37
parent14479283f175b888cb625e28efc62c12b5bbc284 (diff)
downloadmongo-05b8fa9a923779f29845933d27b1bed1f5514215.tar.gz
SERVER-61032 Ensure all current references to GDB are for v3 toolchain
(cherry picked from commit 65cf760916f7fe0e3d06f5e06a53e0a96b24d947) (cherry picked from commit f7cb4b6b001045eb51465bfdd232d1c6852df8ab) (cherry picked from commit 0ad1c7a979d8e412ad96c7af42b1ededc8dee810)
-rw-r--r--buildscripts/resmokelib/hang_analyzer/dumper.py2
-rw-r--r--buildscripts/setup_spawnhost_coredump4
2 files changed, 3 insertions, 3 deletions
diff --git a/buildscripts/resmokelib/hang_analyzer/dumper.py b/buildscripts/resmokelib/hang_analyzer/dumper.py
index 6fad35ddf7c..fe724819c8b 100644
--- a/buildscripts/resmokelib/hang_analyzer/dumper.py
+++ b/buildscripts/resmokelib/hang_analyzer/dumper.py
@@ -210,7 +210,7 @@ class GDBDumper(Dumper):
@staticmethod
def __find_debugger(debugger):
"""Find the installed debugger."""
- return find_program(debugger, ['/opt/mongodbtoolchain/gdb/bin', '/usr/bin'])
+ return find_program(debugger, ['/opt/mongodbtoolchain/v3/bin', '/usr/bin'])
def dump_info( # pylint: disable=too-many-arguments,too-many-locals
self, root_logger, logger, pinfo, take_dump):
diff --git a/buildscripts/setup_spawnhost_coredump b/buildscripts/setup_spawnhost_coredump
index 73340f3e936..799d68e9a7f 100644
--- a/buildscripts/setup_spawnhost_coredump
+++ b/buildscripts/setup_spawnhost_coredump
@@ -3,7 +3,7 @@
cat >> ~/.profile <<EOF
# Coredumps generated by a toolchain built mongodb can be problematic when examined with the system
# gdb.
-export PATH=/opt/mongodbtoolchain/gdb/bin:$PATH
+export PATH=/opt/mongodbtoolchain/v3/bin:$PATH
# As per below, put the user into the appropriate directory. This is where gdb is expected to be
# invoked from.
cd debug
@@ -21,7 +21,7 @@ echo
echo "To examine a core dump, type 'gdb ./<binary> ./<core file>'"
EOF
-export PATH=/opt/mongodbtoolchain/gdb/bin:$PATH
+export PATH=/opt/mongodbtoolchain/v3/bin:$PATH
echo 'if [ -f ~/.profile ]; then
. ~/.profile
fi' >> .bash_profile