fix gdb error when attempting to disable aslr
This commit is contained in:
parent
f0798aa358
commit
fd3f7fe6a8
3 changed files with 4 additions and 3 deletions
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
gdb -q -batch -return-child-result -ex "run" -ex "thread apply all bt" -ex "quit" --args ./wesnoth -m --controller 1:ai --controller 2:ai --nogui
|
||||
gdb -q -batch -return-child-result -ex "set disable-randomization off" -ex "run" -ex "thread apply all bt" -ex "quit" --args ./wesnoth -m --controller 1:ai --controller 2:ai --nogui
|
||||
|
|
|
@ -32,7 +32,8 @@ if [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
|||
nls="$NLS" enable_lto="$LTO" jobs=2 --debug=time
|
||||
fi
|
||||
else
|
||||
docker run -v "$HOME"/build-cache:/home/wesnoth-travis/build \
|
||||
docker run --cap-add=SYS_PTRACE \
|
||||
-v "$HOME"/build-cache:/home/wesnoth-travis/build \
|
||||
-v "$HOME"/.ccache:/root/.ccache wesnoth-repo:"$LTS"-"$BRANCH" \
|
||||
bash -c './utils/travis/docker_run.sh "$@"' \
|
||||
bash "$NLS" "$TOOL" "$CC" "$CXX" "$CXXSTD" "$EXTRA_FLAGS_RELEASE" "$WML_TESTS" "$WML_TEST_TIME" "$PLAY_TEST" "$MP_TEST" "$BOOST_TEST" "$LTO"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
gdb -q -batch -return-child-result -ex "run" -ex "thread apply all bt" -ex "quit" --args ./boost_unit_tests
|
||||
gdb -q -batch -return-child-result -ex "set disable-randomization off" -ex "run" -ex "thread apply all bt" -ex "quit" --args ./boost_unit_tests
|
||||
|
|
Loading…
Add table
Reference in a new issue