X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Famd64-linux-tdep.h;h=b99872bba7bfafc63aa45f713605b64011be4851;hb=06e700d6a22b1fef818370066f589867a1715374;hp=e0e713513171f5e624a3e266aad6b0fe300a7bfa;hpb=13b6d1d459210ab9ad250fc24df977bb1b178a3a;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/amd64-linux-tdep.h b/gdb/amd64-linux-tdep.h index e0e7135131..b99872bba7 100644 --- a/gdb/amd64-linux-tdep.h +++ b/gdb/amd64-linux-tdep.h @@ -1,6 +1,6 @@ /* Target-dependent code for GNU/Linux AMD64. - Copyright (C) 2006, 2007, 2008, 2009 Free Software Foundation, Inc. + Copyright (C) 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of GDB. @@ -26,11 +26,15 @@ /* Register number for the "orig_rax" register. If this register contains a value >= 0 it is interpreted as the system call number that the kernel is supposed to restart. */ -#define AMD64_LINUX_ORIG_RAX_REGNUM (AMD64_MXCSR_REGNUM + 1) +#define AMD64_LINUX_ORIG_RAX_REGNUM (AMD64_YMM15H_REGNUM + 1) /* Total number of registers for GNU/Linux. */ #define AMD64_LINUX_NUM_REGS (AMD64_LINUX_ORIG_RAX_REGNUM + 1) +/* Linux target description. */ +extern struct target_desc *tdesc_amd64_linux; +extern struct target_desc *tdesc_amd64_avx_linux; + /* Enum that defines the syscall identifiers for amd64 linux. Used for process record/replay, these will be translated into a gdb-canonical set of syscall ids in linux-record.c. */