summaryrefslogtreecommitdiff
path: root/gdb/amd64-windows-tdep.c
diff options
context:
space:
mode:
authorPierre Muller <muller@ics.u-strasbg.fr>2013-09-26 07:00:00 +0000
committerPierre Muller <muller@ics.u-strasbg.fr>2013-09-26 07:00:00 +0000
commit079a0e43a24ef0f4490aea722599e632bd955182 (patch)
tree3f29d3e7e35fe6382af7c9892ab32fe8ad0f14a7 /gdb/amd64-windows-tdep.c
parent224b06cf27d937a9174017bc49f8dc3d033f237e (diff)
downloadgdb-079a0e43a24ef0f4490aea722599e632bd955182.tar.gz
Replace constant values 8 to 15 by AMD64_R8_REGNUM to
AMD64_R15_REGNUM when a register index is expected. * amd64-windows-tdep.c (amd64_windows_dummy_call_integer_regs): Substitute in array. * amd64-tdep.c (amd64_dwarf_regmap): Ditto. (amd64_push_arguments): Substitute in integer_regnum array.
Diffstat (limited to 'gdb/amd64-windows-tdep.c')
-rw-r--r--gdb/amd64-windows-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/amd64-windows-tdep.c b/gdb/amd64-windows-tdep.c
index c09262a831b..a75d6bafcf3 100644
--- a/gdb/amd64-windows-tdep.c
+++ b/gdb/amd64-windows-tdep.c
@@ -38,8 +38,8 @@ static int amd64_windows_dummy_call_integer_regs[] =
{
AMD64_RCX_REGNUM, /* %rcx */
AMD64_RDX_REGNUM, /* %rdx */
- 8, /* %r8 */
- 9 /* %r9 */
+ AMD64_R8_REGNUM, /* %r8 */
+ AMD64_R9_REGNUM /* %r9 */
};
/* Return nonzero if an argument of type TYPE should be passed