[testsuite/guality] Use relative line numbers in gdb-test
authorTom de Vries <tdevries@suse.de>
Sat, 30 Jun 2018 08:07:01 +0000 (08:07 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Sat, 30 Jun 2018 08:07:01 +0000 (08:07 +0000)
commitf269206b1b9d10401e7afc99e37050892d26d014
tree43a31dc417b7a5a6b7708262ebb74c8cf1959aff
parentda34ca3f122f369f1121608c726c33400f0aced5
[testsuite/guality] Use relative line numbers in gdb-test

2018-06-30  Tom de Vries  <tdevries@suse.de>

* gcc.dg/guality/pr45882.c (foo): Use relative line numbers.
* lib/gcc-dg.exp (dg-final): New proc.
* lib/gcc-gdb-test.exp (gdb-test): Add and handle additional line number
argument.

From-SVN: r262269
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/guality/pr45882.c
gcc/testsuite/lib/gcc-dg.exp
gcc/testsuite/lib/gcc-gdb-test.exp