X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Famd64-nat.c;h=eb54b49b5b20340c540bfb1b3a6cee51cd82a676;hb=cf950fd4dd4581849a445a76b57514d72074927d;hp=1c02d35f2d789b431cfd859c202bc2d44dab4750;hpb=d55e5aa6b29906346c51ad00e6a9b112590aa294;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/amd64-nat.c b/gdb/amd64-nat.c index 1c02d35f2d..eb54b49b5b 100644 --- a/gdb/amd64-nat.c +++ b/gdb/amd64-nat.c @@ -18,24 +18,23 @@ along with this program. If not, see . */ #include "defs.h" - -/* Local non-gdb includes. */ -#include "amd64-nat.h" -#include "amd64-tdep.h" #include "gdbarch.h" -#include "i386-tdep.h" #include "regcache.h" +#include "i386-tdep.h" +#include "amd64-tdep.h" +#include "amd64-nat.h" + /* The following bits of code help with implementing debugging 32-bit code natively on AMD64. The idea is to define two mappings between the register number as used by GDB and the register set used by the host to represent the general-purpose registers; one for 32-bit code and one for 64-bit code. The mappings are specified by the - follwing variables and consist of an array of offsets within the + following variables and consist of an array of offsets within the register set indexed by register number, and the number of registers supported by the mapping. We don't need mappings for the floating-point and SSE registers, since the difference between - 64-bit and 32-bit variants are negligable. The difference in the + 64-bit and 32-bit variants are negligible. The difference in the number of SSE registers is already handled by the target code. */ /* General-purpose register mapping for native 32-bit code. */