This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [PATCH 3/3] Simplify event-loop core, remove two-step event processing


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)
          ^


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