We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eeb1ad8 commit 98676d0Copy full SHA for 98676d0
fortran/tests/tools/run_gdb
@@ -8,6 +8,8 @@
8
9
echo 0 > "$2"
10
11
-gdb -return-child-result -batch -ex run -ex where -ex quit "$1" 2>&1 || echo $? > "$2"
+# `-iex "set auto-load safe-path /"` is used to avoid gdb warnings such as
12
+# File "XXX" auto-loading has been declined by your `auto-load safe-path' set to "YYY"
13
+gdb -return-child-result -batch -iex "set auto-load safe-path /" -ex run -ex where -ex quit "$1" 2>&1 || echo $? > "$2"
14
15
exit 0 # Exit successfully anyway.
0 commit comments