public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Waldemar Brodkorb <wbx@openadk.org>
To: gdb@sourceware.org
Subject: bfin gdb simulator
Date: Sat, 19 Dec 2015 17:16:00 -0000	[thread overview]
Message-ID: <20151219171634.GI19876@waldemar-brodkorb.de> (raw)

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

             reply	other threads:[~2015-12-19 17:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-19 17:16 Waldemar Brodkorb [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151219171634.GI19876@waldemar-brodkorb.de \
    --to=wbx@openadk.org \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).