From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1214 invoked by alias); 11 Mar 2012 15:14:09 -0000 Received: (qmail 1205 invoked by uid 22791); 11 Mar 2012 15:14:08 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.fgznet.ch (HELO smtp.fgznet.ch) (81.92.96.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 11 Mar 2012 15:13:54 +0000 Received: from deuterium.andreas.nets (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id q2BFDlFc093456 for ; Sun, 11 Mar 2012 16:13:51 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <4F5CC12B.8080707@fgznet.ch> Date: Sun, 11 Mar 2012 15:14:00 -0000 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: gdb-patches@sourceware.org Subject: [patch] fix amd64bsd-nat.c compilation Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2012-03/txt/msg00378.txt.bz2 Hi, the below fixes these warnings: /export/devel/src/gdb/head/src/gdb/amd64bsd-nat.c:170: warning: no previous prototype for 'amd64bsd_dr_set_control' /export/devel/src/gdb/head/src/gdb/amd64bsd-nat.c:176: warning: no previous prototype for 'amd64bsd_dr_set_addr' /export/devel/src/gdb/head/src/gdb/amd64bsd-nat.c:184: warning: no previous prototype for 'amd64bsd_dr_get_addr' /export/devel/src/gdb/head/src/gdb/amd64bsd-nat.c:190: warning: no previous prototype for 'amd64bsd_dr_get_status' /export/devel/src/gdb/head/src/gdb/amd64bsd-nat.c:196: warning: no previous prototype for 'amd64bsd_dr_get_control' gmake[2]: *** [amd64bsd-nat.o] Error 1 Ok to commit? Thanks, Andreas 2012-03-11 Andreas Tobler * amd64bsd-nat.c: Include amd64bsd-nat.h Index: amd64bsd-nat.c =================================================================== RCS file: /cvs/src/src/gdb/amd64bsd-nat.c,v retrieving revision 1.20 diff -u -r1.20 amd64bsd-nat.c --- amd64bsd-nat.c 9 Feb 2012 16:06:44 -0000 1.20 +++ amd64bsd-nat.c 11 Mar 2012 15:05:23 -0000 @@ -31,6 +31,7 @@ #include #include "amd64-tdep.h" +#include "amd64bsd-nat.h" #include "amd64-nat.h" #include "inf-ptrace.h"