diff options
author | Yao Qi <yao.qi@linaro.org> | 2018-03-12 09:15:39 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2018-03-12 09:15:39 +0000 |
commit | 933522d1dbc9162fbc69453f0ab5f72998df2955 (patch) | |
tree | 8fc155dc9420c2fea7362978732367f49b080830 /gdb/ia64-libunwind-tdep.h | |
parent | be2daae6b8df45f3f6de5d94a1938cef54336a72 (diff) | |
download | gdb-933522d1dbc9162fbc69453f0ab5f72998df2955.zip gdb-933522d1dbc9162fbc69453f0ab5f72998df2955.tar.gz gdb-933522d1dbc9162fbc69453f0ab5f72998df2955.tar.bz2 |
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 <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.
Diffstat (limited to 'gdb/ia64-libunwind-tdep.h')
-rw-r--r-- | gdb/ia64-libunwind-tdep.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ia64-libunwind-tdep.h b/gdb/ia64-libunwind-tdep.h index 5ac3a28..dc7ec9c 100644 --- a/gdb/ia64-libunwind-tdep.h +++ b/gdb/ia64-libunwind-tdep.h @@ -71,7 +71,7 @@ unw_word_t libunwind_find_dyn_list (unw_addr_space_t, unw_dyn_info_t *, void *); int libunwind_get_reg_special (struct gdbarch *gdbarch, - struct regcache *regcache, + readable_regcache *regcache, int regnum, void *buf); #endif /* IA64_LIBUNWIND_TDEP_H */ |