This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 3/3] Simplify event-loop core, remove two-step event processing
- From: Patrick Palka <patrick at parcs dot ath dot cx>
- To: Pedro Alves <palves at redhat dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Tue, 3 Feb 2015 17:48:13 -0500
- Subject: Re: [PATCH 3/3] Simplify event-loop core, remove two-step event processing
- Authentication-results: sourceware.org; auth=none
- References: <1422292759-22307-1-git-send-email-palves at redhat dot com> <1422292759-22307-4-git-send-email-palves at redhat dot com>
This patch causes a build failure when compiling GDB with GCC 4.9:
/home/patrick/code/binutils-gdb/gdb/event-loop.c: In function
âgdb_do_one_eventâ:
/home/patrick/code/binutils-gdb/gdb/event-loop.c:296:10: error: âresâ
may be used uninitialized in this function
[-Werror=maybe-uninitialized]
if (res > 0)
^