bfin gdb simulator

Waldemar Brodkorb wbx@openadk.org
Sat Dec 19 17:16:00 GMT 2015


Hi,

when trying to use latest gdb or 7.10.1 to 
build bfin simulator, I get:
cc -DHAVE_CONFIG_H   -DWITH_DEFAULT_MODEL='"bf537"'  -DPROFILE=1
-DWITH_PROFILE=-1   -DWITH_DEFAULT_ALIGNMENT=STRICT_ALIGNMENT
-DWITH_TARGET_BYTE_ORDER=LITTLE_ENDIAN
-DWITH_ENVIRONMENT=ALL_ENVIRONMENT  -DWITH_HW=1
-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN        -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wpointer-sign
-Wno-unused -Wunused-value -Wunused-function -Wno-switch
-Wno-char-subscripts -Wmissing-prototypes
-Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type
-Wold-style-declaration -Wold-style-definition -Wformat-nonliteral
-I. -I. -I../common -I./../common -I../../include -I./../../include
-I../../bfd -I./../../bfd -I../../opcodes -I./../../opcodes  -fPIC
-c -o sim-stop.o -MT sim-stop.o -MMD -MP -MF .deps/sim-stop.Tpo
./../common/sim-stop.c
./../common/sim-model.c: In function ‘model_set’:
./../common/sim-model.c:108:3: warning: implicit declaration of
function ‘CPU_MACH’ [-Wimplicit-function-declaration]
./../common/sim-model.c:108:18: error: lvalue required as left
operand of assignment
./../common/sim-model.c:109:3: warning: implicit declaration of
function ‘CPU_MODEL’ [-Wimplicit-function-declaration]
./../common/sim-model.c:109:19: error: lvalue required as left
operand of assignment
./../common/sim-model.c: In function ‘sim_model_init’:
./../common/sim-model.c:215:5: error: invalid type argument of ‘->’
(have ‘int’)
./../common/sim-model.c:218:6: error: invalid type argument of ‘->’
(have ‘int’)
./../common/sim-model.c:239:48: error: invalid type argument of ‘->’
(have ‘int’)
make[9]: *** [sim-model.o] Error 1
make[9]: *** Waiting for unfinished jobs....

gdb 7.9.1 works fine. I have not git bisect it. May be someone have
already an idea what has breaking it?

best regards
 Waldemar



More information about the Gdb mailing list