This is the mail archive of the gdb-patches@sources.redhat.com 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: [PATCH] IBM6000_TARGET is wrong for NetBSD/powerpc


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



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