From cb93dc7f262978bafe36397a41a56e409a302042 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Mon, 24 Oct 2016 10:59:11 +0100 Subject: [GDBserver] Fix conversion warning I got the following warning if I build GDBserver for aarch64_be-linux-gnu, git/gdb/gdbserver/linux-aarch64-low.c:1539:39: error: invalid conversion from 'void*' to 'uint32_t* {aka unsigned int*}' [-fpermissive] uint32_t *le_buf = xmalloc (byte_len); ^ The patch is to fix the warning. gdb/gdbserver: 2016-10-24 Yao Qi PR server/20733 * linux-aarch64-low.c (append_insns): Cast the return value to 'uint32_t *'. --- gdb/gdbserver/ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gdb/gdbserver/ChangeLog') diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 1064fcf..437bb4c 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,9 @@ +2016-10-24 Yao Qi + + PR server/20733 + * linux-aarch64-low.c (append_insns): Cast the return value to + 'uint32_t *'. + 2016-10-10 Yao Qi * linux-aarch32-low.c (enum arm_breakpoint_kinds): Remove. -- cgit v1.1