This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [testsuite patch] Fix gdb.multi/base.exp testsuite regression
- From: Pedro Alves <palves at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 08 Jan 2016 19:04:13 +0000
- Subject: Re: [testsuite patch] Fix gdb.multi/base.exp testsuite regression
- Authentication-results: sourceware.org; auth=none
- References: <1449765071-32101-1-git-send-email-palves at redhat dot com> <20160108185514 dot GA26527 at host1 dot jankratochvil dot net>
On 01/08/2016 06:55 PM, Jan Kratochvil wrote:
> On Thu, 10 Dec 2015 17:31:11 +0100, Pedro Alves wrote:
>> Several of the gdb.multi tests use the "nowarnings" option to suppress
>> warnings.
>
> commit 762f774785f4ef878ac4c831e1f4733dc957234d
> Author: Pedro Alves <palves@redhat.com>
> Date: Thu Dec 10 16:21:06 2015 +0000
> Stop using nowarnings in gdb/testsuite/gdb.multi/
>
> +gdb compile failed, gdb/testsuite/gdb.multi/hello.c: In function 'commonfun':
> +gdb/testsuite/gdb.multi/hello.c:24:19: warning: implicit declaration of function 'bar' [-Wimplicit-function-declaration]
> + int commonfun() { bar(); } /* from hello */
> + ^
> +gdb/testsuite/gdb.multi/hello.c: At top level:
> +gdb/testsuite/gdb.multi/hello.c:26:1: warning: return type defaults to 'int' [-Wimplicit-int]
> + bar()
> + ^
> +gdb/testsuite/gdb.multi/hello.c:32:1: warning: return type defaults to 'int' [-Wimplicit-int]
> + hello(int x)
> + ^
> +gdb/testsuite/gdb.multi/hello.c:38:1: warning: return type defaults to 'int' [-Wimplicit-int]
> + main()
> + ^
> +UNTESTED: gdb.multi/base.exp: base.exp
>
>
> OK for check-in?
OK.
Thanks,
Pedro Alves