From 933522d1dbc9162fbc69453f0ab5f72998df2955 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Mon, 12 Mar 2018 09:15:39 +0000 Subject: Fix ia64 GDB build Commit 849d0ba8 breaks GDB build for ia64 with --with-libunwind-ia64=yes. This patch fixes it. gdb: 2018-03-12 Yao Qi * 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. --- gdb/ia64-libunwind-tdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/ia64-libunwind-tdep.c') diff --git a/gdb/ia64-libunwind-tdep.c b/gdb/ia64-libunwind-tdep.c index 3ac613c..99782b2 100644 --- a/gdb/ia64-libunwind-tdep.c +++ b/gdb/ia64-libunwind-tdep.c @@ -452,7 +452,7 @@ libunwind_sigtramp_frame_sniffer (const struct frame_unwind *self, 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; -- cgit v1.1