aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386/i386elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/i386/i386elf.h')
-rw-r--r--gcc/config/i386/i386elf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/i386/i386elf.h b/gcc/config/i386/i386elf.h
index 904446a..730761f 100644
--- a/gcc/config/i386/i386elf.h
+++ b/gcc/config/i386/i386elf.h
@@ -112,7 +112,8 @@ do { long value[3]; \
} while (0)
#undef DBX_REGISTER_NUMBER
-#define DBX_REGISTER_NUMBER(n) svr4_dbx_register_map[n]
+#define DBX_REGISTER_NUMBER(n) \
+ (TARGET_64BIT ? dbx64_register_map[n] : svr4_dbx_register_map[n])
/* The routine used to output sequences of byte values. We use a special
version of this for most svr4 targets because doing so makes the