X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fi386-tdep.h;h=49dcce048d1381e9239d4bc47fc87feb18c75ac6;hb=ac775bf4d35b7a2d5715e0ccf3d648d4670213fd;hp=90f400774125d6b59e6a9574f7fac40b17db162e;hpb=490496c342237f3fa2dd92adfe9e34516991f451;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/i386-tdep.h b/gdb/i386-tdep.h index 90f4007741..49dcce048d 100644 --- a/gdb/i386-tdep.h +++ b/gdb/i386-tdep.h @@ -1,6 +1,6 @@ /* Target-dependent code for the i386. - Copyright (C) 2001-2014 Free Software Foundation, Inc. + Copyright (C) 2001-2016 Free Software Foundation, Inc. This file is part of GDB. @@ -193,7 +193,7 @@ struct gdbarch_tdep const struct target_desc *tdesc; /* Register group function. */ - const void *register_reggroup_p; + gdbarch_register_reggroup_p_ftype *register_reggroup_p; /* Offset of saved PC in jmp_buf. */ int jb_pc_offset; @@ -328,6 +328,8 @@ enum record_i386_regnum /* Size of the largest register. */ #define I386_MAX_REGISTER_SIZE 64 +extern struct target_desc *tdesc_i386; + /* Types for i386-specific registers. */ extern struct type *i387_ext_type (struct gdbarch *gdbarch); @@ -358,6 +360,10 @@ extern void i386_pseudo_register_write (struct gdbarch *gdbarch, struct regcache *regcache, int regnum, const gdb_byte *buf); +extern int i386_ax_pseudo_register_collect (struct gdbarch *gdbarch, + struct agent_expr *ax, + int regnum); + /* Segment selectors. */ #define I386_SEL_RPL 0x0003 /* Requester's Privilege Level mask. */ #define I386_SEL_UPL 0x0003 /* User Privilige Level. */ @@ -416,7 +422,10 @@ extern void i386_svr4_init_abi (struct gdbarch_info, struct gdbarch *); extern int i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache, CORE_ADDR addr); +extern const struct target_desc *i386_target_description (uint64_t xcr0); +/* Return true iff the current target is MPX enabled. */ +extern int i386_mpx_enabled (void); /* Functions and variables exported from i386bsd-tdep.c. */