From 624a026a393104e6730731695d5d74addd65d79e Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sat, 27 Jan 2018 03:18:15 -0800 Subject: [PATCH] base: Add an "override" to name() in the HardBreakpoint class. clang reports an error otherwise and fails to compile. Change-Id: I3603d6c710641f1289e35c67f89a49f5cb71e95e Reviewed-on: https://gem5-review.googlesource.com/7582 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power --- src/base/remote_gdb.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/remote_gdb.cc b/src/base/remote_gdb.cc index 09796f1be..80dcd137b 100644 --- a/src/base/remote_gdb.cc +++ b/src/base/remote_gdb.cc @@ -172,7 +172,7 @@ class HardBreakpoint : public PCEvent DPRINTF(GDBMisc, "creating hardware breakpoint at %#x\n", evpc); } - const std::string name() const { return gdb->name() + ".hwbkpt"; } + const std::string name() const override { return gdb->name() + ".hwbkpt"; } void process(ThreadContext *tc) override -- 2.30.2