Fix:
gdb/testsuite/gdb.base/startup-hints.exp:61:44: expression with substitutions should be enclosed by braces [unbraced-expr]
gdb/testsuite/gdb.base/startup-hints.exp:64:28: expression with substitutions should be enclosed by braces [unbraced-expr]
Change-Id: Id21ff11ced82b11c11d0eb0d186fe6fc5c4c06c5
# Place the lines into a box, padding with whitespace so that
# the sides are correctly aligned.
- set top_bottom "+[string repeat "-" [expr $width - 2]]+"
+ set top_bottom "+[string repeat "-" [expr {$width - 2}]]+"
set lines [list $top_bottom]
foreach m $msg {
- set space_count [expr $width - 4 - [string length $m]]
+ set space_count [expr {$width - 4 - [string length $m]}]
set spaces [string repeat " " $space_count]
lappend lines "| $m$spaces |"
}