mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 01:28:46 +00:00
* i386-tdep.h (I386_MAX_REGISTER_SIZE): New define.
* i386-tdep.c (i386_do_pop_frame): Use I386_MAX_REGISTER_SIZE instead of MAX_REGISTER_RAW_SIZE. (i386_extract_return_value, i386_extract_struct_value_address): Convert to use regcache. (i386_gdbarch_init): Set max_register_raw_size and max_register_virtual_size to I386_MAX_REGISTER_SIZE. Set extract_return_value and extract_struct_value_address instead of their deprecated variants.
This commit is contained in:
@@ -157,6 +157,9 @@ struct gdbarch_tdep
|
||||
#define I386_SSE_SIZEOF_REGS (I386_SIZEOF_GREGS + I386_SIZEOF_FREGS \
|
||||
+ I386_SIZEOF_XREGS)
|
||||
|
||||
/* Size of the largest register. */
|
||||
#define I386_MAX_REGISTER_SIZE 16
|
||||
|
||||
/* Return the name of register REG. */
|
||||
extern char const *i386_register_name (int reg);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user