* 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:
parent
4ce102af1e
commit
383ace49f8
|
@ -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>
|
2009-03-12 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
* gdb.ada/ptype_arith_binop.exp: New testcase.
|
* gdb.ada/ptype_arith_binop.exp: New testcase.
|
||||||
|
|
|
@ -17,28 +17,9 @@ if $tracelevel then {
|
||||||
strace $tracelevel
|
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_exit
|
||||||
gdb_start
|
gdb_start
|
||||||
gdb_reinitialize_dir $srcdir/$subdir
|
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" \
|
gdb_test "set lang ada" \
|
||||||
"" \
|
"" \
|
||||||
|
|
Loading…
Reference in New Issue