aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-06-18 13:14:40 +0000
committerAndrew Cagney <cagney@redhat.com>2001-06-18 13:14:40 +0000
commit83905903c9cd27834080c4d24b008c8a19055a83 (patch)
tree72c2bd398ac7590fc2a2892f9b0b07e5e458f362 /gdb/defs.h
parentb85045e00b6c4078feb46b9f98d31df5a98d3b54 (diff)
downloadgdb-83905903c9cd27834080c4d24b008c8a19055a83.zip
gdb-83905903c9cd27834080c4d24b008c8a19055a83.tar.gz
gdb-83905903c9cd27834080c4d24b008c8a19055a83.tar.bz2
* 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.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 03113d5..ff99e66 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -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