This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug server/20733] Failed to build aarch64_be-linux-gnu GDBserver


https://sourceware.org/bugzilla/show_bug.cgi?id=20733

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Yao Qi <qiyao@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cb93dc7f262978bafe36397a41a56e409a302042

commit cb93dc7f262978bafe36397a41a56e409a302042
Author: Yao Qi <yao.qi@linaro.org>
Date:   Mon Oct 24 10:59:11 2016 +0100

    [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  <yao.qi@linaro.org>

        PR server/20733
        * linux-aarch64-low.c (append_insns): Cast the return value to
        'uint32_t *'.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]