From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13763 invoked by alias); 13 Nov 2010 23:25:48 -0000 Received: (qmail 13751 invoked by uid 22791); 13 Nov 2010 23:25:47 -0000 X-SWARE-Spam-Status: No, hits=-5.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,TW_BT,TW_DB,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; Sat, 13 Nov 2010 23:25:08 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oADNP6Lh029363 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 13 Nov 2010 18:25:06 -0500 Received: from valrhona.uglyboxes.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oADNP3Hv003512 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sat, 13 Nov 2010 18:25:05 -0500 Message-ID: <4CDF1D99.50604@redhat.com> Date: Sat, 13 Nov 2010 23:25:00 -0000 From: Keith Seitz User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Lightning/1.0b3pre Thunderbird/3.1.4 MIME-Version: 1.0 To: Hui Zhu CC: insight@sources.redhat.com Subject: Re: [BUG] gdbtk-bp.c: got build error References: In-Reply-To: Content-Type: multipart/mixed; boundary="------------040106030903010609050308" X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2010-q4/txt/msg00011.txt.bz2 This is a multi-part message in MIME format. --------------040106030903010609050308 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 451 On 11/13/2010 06:58 AM, Hui Zhu wrote: > ../../src/gdb/gdbtk/generic/gdbtk-bp.c: In function 'gdb_set_bp': > ../../src/gdb/gdbtk/generic/gdbtk-bp.c:557: error: too few arguments > to function 'create_breakpoint' Thank you for reporting this. I've committed the attached patch to fix this. Keith ChangeLog 2010-11-13 Keith Seitz * generic/gdbtk-bp.c (gdb_set_bp): Update for recent create_breakpoint API update. --------------040106030903010609050308 Content-Type: text/plain; name="create_breakpoint-update.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="create_breakpoint-update.patch" Content-length: 542 Index: generic/gdbtk-bp.c =================================================================== RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-bp.c,v retrieving revision 1.37 diff -u -p -r1.37 gdbtk-bp.c --- generic/gdbtk-bp.c 4 Jul 2010 18:13:14 -0000 1.37 +++ generic/gdbtk-bp.c 13 Nov 2010 23:23:29 -0000 @@ -554,7 +554,7 @@ gdb_set_bp (ClientData clientData, Tcl_I (pending ? AUTO_BOOLEAN_TRUE : AUTO_BOOLEAN_FALSE), NULL /* breakpoint ops */, 0 /* from_tty */, - enabled); + enabled, 0); } if (e.reason < 0) --------------040106030903010609050308--