mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-03-07 13:39:43 +08:00
mi-language.exp: Check "langauge-option" in -list-features output.
gdb/testsuite/ChangeLog: * mi-language.exp: Add "-list-features" test verifying that its output contains "language-option".
This commit is contained in:
parent
18cf6de400
commit
176f037c0f
@ -1,3 +1,8 @@
|
||||
2013-11-18 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* mi-language.exp: Add "-list-features" test verifying that
|
||||
its output contains "language-option".
|
||||
|
||||
2013-11-16 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* info_exc/const.ads (Aint_Global_GDB_E): Renames Aint_Global_E.
|
||||
|
@ -21,6 +21,12 @@ if [mi_gdb_start] {
|
||||
continue
|
||||
}
|
||||
|
||||
# First, verify that the debugger correctly advertises support
|
||||
# for the --language option.
|
||||
mi_gdb_test "-list-features" \
|
||||
"\\^done,features=\\\[.*\"language-option\".*\\\]" \
|
||||
"-list-features should include \"language-option\""
|
||||
|
||||
mi_gdb_test "set lang ada" \
|
||||
".*=cmd-param-changed,param=\"language\",value=\"ada\".*" \
|
||||
"set lang ada"
|
||||
|
Loading…
Reference in New Issue
Block a user