summaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2009-03-13 02:24:37 +0000
committerJoel Brobecker <brobecker@gnat.com>2009-03-13 02:24:37 +0000
commit8ff2d8e707b490a3221de434f6d3df604a904fbc (patch)
tree2491d0d5611ebd940b5e9d09eef1504b89a98f1d /gdb/testsuite
parentb8600f7ad24559d7038d9c4b77dd519d23f9be06 (diff)
downloadgdb-8ff2d8e707b490a3221de434f6d3df604a904fbc.tar.gz
* gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
that was checked in by mistake. Remove loading of ada.exp, since this is not necessary in this case.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.ada/ptype_arith_binop.exp19
2 files changed, 6 insertions, 19 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index c86189e056a..5d2be4ddc36 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,11 @@
2009-03-12 Joel Brobecker <brobecker@adacore.com>
+ * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
+ that was checked in by mistake. Remove loading of ada.exp, since
+ this is not necessary in this case.
+
+2009-03-12 Joel Brobecker <brobecker@adacore.com>
+
* gdb.ada/ptype_arith_binop.exp: New testcase.
2009-03-12 Joel Brobecker <brobecker@adacore.com>
diff --git a/gdb/testsuite/gdb.ada/ptype_arith_binop.exp b/gdb/testsuite/gdb.ada/ptype_arith_binop.exp
index ec752b50477..4fb61e0cb66 100644
--- a/gdb/testsuite/gdb.ada/ptype_arith_binop.exp
+++ b/gdb/testsuite/gdb.ada/ptype_arith_binop.exp
@@ -17,28 +17,9 @@ if $tracelevel then {
strace $tracelevel
}
-load_lib "ada.exp"
-
-# set testdir "array_bounds"
-# set testfile "${testdir}/bar"
-# set srcfile ${srcdir}/${subdir}/${testfile}.adb
-# set binfile ${objdir}/${subdir}/${testfile}
-#
-# file mkdir ${objdir}/${subdir}/${testdir}
-# if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-# return -1
-# }
-
gdb_exit
gdb_start
gdb_reinitialize_dir $srcdir/$subdir
-# gdb_load ${binfile}
-
-#set bp_location [gdb_get_line_number "STOP" ${testdir}/bar.adb]
-#if ![runto "bar.adb:$bp_location" ] then {
-# perror "Couldn't run ${testfile}"
-# return
-#}
gdb_test "set lang ada" \
"" \