Replace constant values 8 to 15 by AMD64_R8_REGNUM to
authorPierre Muller <muller@sourceware.org>
Thu, 26 Sep 2013 07:00:00 +0000 (07:00 +0000)
committerPierre Muller <muller@sourceware.org>
Thu, 26 Sep 2013 07:00:00 +0000 (07:00 +0000)
commit5b856f360b037357d147f20b7c20d3d463692b18
treebe03b5ce1e612f80d125cd1ac2594d4eecb352e8
parentd3e819815acd7b1b075bc0c7029dc07dd935f3d2
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.
gdb/ChangeLog
gdb/amd64-tdep.c
gdb/amd64-windows-tdep.c