Commit
849d0ba8 breaks GDB build for ia64 with --with-libunwind-ia64=yes.
This patch fixes it.
gdb:
2018-03-12 Yao Qi <yao.qi@linaro.org>
* ia64-libunwind-tdep.c (libunwind_get_reg_special): Change
parameter type to readable_regcache.
* ia64-libunwind-tdep.h (libunwind_get_reg_special): Update
the declaration.
+2018-03-12 Yao Qi <yao.qi@linaro.org>
+
+ * ia64-libunwind-tdep.c (libunwind_get_reg_special): Change
+ parameter type to readable_regcache.
+ * ia64-libunwind-tdep.h (libunwind_get_reg_special): Update
+ the declaration.
+
2018-03-11 Tom Tromey <tom@tromey.com>
* dwarf2read.c (struct nextfield): Add initializers.
are usually located at BOF, this is not always true and only the libunwind
info can decipher where they actually are. */
int
-libunwind_get_reg_special (struct gdbarch *gdbarch, struct regcache *regcache,
+libunwind_get_reg_special (struct gdbarch *gdbarch, readable_regcache *regcache,
int regnum, void *buf)
{
unw_cursor_t cursor;
void *);
int libunwind_get_reg_special (struct gdbarch *gdbarch,
- struct regcache *regcache,
+ readable_regcache *regcache,
int regnum, void *buf);
#endif /* IA64_LIBUNWIND_TDEP_H */