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: gdbserver: should use __ARCH_HAS_MMU__ rather than__UCLIBC_HAS_MMU__


Michael Snyder wrote:
> On Tue, 2007-03-06 at 23:21 -0500, Jon Ringle wrote:
> > +#if !(defined(__UCLIBC_HAS_MMU__) || defined(__ARCH_HAS_MMU__))
> 
> Shouldn't it be !defined(__ARCH_HAS_MMU__)?
> 

What I have there is correct. Look carefully that the ! and the outer
parenthesis I have. I could have also written it as:

	#if !defined(__UCLIBC_HAS_MMU__) && !defined(__ARCH_HAS_MMU__)

But what I have works too.

> 
> And please remove the change below -- I'm sure it has
> nothing to do with the one above.

Yes. That was not intended to be there.

Jon


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