mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 22:48:57 +08:00
Allow any size enum in gdb.cp/var-tag.exp.
2015-09-23 Sandra Loosemore <sandra@codesourcery.com> gdb/testsuite/ * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying to allow any size enum.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
|
||||||
|
|
||||||
|
* gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
|
||||||
|
to allow any size enum.
|
||||||
|
|
||||||
2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
|
2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
|
||||||
|
|
||||||
* gdb.ada/array_ptr_renaming.exp: New testcase.
|
* gdb.ada/array_ptr_renaming.exp: New testcase.
|
||||||
|
@ -30,7 +30,7 @@ proc do_global_tests {lang} {
|
|||||||
set invalid_print "Attempt to use a type name as an expression"
|
set invalid_print "Attempt to use a type name as an expression"
|
||||||
|
|
||||||
if {$lang == "c++"} {
|
if {$lang == "c++"} {
|
||||||
set opt_underlying "(: unsigned int )?"
|
set opt_underlying "(: unsigned (int|short|char) )?"
|
||||||
} else {
|
} else {
|
||||||
set opt_underlying ""
|
set opt_underlying ""
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user