[patch] Do not allow level 1 multi-arch target macros

Andrew Cagney ac131313@cygnus.com
Sun Feb 10 09:23:00 GMT 2002


Hello,

(this is the biggie)

This patch changes gdbarch.h so that, for multi-arch methods required at 
level 1, a compile error occures if the target (tm.h) defines them.  It 
also documents the rationale.

Previously their initialization in the multi-arch vector was required 
yet the target (tm.h) could happily and silently override them :-(

I've checked that all targets listed in the maintainers file still 
build/start.  However, there are likely to be obscure targets I've not 
tried :-(  Take care.

enjoy,
Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20020210/81f033e2/attachment.ksh>


More information about the Gdb-patches mailing list