mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +08:00
* gdb.base/langs.exp: Add some tests for the "minimal" language
support.
This commit is contained in:
parent
8f32e830b8
commit
f125c9a4e9
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user