diff options
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/lib/ada.exp | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index a087cc717f2..469ebc21ef0 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2020-02-13 Tom de Vries <tdevries@suse.de> + * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation. + +2020-02-13 Tom de Vries <tdevries@suse.de> + * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink are missing. diff --git a/gdb/testsuite/lib/ada.exp b/gdb/testsuite/lib/ada.exp index 726977d98f1..9933cc951e3 100644 --- a/gdb/testsuite/lib/ada.exp +++ b/gdb/testsuite/lib/ada.exp @@ -60,6 +60,8 @@ proc gdb_compile_ada {source dest type options} { set gprdir [file dirname $srcdir] set objdir [file dirname $dest] + file delete $dest + # Although strictly not necessary, we force the recompilation # of all units (additional_flags=-f). This is what is done # when using GCC to build programs in the other languages, |