From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15720 invoked by alias); 9 Jun 2011 05:19:09 -0000 Received: (qmail 15704 invoked by uid 22791); 9 Jun 2011 05:19:07 -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:18:52 +0000 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id F40CE1CC002; Thu, 9 Jun 2011 05:18:51 +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="nextPart1618920.VvU5MUfUkq"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201106090118.27668.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/msg00119.txt.bz2 --nextPart1618920.VvU5MUfUkq Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-length: 812 On Wednesday, June 08, 2011 12:49:39 Joel Brobecker wrote: > > 2011-05-26 Mike Frysinger > >=20 > > * remote-sim.c (gdbsim_open): Add the strlen of " --sysroot=3D" and > > gdb_sysroot to the "len" variable. Append both to "arg_buf". >=20 > It turns out that this is breaking some simulators, at least the ppc sim: with your ppc fix and my erc32 patch, i dont see any other sims failing these guys are using sim_args_command() and sim_parse_args() which handles = the=20 --sysroot so they should "just work" already: bfin cris frv iq2000 lm32 m32r m68hc11 mips mn10300 moxie sh64 v850 these guys appear to ignore all and/or unknown options: arm avr cr16 m32c mcore microblaze rx sh these guys are no longer in gdb, so doesnt matter: d10v so i think ive covered everyone ... -mike --nextPart1618920.VvU5MUfUkq 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) iQIcBAABAgAGBQJN8FejAAoJEEFjO5/oN/WBNiYP/368Uvg67sU1MybjbLRaFvXm DaoGzIJAESrjtFZrmITqfM5JL0mj+FjQHddNfL6omHLW/ErJw/Ia3YBtw/4kM0fK WaYpfKRzuNGCOUfdwS5bBihZZlh4wbuTDau2+nazD9aYR91eix2hnFhWG4q56Y1R 6P75qx/96rP8aOctTHf39NS+DdTchDUjfJjTgFtwoCG7IQ6bOdy2Sf6PcuHWD0JA bgutNUbxwou7WQafMY1mWQbAFHotTpGTXbbOdtjgckI7mkn/tRQdiGPc3SX07mW3 ndtydYCId9yOMdXK+qWasXbYIWd11nj12PzeWJ2GQklYHR6waCUfMSsSFkUKUM3Q 6y9k9udyEta4R3kgN0NSaq4eqr9qH0OcqvYF42F36nuMuUC4/pkDTKTMYMqgjkLU 8PtNT5JI+CznxUWD9WKPIikPObh5VfB8lLd+/f8BMPIrVg2L2xtG+TAOTHxHZDcH AHQ2zHzYedCPqdzrI2KH8SHSZDtQaz1UBO6O3Wi7zidGFUJCSLSDi0ZTApQsRk8c /0L0obb+OpFRwje5vUCN3ltBaKL/SdsWVKbhU7pGhZ8PlmVHezQbiQmXo2GUpui5 0fLe5iN1F4MFvPzAYNTux6Eojhq1s9GwU7h8cx7U7UPYA/YY3tw7WchSu4tA0XhR nMpok6sPvUlrYipMpAKX =HX7W -----END PGP SIGNATURE----- --nextPart1618920.VvU5MUfUkq--