From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16052 invoked by alias); 9 Jun 2011 05:19:21 -0000 Received: (qmail 16044 invoked by uid 22791); 9 Jun 2011 05:19:21 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,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; Thu, 09 Jun 2011 05:19:01 +0000 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id D27511B401A; Thu, 9 Jun 2011 05:19:00 +0000 (UTC) From: Mike Frysinger To: Joel Brobecker Subject: Re: [PATCH] gdb: sim: automatically pass down sysroot Date: Thu, 09 Jun 2011 05:19:00 -0000 User-Agent: KMail/1.13.7 (Linux/2.6.39; KDE/4.6.3; x86_64; ; ) Cc: gdb-patches@sourceware.org, toolchain-devel@blackfin.uclinux.org References: <1306440200-25087-1-git-send-email-vapier@gentoo.org> <20110608164939.GA14178@adacore.com> In-Reply-To: <20110608164939.GA14178@adacore.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2021456.XTR804x1uN"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201106090107.44953.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: 2011-06/txt/msg00120.txt.bz2 --nextPart2021456.XTR804x1uN Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-length: 657 here's the fix for erc32. ok to commit ? (style is god awful, but seems the whole erc32 code base is buggered and i'= m=20 not about to try and fix that) -mike --- sim/erc32/interf.c 1 Jun 2011 17:35:02 -0000 1.10 +++ sim/erc32/interf.c 9 Jun 2011 05:03:32 -0000 @@ -234,6 +234,9 @@ sim_open (kind, callback, abfd, argv) if ((stat + 1) < argc) { freq =3D strtol(argv[++stat], (char **)NULL, 0); } + } else + if (strncmp(argv[stat], "--sysroot=3D", sizeof("--sysroot=3D")) =3D= =3D 0) { + /* Ignore until we start to support this. */ } else { (*sim_callback->printf_filtered) (sim_callback, "unknown option %s\n", --nextPart2021456.XTR804x1uN 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) iQIcBAABAgAGBQJN8FUgAAoJEEFjO5/oN/WB2+kP/jsj4YcKiIn949iJubW5aDGI hskXVeDdVbkoJc2ueR1j5hSdFke81KLNFOjvoNj+ThSq2PxvVlYI07neezgodJXG 8MkU8AV4h1K60v1iVsusqazOJf5Kgf+5As5j6OMxameWNBL91rQRN60MJfJtDG1g eFAPtAkHsGusVQV89pxu/77pf7R+IU40lTrHoyESxpVZqaqj3OzeMGupCFvagfja QHYABT7+pmfrWi794mO8yLHCANgkxgJWaZKHV5uPop7CNSweyOmRna1VV9TjqO2N jL/OstHnIlNZl5hhR6pHGQRYeYCluArqN1WfPd9TXK2kUHBlkg02yMZWFveofd4V KE4diA3KpWyIMBaidl8lewYOopUtG+7mAjuaRKODEAD4CObLvxzZ/Ig0Slq4Md4Q A5zsWBL4DNrIoLNfGmY8iPus0ge1DfWOHQn21xMIGkfDxZzw4fsD2F8IAu084vgE s7bI9CgijKW3uukJ2veoFHyltKrt9q1uREvlVEJJmojgcxV3ksISAk3o3ezV4Nrr TaHDvhInPJhvKpOEau2oyfDzWOK0aLhpbqxqJL/RzBs6OV2HMTJ5o+UNrOXp3I79 3xKQxnJkexdtDGqspiJZi+rl3K+1MsLjopDMCZJxYFd2TGCdivQrbJcaDWvwTnCx pdxCIzztCPBBUyBcnTIQ =LXke -----END PGP SIGNATURE----- --nextPart2021456.XTR804x1uN--