From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19337 invoked by alias); 17 Jun 2012 23:34:00 -0000 Received: (qmail 19327 invoked by uid 22791); 17 Jun 2012 23:34:00 -0000 X-SWARE-Spam-Status: No, hits=-8.5 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 17 Jun 2012 23:33:47 +0000 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 9F7541B4002; Sun, 17 Jun 2012 23:33:46 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: Re: build error for mn10300-elf sim with your recent commit Date: Sun, 17 Jun 2012 23:34:00 -0000 User-Agent: KMail/1.13.7 (Linux/3.4.0; KDE/4.6.5; x86_64; ; ) Cc: Pedro Alves , Joel Brobecker , "Hans-Peter Nilsson" References: <201206151846.q5FIkL3Z026410@ignucius.se.axis.com> <4FDBA5BC.8030300@redhat.com> <201206160055.51737.vapier@gentoo.org> In-Reply-To: <201206160055.51737.vapier@gentoo.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2414954.gs1suLuMi0"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201206171933.48621.vapier@gentoo.org> 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-06/txt/msg00563.txt.bz2 --nextPart2414954.gs1suLuMi0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-length: 1356 On Saturday 16 June 2012 00:55:49 Mike Frysinger wrote: > i vote for deleting all sysdep.h inclusions where the port doesn't have a > local sysdep.h. i've committed this to fix moxie build: 2012-06-17 Mike Frysinger * interp.c: Include config.h first. Also include fcntl.h directly. --- moxie/interp.c 4 Jan 2012 08:28:21 -0000 1.13 +++ moxie/interp.c 17 Jun 2012 23:32:46 -0000 @@ -17,6 +17,8 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program. If not, see . */ =20 +#include "config.h" +#include #include #include #include "sysdep.h" then i did this for fun: 2012-06-17 Mike Frysinger * interp.c: Include config.h first. Also include stdlib.h and string.h so we can drop the sysdep.h include. --- cr16/interp.c 24 May 2012 16:51:41 -0000 1.9 +++ cr16/interp.c 17 Jun 2012 23:29:35 -0000 @@ -17,8 +17,10 @@ You should have received a copy of the GNU General Public License=20 along with this program. If not, see . */ =20 +#include "config.h" #include -#include "sysdep.h" +#include +#include #include "bfd.h" #include "gdb/callback.h" #include "gdb/remote-sim.h" -mike --nextPart2414954.gs1suLuMi0 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-length: 836 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJP3mlcAAoJEEFjO5/oN/WBi+oP/AsJyix/HGoTRM6C8QQsAiUO hX9zCMiwINLWajljL1Oy2UPzSIfLlttXLCPQ5yqoT3NaFLsBbFxepHBSDwyU9fWK MdmDW1mZs8L5EzGIhSrvUeVvMQEKlqOdY0/awILC8MsnqjimDZHgWZphF4XHcDjD g1YweY8++cRgSUTe4pbndR2OMUqVMOmL725dCLQNKV9f1VK8bjm9sWRbEXxjBO3Y xBDZ4OYDL/iVaLrfyr41OAAlEjBrzKl/3qr8b/Wj44wGymcrF0SjsNDiwDSbvWr9 Opa0wbuUpE9Cet4+a3nikOd2z1OY+JoxzfMjcr83qCKHPN7yh1UsBmpQAcnMS3dg eIK2aRDGXr1XiYzJ4Q0gxVPZSA18QMpspZLgMm+7Hz9wIjGb3y5rS7Hv7LZZ84ry ia6tPg3Jr2WKSZ8kh7+InGzmR5XRRt/EtxqMJPE6LZL9p2oyeB29UVIGXgMOu6ZL CwSn6pr6rSdUksFBfxpQiJog+sLGpxkeMzVILJyzRhTgc2oYv/oZZ4rEWHVx0emh KDTdx/aeLXwgeeOyojO4ZQzAnH00PQM3qKtWh0NDLmBotiSH0VFp9+uOAptDc7kA BDimDDbKBvelkyuOu1x0U39Pt42wX0QKa44o9sPA1Z5s1+3ZuEX/jx6uZp3r7X7t 5H4jeUOq0VPbTaLyooZS =4kW0 -----END PGP SIGNATURE----- --nextPart2414954.gs1suLuMi0--