Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/7582

Change subject: base: Add an "override" to name() in the HardBreakpoint class.
......................................................................

base: Add an "override" to name() in the HardBreakpoint class.

clang reports an error otherwise and fails to compile.

Change-Id: I3603d6c710641f1289e35c67f89a49f5cb71e95e
---
M src/base/remote_gdb.cc
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/src/base/remote_gdb.cc b/src/base/remote_gdb.cc
index 09796f1..80dcd13 100644
--- a/src/base/remote_gdb.cc
+++ b/src/base/remote_gdb.cc
@@ -172,7 +172,7 @@
         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

--
To view, visit https://gem5-review.googlesource.com/7582
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3603d6c710641f1289e35c67f89a49f5cb71e95e
Gerrit-Change-Number: 7582
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to