Re: [PATCH] IBM6000_TARGET is wrong for NetBSD/powerpc

Andrew Cagney
2003-08-28T16:44:27Z

> I agree, but we're talking about a simple bug-fix for an existing target, where the multi-arch-correct solution is not all that clear, because...
>
> - re-arange tm-rs6000.h so that the define wasn't needed
> - move the define to nm-rs6000.h (sick but effective :-)
>
> ...it's an MI part of the debugger that is testing the define. How would you suggest modifying tm-rs6000.h to deal with this?

Create an aix specific tm-rs6000.h, move the define to there and then
kill the #undef's. Given that this macro will be deleted rather than
multi-arched, moving [burrying] it to nm-rs6000.h (and zapping the
#undefine is easier).

Andrew