gdb/testsuite: Merge whatis.exp and ctf-whatis.exp
authorAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 15 Oct 2019 21:58:08 +0000 (22:58 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 19 Nov 2019 00:37:21 +0000 (00:37 +0000)
commit0b8dbf3f1c359e26b25ce0e48634c83befd60994
tree90485c1384767b0c1c8557aa9d9147c5631c5ed7
parentf833b7a7da710991d4b91b0e994abd1eef9a7d77
gdb/testsuite: Merge whatis.exp and ctf-whatis.exp

The recently added gdb.base/ctf-whatis.exp test is a slightly modified
version of gdb.base/whatis.exp, with a few tests removed, and the
source compiled with different compiler options.  This patch merges
the two tests together into a single test script.

I tested using a version of GCC with CTF support added.

gdb/testsuite/ChangeLog:

* gdb.base/ctf-whatis.c: Delete.
* gdb.base/ctf-whatis.exp: Delete.
* gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.

Change-Id: I09e11c70f197b79d2b1e0ae8c86a21c622be6c51
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/ctf-whatis.c [deleted file]
gdb/testsuite/gdb.base/ctf-whatis.exp [deleted file]
gdb/testsuite/gdb.base/whatis.exp