This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix --with-babeltrace with gcc-4.9.1
- From: Yao Qi <yao at codesourcery dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>, <gdb-patches at sourceware dot org>
- Date: Wed, 6 Aug 2014 09:00:04 +0800
- Subject: Re: [patch] Fix --with-babeltrace with gcc-4.9.1
- Authentication-results: sourceware.org; auth=none
- References: <20140804202907 dot GA2608 at host2 dot jankratochvil dot net>
On 08/05/2014 04:29 AM, Jan Kratochvil wrote:
> gdb/
> 2014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * configure.ac (--with-babeltrace): Use 'pos'.
> * configure: Regenerate.
>
> diff --git a/gdb/configure.ac b/gdb/configure.ac
> index 70d0964..07d2f00 100644
> --- a/gdb/configure.ac
> +++ b/gdb/configure.ac
> @@ -2437,6 +2437,7 @@ else
> struct bt_ctf_event *event = NULL;
> const struct bt_definition *scope;
>
> + (void) pos; /* Prevent -Werror=unused-variable. */
This patch fixes https://sourceware.org/bugzilla/show_bug.cgi?id=17104
Please mention it in ChangeLog entry. I had a patch to this PR, but
didn't follow it up. Yours is fine.
--
Yao (éå)