* config/i386/darwin.h (DBX_REGISTER_NUMBER): Define.

From-SVN: r110865
This commit is contained in:
Geoffrey Keating 2006-02-11 00:31:04 +00:00 committed by Geoffrey Keating
parent 01df94d426
commit 7405f03c5e
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,7 @@
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

View File

@ -152,3 +152,13 @@ extern void darwin_x86_file_end (void);
} \
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])