Skip to content

Commit e76ca54

Browse files
committed
Rollup merge of #54362 - tromey:travis-gdb-batch-mode, r=nikomatsakis
Pass --batch to gdb In one of my travis builds, I was surprised to find that the gdb pager was in use and caused travis to time out. Adding `--batch` to the gdb invocation will disable the pager. Note that the `-ex q` is retained, to make sure gdb exits with status 0, just in case `set -e` is in effect somehow.
2 parents f2aabb7 + e2ff97a commit e76ca54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ after_failure:
301301
EXE=$(echo $CORE | sed 's|obj/cores/core\.[0-9]*\.!checkout!\(.*\)|\1|;y|!|/|');
302302
if [ -f "$EXE" ]; then
303303
printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" "$CORE";
304-
gdb -q -c "$CORE" "$EXE"
304+
gdb --batch -q -c "$CORE" "$EXE"
305305
-iex 'set auto-load off'
306306
-iex 'dir src/'
307307
-iex 'set sysroot .'

0 commit comments

Comments
 (0)