Re: Definition of PT_TEXT_ADDR and friends.

Daniel Jacobowitz
2007-03-21T11:17:11Z

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.