From: Bobby R. Bruce Date: Tue, 2 Feb 2021 19:48:28 +0000 (-0800) Subject: arch-riscv,misc: Fix clang missing override errors X-Git-Tag: develop-gem5-snapshot~155 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0a4839aee3137d11c6585070b84beb5e126d35f9;p=gem5.git 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 --- 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