Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/30654 )

Change subject: arm: Add a missing "break" in an ARM miscreg decode function.
......................................................................

arm: Add a missing "break" in an ARM miscreg decode function.

This change accidentally left out a "break" which gcc found and
complained about.

arch-arm: Implementation of Hardware Breakpoint exception

This change adds in the break based on the assumption that the function
should not fall through that case to the next.

Change-Id: Id728a0c9a504d1b6d231d3fe1e7c5ece05d3ac4d
---
M src/arch/arm/miscregs.cc
1 file changed, 1 insertion(+), 0 deletions(-)



diff --git a/src/arch/arm/miscregs.cc b/src/arch/arm/miscregs.cc
index 86b3aaa..e6b979e 100644
--- a/src/arch/arm/miscregs.cc
+++ b/src/arch/arm/miscregs.cc
@@ -216,6 +216,7 @@
                 }
                 break;
             }
+            break;
           case 6:
             switch (crm) {
               case 0:

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

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Id728a0c9a504d1b6d231d3fe1e7c5ece05d3ac4d
Gerrit-Change-Number: 30654
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <gabebl...@google.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to