From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3545 invoked by alias); 16 Dec 2011 14:30:26 -0000 Received: (qmail 3505 invoked by uid 22791); 16 Dec 2011 14:30:22 -0000 X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL,TW_SM X-Spam-Check-By: sourceware.org Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 16 Dec 2011 14:30:08 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LWA00N00W9K1400@a-mtaout22.012.net.il> for gdb@sourceware.org; Fri, 16 Dec 2011 16:29:54 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.127.39.203]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LWA00IO0W9TWJ01@a-mtaout22.012.net.il>; Fri, 16 Dec 2011 16:29:54 +0200 (IST) Date: Fri, 16 Dec 2011 14:30:00 -0000 From: Eli Zaretskii Subject: Re: [windows mingw]gdb cvs head build error in windows-nat.c In-reply-to: <4EEB53E4.3070207@gmail.com> To: asmwarrior Cc: gdb@sourceware.org Reply-to: Eli Zaretskii Message-id: <83mxas1tei.fsf@gnu.org> References: <4EEB53E4.3070207@gmail.com> 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: 2011-12/txt/msg00030.txt.bz2 > Date: Fri, 16 Dec 2011 22:21:24 +0800 > From: asmwarrior > > ../../gdb/gdb/windows-nat.c: In function 'init_windows_ops': > ../../gdb/gdb/windows-nat.c:2517:26: error: 'cygwin_get_dr' undeclared (first us > e in this function) > ../../gdb/gdb/windows-nat.c:2517:26: note: each undeclared identifier is reporte > d only once for each function it appears in > ../../gdb/gdb/windows-nat.c:2519:29: error: 'cygwin_get_dr7' undeclared (first u > se in this function) > cc1.exe: warnings being treated as errors > ../../gdb/gdb/windows-nat.c: At top level: > ../../gdb/gdb/windows-nat.c:2654:1: error: 'cygwin_get_dr' defined but not used > ../../gdb/gdb/windows-nat.c:2673:1: error: 'cygwin_get_dr7' defined but not used > [...] > any ideas? An idea: actually implement cygwin_set_dr7 ;-) As for cygwin_get_dr, add a prototype before the first use.