This is the mail archive of the gdb@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: Definition of PT_TEXT_ADDR and friends.


On Wed, Mar 21, 2007 at 08:14:12AM +0100, Josef Wolf wrote:
> At least for uClinux, ptrace() is hardwired to the same values as in
> linux-low.c.

For all architectures, really?  I'm surprised.

> So probably the comment is right and the defined should
> be moved into uClinux's uc0-patch.  But I don't see why the dependency
> on uclibc define.

uClibc or the kernel.  It's not GDB's business to keep track of that.

> > (I know the __UCLIBC_HAS_MMU__ is out of date - I'm going to fix that
> > today)
> 
> Hmmm, what's the correct way to find out whether the cpu has mmu without
> uclibc?  How does uclibc find out?

You configure it :-)  But they've renamed the configuration macro
recently.

-- 
Daniel Jacobowitz
CodeSourcery


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