[gdb/testsuite] Rewrite valgrind-db-attach.exp to use vgdb
authorTom de Vries <tdevries@suse.de>
Thu, 25 Oct 2018 09:03:23 +0000 (11:03 +0200)
committerTom de Vries <tdevries@suse.de>
Thu, 25 Oct 2018 14:05:58 +0000 (16:05 +0200)
commitbfcc0eba9e66f3793feecc059f80e97d03dbdbef
tree625f5a00e35aa94d1a6950dfb86353d0d681f386
parentb352ceb6b4fc9f026944d307704076d1e6894de9
[gdb/testsuite] Rewrite valgrind-db-attach.exp to use vgdb

The valgrind option --db-attach has been deprecated in version 3.10.0, and
removed in version 3.11.0, so the valgrind-db-attach.exp testcase is
unsupported starting version 3.11.0.

Rewrite the test-case to use vgdb instead (making it supported starting
version 3.7.0).

Tested on x86_64-linux with and without --target_board=native-gdbserver.

2018-10-25  Tom de Vries  <tdevries@suse.de>

* gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/valgrind-db-attach.exp