* gdb.base/langs.exp: Add some tests for the "minimal" language

support.
This commit is contained in:
Joel Brobecker 2003-06-23 22:42:50 +00:00
parent 8f32e830b8
commit f125c9a4e9
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-06-23 Joel Brobecker <brobecker@gnat.com>
* gdb.base/langs.exp: Add some tests for the "minimal" language
support.
2003-06-23 Elena Zannoni <ezannoni@redhat.com>
* gdb.objc/basicclass.exp: Return -1 if we cannot compile

View File

@ -145,5 +145,20 @@ if [runto csub] then {
}
}
gdb_exit
gdb_start
gdb_reinitialize_dir $srcdir/$subdir
gdb_load $binfile
# Try exercising the "minimal" language a bit...
if [runto csub] then {
gdb_test "set lang minimal" \
"Warning: the current language does not match this frame." \
"set lang to minimal"
gdb_test "print x" " = 5000" "print parameter value"
}
set timeout $oldtimeout
return 0