X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Farm-linux-tdep.h;h=2fc6cad87291c85f88dd42200c9c54220d92b758;hb=9f1b45b0da430a7a7abf9e54acbe6f2ef9d3a763;hp=5b94314d6c56c0ddcbdba4825cf46d1dafb9f41a;hpb=b39cc96258b1a5fb23014fb3712f24a7578e1070;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/arm-linux-tdep.h b/gdb/arm-linux-tdep.h index 5b94314d6c..2fc6cad872 100644 --- a/gdb/arm-linux-tdep.h +++ b/gdb/arm-linux-tdep.h @@ -1,6 +1,6 @@ /* GNU/Linux on ARM target support, prototypes. - Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc. + Copyright (C) 2006-2014 Free Software Foundation, Inc. This file is part of GDB. @@ -24,6 +24,9 @@ struct regcache; + 2 * INT_REGISTER_SIZE \ + 8 + INT_REGISTER_SIZE) +/* The index to access CSPR in user_regs defined in GLIBC. */ +#define ARM_CPSR_GREGNUM 16 + /* Support for register format used by the NWFPE FPA emulator. Each register takes three words, where either the first one, two, or three hold a single, double, or extended precision value (depending @@ -55,3 +58,12 @@ void arm_linux_supply_nwfpe (const struct regset *regset, void arm_linux_collect_nwfpe (const struct regset *regset, const struct regcache *regcache, int regnum, void *regs_buf, size_t len); + +/* ARM GNU/Linux HWCAP values. These are in defined in + in current kernels. */ +#define HWCAP_VFP 64 +#define HWCAP_IWMMXT 512 +#define HWCAP_NEON 4096 +#define HWCAP_VFPv3 8192 +#define HWCAP_VFPv3D16 16384 +