GDB Build Failure On Head (Multiple Architectures)
Joel Sherrill <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
HI I have multiple RTEMS targets (powerpc, sparc, sparc64, v850, etc) failing to build on the head with this: In file included from ../../binutils-gdb/gdb/symfile.c:32:0: ../../binutils-gdb/gdb/symfile.c: In function ‘map_overlay_command’: ../../binutils-gdb/gdb/objfiles.h:645:3: error: ‘sec’ may be used uninitialized in this function [-Werror=maybe-uninitialized] for (osect = objfile->sections; osect < objfile->sections_end; osect++) \ ^ ../../binutils-gdb/gdb/symfile.c:3360:23: note: ‘sec’ was declared here struct obj_section *sec, *sec2; ^ cc1: all warnings being treated as errors Suggestions? -- Joel Sherrill, Ph.D. Director of Research & Development [email protected] On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available (256) 722-9985