diff options
author | Tom de Vries <tdevries@suse.de> | 2020-02-13 08:37:34 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2020-02-13 08:37:34 +0100 |
commit | f3b0f7fe42309fa0e00b4d2074b0faefbf2e8ffd (patch) | |
tree | e7950909342a7c6087bd1adc44e669ebf0cd4091 /opcodes/i386-init.h | |
parent | d1437c0ea6708204fcadbf2c305fcaa40df00866 (diff) | |
download | gdb-f3b0f7fe42309fa0e00b4d2074b0faefbf2e8ffd.zip gdb-f3b0f7fe42309fa0e00b4d2074b0faefbf2e8ffd.tar.gz gdb-f3b0f7fe42309fa0e00b4d2074b0faefbf2e8ffd.tar.bz2 |
[gdb/testsuite] Fix gnatmake_version_at_least
After de-installing gnatmake, I get:
...
Running src/gdb/testsuite/gdb.ada/rename_subscript_param.exp ...
ERROR: tcl error sourcing src/gdb/testsuite/gdb.ada/rename_subscript_param.exp.
ERROR: couldn't execute "gnatmake": no such file or directory
while executing
"exec $gnatmake --version"
(procedure "gnatmake_version_at_least" line 4)
...
Fix this by wrapping the exec call in a catch call.
Tested with and withouth gnatmake installed on x86_64-linux.
gdb/testsuite/ChangeLog:
2020-02-13 Tom de Vries <tdevries@suse.de>
* lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
call.
Diffstat (limited to 'opcodes/i386-init.h')
0 files changed, 0 insertions, 0 deletions