From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20145 invoked by alias); 23 Feb 2009 18:00:33 -0000 Received: (qmail 20134 invoked by uid 22791); 23 Feb 2009 18:00:32 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,MSGID_MULTIPLE_AT,SPF_PASS X-Spam-Check-By: sourceware.org Received: from cam-admin0.cambridge.arm.com (HELO cam-admin0.cambridge.arm.com) (193.131.176.58) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 23 Feb 2009 18:00:25 +0000 Received: from cam-owa2.Emea.Arm.com (cam-owa2.emea.arm.com [10.1.105.18]) by cam-admin0.cambridge.arm.com (8.12.6/8.12.6) with ESMTP id n1NHxjZm012866 for ; Mon, 23 Feb 2009 17:59:45 GMT Received: from E101739 ([10.1.255.212]) by cam-owa2.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 23 Feb 2009 18:00:22 +0000 From: "Anthony Berent" To: Subject: Latest gdb version from CVS will not build! Date: Mon, 23 Feb 2009 18:00:00 -0000 Message-ID: <000301c995e0$976cc270$c6464750$@berent@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2009-02/txt/msg00144.txt.bz2 Hi, I am getting errors when I try to build the latest version of gdb from the CVS repository for an ARM target. The error I get is in compiling remote-sim.c: gcc -g -O2 -I. -I.././gdb -I.././gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I.././gdb/../include/opcode -I.././gdb/../readline/.. -I../bfd -I.././gdb/../bfd -I.././gdb/../include -I../libdecnumber -I.././gdb/../libdecnumber -I.././gdb/gnulib -Ignulib -DMI_OUT=1 -DTUI=1 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-unused -Wno-switch -Wno-char-subscripts -Werror -c -o remote-sim.o -MT remote-sim.o -MMD -MP -MF .deps/remote-sim.Tpo remote-sim.c remote-sim.c: In function `init_gdbsim_ops': remote-sim.c:900: warning: assignment from incompatible pointer type make[2]: *** [remote-sim.o] Error 1 make[2]: Leaving directory `/home/aberent/gdb-cvs/src-build/gdb' make[1]: *** [all-gdb] Error 2 make[1]: Leaving directory `/home/aberent/gdb-cvs/src-build' make: *** [all] Error 2 This appears to be because the signature of the to_resume member of target_ops has recently been changed (to include a struct target_ops * argument) but no equivalent change has been made to gdbsim_resume in remote-sim.c. - Anthony