From c5bcd27856f388ae4935b525b1016e812803ddf5 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Fri, 9 Oct 2015 10:12:22 -0400 Subject: [PATCH] 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. --- gdb/ChangeLog | 5 +++++ gdb/i386-tdep.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2a70bc1e9d5..fe972296e99 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2015-10-09 Simon Marchi + + * i386-tdep.h (struct gdbarch_tdep): Change type of + register_reggroup_p to gdbarch_register_reggroup_p_ftype. + 2015-10-09 Simon Marchi * cris-tdep.c (struct instruction_environment): Change type of diff --git a/gdb/i386-tdep.h b/gdb/i386-tdep.h index 7880f6ca594..95288baa1a1 100644 --- a/gdb/i386-tdep.h +++ b/gdb/i386-tdep.h @@ -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; -- 2.30.2