diff options
author | Tom de Vries <tdevries@suse.de> | 2023-08-31 15:25:31 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2023-08-31 15:25:31 +0200 |
commit | 3f62178ed706bb390582623e704139a96619e7af (patch) | |
tree | 50f12e173d16d3ad90b16cea787dce1b739a66ba /include | |
parent | ad4ee59eb7d3cb3e02823c1ada571632c5b7891e (diff) | |
download | gdb-3f62178ed706bb390582623e704139a96619e7af.zip gdb-3f62178ed706bb390582623e704139a96619e7af.tar.gz gdb-3f62178ed706bb390582623e704139a96619e7af.tar.bz2 |
[gdb/contrib] Require minimal dwz version in cc-with-tweaks.sh
I usually run target boards cc-with-dwz and cc-with-dwz-m using a dwz build
from current trunk, but the pathname to the build dir changed and I forgot to
update my test scripts, so the test scripts reverted to using system dwz,
version 0.12.
Consequently, I ran into:
...
(gdb) p ZERO^M
No symbol "ZERO" in current context.^M
(gdb) FAIL: gdb.base/enumval.exp: p ZERO
...
which is due to PR dwz/24468, which was fixed in version 0.13.
Fix this by minimally requiring dwz version 0.13 in cc-with-tweaks.sh, such
that this situation is detected and we get instead:
...
gdb compile failed, cc-with-tweaks.sh: dwz version 0.12 detected, version \
0.13 or higher required
...
Tested on x86_64-linux, verified with shellcheck.
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions