i386: Fix type of gdbarch_tdep::register_reggroup_p
authorSimon Marchi <simon.marchi@ericsson.com>
Fri, 9 Oct 2015 14:12:22 +0000 (10:12 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Fri, 9 Oct 2015 14:12:22 +0000 (10:12 -0400)
gdb/ChangeLog:

* i386-tdep.h (struct gdbarch_tdep): Change type of
register_reggroup_p to gdbarch_register_reggroup_p_ftype.

gdb/ChangeLog
gdb/i386-tdep.h

index 2a70bc1e9d517b5e2c39bcce7f9023cbbfe5f7b3..fe972296e999ef65ddaa889c81b9b0779a173cc4 100644 (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>
 
        * cris-tdep.c (struct instruction_environment): Change type of
index 7880f6ca5942aea303b4546ea45651ad9e4c714a..95288baa1a1f4d90c8bc7e715842d0a3d56fb4e4 100644 (file)
@@ -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;