I noticed this odd test name:
PASS: gdb.base/maint.exp: maint currently expandedinfo currently expandedline-table currently expandedwith currently expandedfilename currently expandedof currently expandedsymtab currently expandedthat currently expandedis currently expandednot
This is because the join TCL proc is misused. It ends up joining all of
the words in
"maint info line-table with filename of symtab that is not"
with the string
" currently expanded"
when the intention was to concatenate.
Change it back to just a plain string. We can have a debate over this,
but in my opinion it's more readable to have the plain string (even if
the line is a bit long) instead of building the test name by
concatenating parts. It's also more grep-able.
Change-Id: I491eb6843deed1c1b6edf0ebf9161644f0894b5a
Approved-By: Tom de Vries <tdevries@suse.de>
if { ! $readnow_p } {
gdb_test_no_output "maint info line-table ${srcfile2}" \
- [join \
- "maint info line-table with filename of symtab that is not" \
- " currently expanded"]
+ "maint info line-table with filename of symtab that is not currently expanded"
}
gdb_test_no_output "maint expand-symtabs"