From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21629 invoked by alias); 2 Jul 2010 08:06:15 -0000 Received: (qmail 21454 invoked by uid 22791); 2 Jul 2010 08:06:14 -0000 X-SWARE-Spam-Status: No, hits=-5.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 02 Jul 2010 08:06:09 +0000 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o62861WD017131 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 2 Jul 2010 04:06:01 -0400 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o6285wVw030167 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Jul 2010 04:06:00 -0400 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.4/8.14.4) with ESMTP id o6285wKI013057; Fri, 2 Jul 2010 10:05:58 +0200 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.4/8.14.4/Submit) id o6285vVB013056; Fri, 2 Jul 2010 10:05:57 +0200 Date: Fri, 02 Jul 2010 08:06:00 -0000 From: Jan Kratochvil To: gdb-patches@sourceware.org Cc: Pedro Alves Subject: [obv] Fix spu-tdep.c compilation failure Message-ID: <20100702080557.GA12407@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-12-10) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-07/txt/msg00034.txt.bz2 Hi, currently compilation failed with --enable-64-bit-bfd --enable-targets=all: spu-tdep.c: In function ‘spu_catch_start’: spu-tdep.c:1898: error: passing argument 10 of ‘create_breakpoint’ makes pointer from integer without a cast breakpoint.h:834: note: expected ‘struct breakpoint_ops *’ but argument is of type ‘int’ spu-tdep.c:1898: error: passing argument 11 of ‘create_breakpoint’ makes integer from pointer without a cast breakpoint.h:834: note: expected ‘int’ but argument is of type ‘void *’ spu-tdep.c:1898: error: too many arguments to function ‘create_breakpoint’ Checked-in as obvious. Regards, Jan http://sourceware.org/ml/gdb-cvs/2010-07/msg00012.html --- src/gdb/ChangeLog 2010/07/01 18:03:48 1.11959 +++ src/gdb/ChangeLog 2010/07/02 08:04:02 1.11960 @@ -1,3 +1,8 @@ +2010-07-02 Jan Kratochvil + + * spu-tdep.c (spu_catch_start): Adjust the caller of changed + create_breakpoint prototype. + 2010-07-01 Pedro Alves * breakpoint.c (BREAK_ARGS_HELP, _initialize_breakpoint): Clarify --- src/gdb/spu-tdep.c 2010/06/23 12:46:35 1.61 +++ src/gdb/spu-tdep.c 2010/07/02 08:04:03 1.62 @@ -1892,7 +1892,7 @@ create_breakpoint (get_objfile_arch (objfile), buf /* arg */, NULL /* cond_string */, -1 /* thread */, 0 /* parse_condition_and_thread */, 1 /* tempflag */, - 0 /* hardwareflag */, 0 /* traceflag */, + bp_breakpoint /* type_wanted */, 0 /* ignore_count */, AUTO_BOOLEAN_FALSE /* pending_break_support */, NULL /* ops */, 0 /* from_tty */, 1 /* enabled */);