From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10067 invoked by alias); 12 Dec 2004 18:17:33 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 9962 invoked from network); 12 Dec 2004 18:17:28 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 12 Dec 2004 18:17:28 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iBCIHNG9012836 for ; Sun, 12 Dec 2004 13:17:28 -0500 Received: from localhost.redhat.com (vpn50-50.rdu.redhat.com [172.16.50.50]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iBCIHMr25764; Sun, 12 Dec 2004 13:17:22 -0500 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 293EB3EF9; Sun, 12 Dec 2004 13:15:18 -0500 (EST) Message-ID: <41BC8AB5.1080601@gnu.org> Date: Sun, 12 Dec 2004 18:18:00 -0000 From: Andrew Cagney User-Agent: Mozilla Thunderbird 0.8 (X11/20041020) MIME-Version: 1.0 To: Hans-Peter Nilsson Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA:] sim --sysroot=... option. References: <200412071731.iB7HVFHQ006257@ignucius.se.axis.com> In-Reply-To: <200412071731.iB7HVFHQ006257@ignucius.se.axis.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-12/txt/msg00339.txt.bz2 Hans-Peter Nilsson wrote: >>Date: Mon, 6 Dec 2004 17:54:12 +0100 >>From: Hans-Peter Nilsson > > >> * nrun.c (main): If simulator_sysroot is not empty, chdir there. >> * run.c (main): Ditto. > > > After doing a test-build of all buildable simulators in CVS, > (covered by arm-elf frv-elf h8300-elf m32r-elf m68hc11-elf > mcore-elf mips-elf mn10300-elf powerpc-elf v850-elf), I'd like > to retract the run.c part, which is just for an obsolete > interface, and doesn't include sim-config.h (or apparently the > option handler or the other bits from sim/common). For the moment skip testing on mcore, v850 h8300, and mn10300. The corresponding GDB parts are in pieces on the floor (I note that people are trying to re-assemble the h8300 and mn10300). > I'd also like to like to replace the nrun.c patch with one that > also includes unistd.h to get the chdir prototype (else there's > a compilation warning, but only for *some* simulators; > presumable target header files include unistd.h in some cases). > Sorry for the extra reading. > > * nrun.c [HAVE_UNISTD_H]: Include unistd.h. > (main): If simulator_sysroot is not empty, chdir there. Otherwize, all ok. Andrew PS: You wouldn't be interested in writing a simulator section of the GDB manual? :-)