Test gdb.base/random-signal.exp with "attach"
authorPedro Alves <palves@redhat.com>
Tue, 12 Jan 2016 12:30:33 +0000 (12:30 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 12 Jan 2016 12:30:33 +0000 (12:30 +0000)
commite46eeeddfb308cacd863f11a433c10ff1d403827
treeb790908a0b288ba936335e7c4ce58eed2f3c75b6
parent5eddd57823971bdb54f957d10c11ff3fc9f97b1e
Test gdb.base/random-signal.exp with "attach"

This exposes the issued fixed by 2f99e8fc9cb8:

  https://sourceware.org/ml/gdb-patches/2015-12/msg00423.html

to native debugging as well.

gdb/testsuite/ChangeLog:
2016-01-12  Pedro Alves  <palves@redhat.com>

* gdb.base/random-signal.exp (do_test): New procedure, with body
of testcase moved in.
(top level) Call it twice, once with "run" and once with "attach".
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/random-signal.exp