summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
diff options
context:
space:
mode:
authorTodd Fiala <todd.fiala@gmail.com>2014-07-09 01:29:05 +0000
committerTodd Fiala <todd.fiala@gmail.com>2014-07-09 01:29:05 +0000
commit013434e547264f46db5a559b2fcdda5a791484ec (patch)
tree78dfc73d8343f5918821a0c97090f10650740f4d /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
parent52d760399c5fa4b5690fbd614ecc40460b8b6895 (diff)
downloadbcm5719-llvm-013434e547264f46db5a559b2fcdda5a791484ec.tar.gz
bcm5719-llvm-013434e547264f46db5a559b2fcdda5a791484ec.zip
__arm64__ and __aarch64__ #ifdef adjustments
Change by Paul Osmialowski See http://reviews.llvm.org/D4379 for details. llvm-svn: 212583
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
index a1708ee6838..719ba027519 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
@@ -1253,21 +1253,21 @@ GDBRemoteCommunicationServer::Handle_qHostInfo (StringExtractorGDBRemote &packet
}
#if defined(__APPLE__)
-#if defined(__arm__) || defined(__arm64__)
+#if defined(__arm__) || defined(__arm64__) || defined(__aarch64__)
// For iOS devices, we are connected through a USB Mux so we never pretend
// to actually have a hostname as far as the remote lldb that is connecting
// to this lldb-platform is concerned
response.PutCString ("hostname:");
response.PutCStringAsRawHex8("127.0.0.1");
response.PutChar(';');
-#else // #if defined(__arm__) || defined(__arm64__)
+#else // #if defined(__arm__) || defined(__arm64__) || defined(__aarch64__)
if (Host::GetHostname (s))
{
response.PutCString ("hostname:");
response.PutCStringAsRawHex8(s.c_str());
response.PutChar(';');
}
-#endif // #if defined(__arm__) || defined(__arm64__)
+#endif // #if defined(__arm__) || defined(__arm64__) || defined(__aarch64__)
#else // #if defined(__APPLE__)
if (Host::GetHostname (s))
OpenPOWER on IntegriCloud