+2006-02-10 Geoffrey Keating <geoffk@apple.com>
+
+ * config/i386/darwin.h (DBX_REGISTER_NUMBER): Define.
+
2006-02-10 Diego Novillo <dnovillo@redhat.com>
* tree-inline.c (estimate_num_insns_1): Make OpenMP directives
} \
else fprintf (FILE, "\tcall mcount\n"); \
} while (0)
+
+/* Darwin uses the standard DWARF register numbers but the default
+ register numbers for STABS. Fortunately for 64-bit code the
+ default and the standard are the same. */
+#undef DBX_REGISTER_NUMBER
+#define DBX_REGISTER_NUMBER(n) (TARGET_64BIT \
+ ? dbx64_register_map[n] \
+ : write_symbols == DWARF2_DEBUG \
+ ? svr4_dbx_register_map[n] \
+ : dbx_register_map[n])