* gdbarch.sh: Generate an error when conflicting macro

definitions.  Generate an error when both pure multi-arch and
"tm.h".
* gdbarch.h, gdbarch.c: Regenerate.
* defs.h (GDB_MULTI_ARCH_TM): Rewrite definition.
This commit is contained in:
Andrew Cagney
2001-06-18 13:14:40 +00:00
parent b85045e00b
commit 83905903c9
4 changed files with 415 additions and 3 deletions

View File

@ -73,9 +73,12 @@
#define GDB_MULTI_ARCH_PARTIAL 1
/* The target is multi-arched. The MULTI-ARCH vector provides all
definitions. "tm.h" is included and may provide definitions of
non- multi-arch macros.. */
/* The target is partially multi-arched. Both the multi-arch vector
and "tm.h" provide definitions. "tm.h" cannot override a definition
provided by the multi-arch vector. It is detected as a compilation
error.
This setting is only useful during a multi-arch conversion. */
#define GDB_MULTI_ARCH_TM 2