This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC, testsuite/guality] Use relative line numbers in gdb-test


On Jun 28, 2018, at 12:39 PM, Tom de Vries <tdevries@suse.de> wrote:
> This patch adds a dg-final override that passes it's first argument to the
> gdb-test action.  This allows us to use relative line numbers in gdb-test.
> 
> Tested pr45882.c.
> 
> Any comments?

> 2018-06-28  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.

I like it.  :-)  I'd approve it.  Anyone not like it?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]