Re: gdb: Improve formatting of 'show architecture' messages
authorAlan Modra <amodra@gmail.com>
Mon, 12 Oct 2020 01:02:21 +0000 (11:32 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 12 Oct 2020 21:45:32 +0000 (08:15 +1030)
commitf4a0f710aefbe16ed45a7c0bfd9b5ab9858d1275
tree06577a31a8cb07c70d32f28233ce1498c975378f
parent87a37e5e078f506fa9905b74e9238593c537fcd5
Re: gdb: Improve formatting of 'show architecture' messages

Commit ccb9eba6a25 updated the testsuite for some targets without
running the testsuite on those targets.  This patch corrects the
update, in most cases just adding the expected full-stop.

On powerpc64le-linux, fixes these:
FAIL: gdb.arch/powerpc-d128-regs.exp: checking for PPC arch
FAIL: gdb.arch/powerpc-disassembler-options.exp: set architecture powerpc:common64
FAIL: gdb.arch/powerpc-disassembler-options.exp: set architecture rs6000:6000
FAIL: gdb.arch/ppc64-symtab-cordic.exp: show architecture

I also verified that arm-linuxeabi and s390x-linux cross-builds now
pass their disassembler-options.exp tests.

* gdb.arch/arm-disassembler-options.exp: Adjust expected
"target architecture" output.
* gdb.arch/powerpc-d128-regs.exp: Likewise.
* gdb.arch/powerpc-disassembler-options.exp: Likewise.
* gdb.arch/ppc64-symtab-cordic.exp: Likewise.
* gdb.arch/s390-disassembler-options.exp: Likewise.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/arm-disassembler-options.exp
gdb/testsuite/gdb.arch/powerpc-d128-regs.exp
gdb/testsuite/gdb.arch/powerpc-disassembler-options.exp
gdb/testsuite/gdb.arch/ppc64-symtab-cordic.exp
gdb/testsuite/gdb.arch/s390-disassembler-options.exp