aboutsummaryrefslogtreecommitdiff
path: root/gdb/source.h
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2023-03-28 10:22:48 +0200
committerTom de Vries <tdevries@suse.de>2023-03-28 10:22:48 +0200
commitd7f0f10189fa83a73d9819e81fd321142c0c6398 (patch)
tree0c530f2227dd936bb994f3188279df669f5f2de7 /gdb/source.h
parent29dd2d27b202cb4f16c77008e8b71b5554b435fc (diff)
downloadgdb-d7f0f10189fa83a73d9819e81fd321142c0c6398.zip
gdb-d7f0f10189fa83a73d9819e81fd321142c0c6398.tar.gz
gdb-d7f0f10189fa83a73d9819e81fd321142c0c6398.tar.bz2
[gdb/testsuite] Allow gdb.rust/expr.exp without rust compiler
Proc allow_rust_tests returns 0 when there's no rust compiler, but that gives the wrong answer for gdb.rust/expr.exp, which doesn't require it. Fix this by using can_compile rust in the test-cases that need it, and just returning 1 in allow_rust_tests. Tested on x86_64-linux.
Diffstat (limited to 'gdb/source.h')
0 files changed, 0 insertions, 0 deletions