Definition of PT_TEXT_ADDR and friends.

Daniel Jacobowitz drow@false.org
Wed Mar 21 11:17:00 GMT 2007


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



More information about the Gdb mailing list