This is the mail archive of the gdb@sources.redhat.com 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 tx39-elf configuration doesn't compile, multi-arch lossage?


was hoping to do some sim testing w/ tx39-elf, but its GDB
configuration doesn't compile:

Error messages like:

/home/cgd/proj/gcc-testing/combined/gdb/dve3900-rom.c:116: variable-size type declared outside of any function
/home/cgd/proj/gcc-testing/combined/gdb/dve3900-rom.c:116: variable-sized object may not be initialized
/home/cgd/proj/gcc-testing/combined/gdb/dve3900-rom.c:118: warning: excess elements in array initializer
/home/cgd/proj/gcc-testing/combined/gdb/dve3900-rom.c:118: warning: (near initialization for `r3900_regnames')
/home/cgd/proj/gcc-testing/combined/gdb/dve3900-rom.c:118: warning: excess elements in array initializer
/home/cgd/proj/gcc-testing/combined/gdb/dve3900-rom.c:118: warning: (near initialization for `r3900_regnames')
/home/cgd/proj/gcc-testing/combined/gdb/dve3900-rom.c:118: warning: excess elements in array initializer
/home/cgd/proj/gcc-testing/combined/gdb/dve3900-rom.c:118: warning: (near initialization for `r3900_regnames')
/home/cgd/proj/gcc-testing/combined/gdb/dve3900-rom.c:118: warning: excess elements in array initializer
/home/cgd/proj/gcc-testing/combined/gdb/dve3900-rom.c:118: warning: (near initialization for `r3900_regnames')

Where the thing on line 116 is:

static char *r3900_regnames[NUM_REGS] =
{
...


multi-arch lossage?



cgd


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