[OB] lib/ada.exp (gdb_compile_ada): Fix typo.

Message ID 047d7b5d519827f0280529e13b43@google.com
State New, archived
Headers

Commit Message

Doug Evans Jan. 22, 2016, 12:23 a.m. UTC
  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.
  

Patch

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