* 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.
This commit is contained in:
Joel Brobecker 2009-03-13 02:24:38 +00:00
parent 4ce102af1e
commit 383ace49f8
2 changed files with 6 additions and 19 deletions

View File

@ -1,3 +1,9 @@
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.

View File

@ -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" \
"" \