i386: Fix type of gdbarch_tdep::register_reggroup_p

gdb/ChangeLog:

	* i386-tdep.h (struct gdbarch_tdep): Change type of
	register_reggroup_p to gdbarch_register_reggroup_p_ftype.
This commit is contained in:
Simon Marchi 2015-10-09 10:12:22 -04:00
parent 78c5b88248
commit c5bcd27856
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2015-10-09 Simon Marchi <simon.marchi@ericsson.com>
* i386-tdep.h (struct gdbarch_tdep): Change type of
register_reggroup_p to gdbarch_register_reggroup_p_ftype.
2015-10-09 Simon Marchi <simon.marchi@ericsson.com> 2015-10-09 Simon Marchi <simon.marchi@ericsson.com>
* cris-tdep.c (struct instruction_environment): Change type of * cris-tdep.c (struct instruction_environment): Change type of

View file

@ -193,7 +193,7 @@ struct gdbarch_tdep
const struct target_desc *tdesc; const struct target_desc *tdesc;
/* Register group function. */ /* Register group function. */
const void *register_reggroup_p; gdbarch_register_reggroup_p_ftype *register_reggroup_p;
/* Offset of saved PC in jmp_buf. */ /* Offset of saved PC in jmp_buf. */
int jb_pc_offset; int jb_pc_offset;