aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2015-10-09 10:12:22 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2015-10-09 10:12:22 -0400
commitc5bcd27856f388ae4935b525b1016e812803ddf5 (patch)
tree35f5019b6b5c751b10aa829eb06fa9ff3a2f01b5
parent78c5b882482b5435bb2dcf1c09a52683d54cb81e (diff)
downloadgdb-c5bcd27856f388ae4935b525b1016e812803ddf5.zip
gdb-c5bcd27856f388ae4935b525b1016e812803ddf5.tar.gz
gdb-c5bcd27856f388ae4935b525b1016e812803ddf5.tar.bz2
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.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/i386-tdep.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2a70bc1..fe97229 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
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
byte_order to enum bfd_endian.
diff --git a/gdb/i386-tdep.h b/gdb/i386-tdep.h
index 7880f6c..95288ba 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;