[debugserver] Fix more compiler warnings on arm64
authorJonas Devlieghere <jonas@devlieghere.com>
Thu, 4 Mar 2021 07:09:58 +0000 (23:09 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Thu, 4 Mar 2021 07:12:12 +0000 (23:12 -0800)
commit3dcbfa27d432e3fddb61c5ad32534ce2bc1836e1
tree2f61d88a591e04c9b1c455d48b0afa157b90feb4
parentc793f68d9b62e9813f17d438be5edd23f348b4b9
[debugserver] Fix more compiler warnings on arm64

This fixes the following two warnings in code that's only compiled on
arm64:

 - warning: cast from 'const void *' to 'unsigned char *' drops const
   qualifier [-Wcast-qual]
 - warning: embedding a directive within macro arguments has undefined
   behavior [-Wembedded-directive]
lldb/tools/debugserver/source/MacOSX/arm/DNBArchImpl.cpp
lldb/tools/debugserver/source/MacOSX/arm64/DNBArchImplARM64.cpp