From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 115698 invoked by alias); 19 Dec 2015 17:16:42 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 115683 invoked by uid 89); 19 Dec 2015 17:16:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=sk:Wimplic, sk:wimplic, 7101, 7.10.1 X-HELO: helium.waldemar-brodkorb.de Received: from helium.waldemar-brodkorb.de (HELO helium.waldemar-brodkorb.de) (89.238.66.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sat, 19 Dec 2015 17:16:39 +0000 Received: by helium.waldemar-brodkorb.de (Postfix, from userid 1000) id ACCCA10216; Sat, 19 Dec 2015 18:16:35 +0100 (CET) Date: Sat, 19 Dec 2015 17:16:00 -0000 From: Waldemar Brodkorb To: gdb@sourceware.org Subject: bfin gdb simulator Message-ID: <20151219171634.GI19876@waldemar-brodkorb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2015-12/txt/msg00029.txt.bz2 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