diff options
author | Yao Qi <yao.qi@linaro.org> | 2015-11-19 13:58:29 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2015-11-19 14:01:03 +0000 |
commit | 6a69a054f7581d16d4f65f80c45b92176311e1ef (patch) | |
tree | 64776f04b9f34f5842772e76caa180ea5330eaa4 /gdb/m32c-tdep.c | |
parent | d47b13e0e2286ef9e9444292bc5631f43cf226da (diff) | |
download | binutils-6a69a054f7581d16d4f65f80c45b92176311e1ef.zip binutils-6a69a054f7581d16d4f65f80c45b92176311e1ef.tar.gz binutils-6a69a054f7581d16d4f65f80c45b92176311e1ef.tar.bz2 |
Cast void * to struct user_pt_regs *
This patch fixes the following GDBserver build errors in C++.
gdb/gdbserver/linux-aarch64-low.c:108:33: error: invalid conversion from 'void*' to 'user_pt_regs*' [-fpermissive]
struct user_pt_regs *regset = buf;
^
gdb/gdbserver/linux-aarch64-low.c: In function 'void aarch64_store_gregset(regcache*, const void*)':
gdb/gdbserver/linux-aarch64-low.c:121:39: error: invalid conversion from 'const void*' to 'const user_pt_regs*' [-fpermissive]
const struct user_pt_regs *regset = buf;
gdb/gdbserver:
2015-11-19 Yao Qi <yao.qi@linaro.org>
* linux-aarch64-low.c (aarch64_fill_gregset): Cast buf to
struct user_pt_regs *.
(aarch64_store_gregset): Likewise.
Diffstat (limited to 'gdb/m32c-tdep.c')
0 files changed, 0 insertions, 0 deletions