public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* bfin gdb simulator
@ 2015-12-19 17:16 Waldemar Brodkorb
  2015-12-24  7:46 ` Mike Frysinger
  0 siblings, 1 reply; 6+ messages in thread
From: Waldemar Brodkorb @ 2015-12-19 17:16 UTC (permalink / raw)
  To: gdb

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-12-27  1:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-19 17:16 bfin gdb simulator Waldemar Brodkorb
2015-12-24  7:46 ` Mike Frysinger
2015-12-24 10:27   ` Waldemar Brodkorb
2015-12-24 18:40     ` Mike Frysinger
2015-12-25 14:44       ` Waldemar Brodkorb
2015-12-27  1:51         ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).