Merge gdb.arch/system-gcore.exp into gdb.base/gcore.exp
authorPedro Alves <palves@redhat.com>
Tue, 7 May 2013 17:51:42 +0000 (17:51 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 7 May 2013 17:51:42 +0000 (17:51 +0000)
commit1f031429fc13e6af79ed5e0c247a9bb6b74ecee0
tree39378ba65cdfd84813e25868857bcb1fa72e4a70
parent58ce7251e876ad5b6569e3ee72dfe6c4c5697ca8
Merge gdb.arch/system-gcore.exp into gdb.base/gcore.exp

The test case gdb.arch/system-gcore.exp is almost an identical copy of
gdb.base/gcore.exp.  The only functional change is the additional
comparison of the "info reg system" command output.

It should be safe to perform this comparison on all architectures.
Thus the patch removes the arch-specific version and adds "info reg
system" to the common gcore test case instead.

Tested on i686-linux and s390x-linux.

gdb/testsuite/Changelog:
2013-05-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>

* gdb.arch/system-gcore.exp: Remove.
* gdb.arch/gcore.c: Remove.
* gdb.base/gcore.exp: Add "info reg system".
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/gcore.c [deleted file]
gdb/testsuite/gdb.arch/system-gcore.exp [deleted file]
gdb/testsuite/gdb.base/gcore.exp