This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[OB PATCH] lib/ada.exp (gdb_compile_ada): Fix typo.
- From: Doug Evans <dje at google dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 22 Jan 2016 00:23:40 +0000
- Subject: [OB PATCH] lib/ada.exp (gdb_compile_ada): Fix typo.
- Authentication-results: sourceware.org; auth=none
Hi.
I noticed all the Ada tests were failing instead of being marked
as UNSUPPORTED (I don't have gnat installed).
I traced it to this.
Committed as obvious.
2016-01-21 Doug Evans <dje@google.com>
* lib/ada.exp (gdb_compile_ada): Fix typo.
diff --git a/gdb/testsuite/lib/ada.exp b/gdb/testsuite/lib/ada.exp
index 66dfad2..01f3008 100644
--- a/gdb/testsuite/lib/ada.exp
+++ b/gdb/testsuite/lib/ada.exp
@@ -45,7 +45,7 @@ proc gdb_compile_ada {source dest type options} {
append options " additional_flags=-I$srcdir"
set result [target_compile_ada_from_dir \
- $objdir [file tail $source] $dest $type $options]]
+ $objdir [file tail $source] $dest $type $options]
# The Ada build always produces some output, even when the build
# succeeds. Thus, we can not use the output the same way we do in