From c434deca4ebdcd0032024a3dcc73aeef25115c43 Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Fri, 16 Jun 2023 09:35:40 -0700 Subject: [PATCH] Support gdbclient.py on riscv64 Add the path to the existing architecture-specific runtime directory, in preparation for when lldb-server is added to the toolchain build by Iba7efaa62e7d3cc8e3bd1080d9b4a67bc241faf2. Test: `gdbclient.py -r surfaceflinger` connected to a riscv64 board Change-Id: I1654378a7ba92fcd7ffe478d2b491f426655e6f1 --- scripts/gdbclient.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/gdbclient.py b/scripts/gdbclient.py index ef32bf09c..b053a489d 100755 --- a/scripts/gdbclient.py +++ b/scripts/gdbclient.py @@ -56,6 +56,7 @@ def get_lldb_server_path(root: str, clang_base: str, clang_version: str, arch: s arch = { 'arm': 'arm', 'arm64': 'aarch64', + 'riscv64': 'riscv64', 'x86': 'i386', 'x86_64': 'x86_64', }[arch]