This is the mail archive of the gdb@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]

GDB Build Failure On Head (Multiple Architectures)


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
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985


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