From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27253 invoked by alias); 11 May 2006 13:08:14 -0000 Received: (qmail 27243 invoked by uid 22791); 11 May 2006 13:08:11 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 11 May 2006 13:07:39 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FeAtF-00013Y-5J; Thu, 11 May 2006 09:07:37 -0400 Date: Thu, 11 May 2006 13:08:00 -0000 From: Daniel Jacobowitz To: Fred Fish Cc: gdb-patches@sourceware.org Subject: Re: [RFA] Don't try to run auxv tests in simulator Message-ID: <20060511130737.GA4027@nevyn.them.org> Mail-Followup-To: Fred Fish , gdb-patches@sourceware.org References: <200605110545.35426.fnf@specifix.com> <20060511124149.GB3086@nevyn.them.org> <200605110906.15126.fnf@specifix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200605110906.15126.fnf@specifix.com> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00216.txt.bz2 On Thu, May 11, 2006 at 09:06:15AM -0400, Fred Fish wrote: > On Thursday 11 May 2006 08:41, Daniel Jacobowitz wrote: > > > > Simulatorness has nothing to do with it, though. Does anyone know if > > the BSDs use auxv, or is it entirely a GNU/Linux + Solaris thing? > > So a program running in the builtin gdb simulator under GNU/Linux should > be able to support aux info? I admit to not looking too close at how > the aux info support is implemented, but I do seem to recall it had > something to do with opening /proc//auxv. That has nothing to do with it either. That's host, not target. A GNU/Linux targetted GDB either doesn't have a simulator, or else has a simulator which is expected to simulate GNU/Linux features - including this one. The /proc interface is encapsulated in the native target, it wouldn't be used for a sim. -- Daniel Jacobowitz CodeSourcery