From 0a4839aee3137d11c6585070b84beb5e126d35f9 Mon Sep 17 00:00:00 2001 From: "Bobby R. Bruce" Date: Tue, 2 Feb 2021 11:48:28 -0800 Subject: [PATCH] arch-riscv,misc: Fix clang missing override errors Clang 9 failed to compile RISC-V due to missing overrides in `src/arch/riscv/remote_gdb.hh`. This commit adds these missing overrides. Change-Id: Id0bfc371ca3e3e1b91e9112a837e1862072bf9d2 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40395 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power Tested-by: kokoro --- src/arch/riscv/remote_gdb.hh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/arch/riscv/remote_gdb.hh b/src/arch/riscv/remote_gdb.hh index 545a43c4a..d66c30df7 100644 --- a/src/arch/riscv/remote_gdb.hh +++ b/src/arch/riscv/remote_gdb.hh @@ -147,14 +147,15 @@ class RemoteGDB : public BaseRemoteGDB * GDB then queries for xml blobs using qXfer:features:read:xxx.xml */ std::vector - availableFeatures() const + availableFeatures() const override { return {"qXfer:features:read+"}; }; /** * Reply to qXfer:features:read:xxx.xml qeuries */ - bool getXferFeaturesRead(const std::string &annex, std::string &output); + bool getXferFeaturesRead(const std::string &annex, + std::string &output) override; }; } // namespace RiscvISA -- 2.30.2