This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Don't try to run auxv tests in simulator


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/<pid>/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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]