binutils-gdb/gdb/contrib
Tom de Vries fb799bba55 [gdb/contrib] Handle STRIP_ARGS_{STRIP,KEEP}_DEBUG in cc-with-tweaks.sh
Handle new environment variable STRIP_ARGS_STRIP_DEBUG, defaulting to
--strip-debug in gdb/contrib/cc-with-tweaks.sh, such that we can easily
reproduce the PR29277 assert using:
...
$ export STRIP_ARGS_STRIP_DEBUG=--strip-all
$ make check RUNTESTFLAGS="gdb.base/jit-reader.exp \
    --target_board cc-with-gnu-debuglink"
...

For completeness sake and to avoid confusion about which of the two used strip
invocations the passed args apply to, likewise add STRIP_ARGS_KEEP_DEBUG,
defaulting to --only-keep-debug.

Script checked with shellcheck, no new warnings added.

Tested on x86_64-linux.
2022-10-14 21:22:57 +02:00
..
ari
cc-with-tweaks.sh [gdb/contrib] Handle STRIP_ARGS_{STRIP,KEEP}_DEBUG in cc-with-tweaks.sh 2022-10-14 21:22:57 +02:00
expect-read1.c
expect-read1.sh
gdb-add-index.sh gdb-add-index: disable debuginfod 2022-02-25 17:30:12 -05:00
test_pubnames_and_indexes.py gdb: make some random Python files Python 3-compatible 2022-04-26 11:51:14 -04:00
words.sh