Andreas Sandberg has submitted this change and it was merged. (
https://gem5-review.googlesource.com/4720 )
Change subject: arch-arm: Fix inverted 32/64-bit check in GDB
......................................................................
arch-arm: Fix inverted 32/64-bit check in GDB
Change-Id: Ided438af19c9b8504d4624119c4d9fb5157c7cf0
Reviewed-on: https://gem5-review.googlesource.com/4720
Reviewed-by: Paul Rosenfeld <[email protected]>
Reviewed-by: Andreas Sandberg <[email protected]>
Maintainer: Andreas Sandberg <[email protected]>
---
M src/arch/arm/remote_gdb.cc
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Andreas Sandberg: Looks good to me, approved; Looks good to me, approved
Paul Rosenfeld: Looks good to me, approved
diff --git a/src/arch/arm/remote_gdb.cc b/src/arch/arm/remote_gdb.cc
index d934d53..6dc68b1 100644
--- a/src/arch/arm/remote_gdb.cc
+++ b/src/arch/arm/remote_gdb.cc
@@ -305,7 +305,7 @@
RemoteGDB::gdbRegs()
{
if (inAArch64(context))
- return ®Cache32;
- else
return ®Cache64;
+ else
+ return ®Cache32;
}
--
To view, visit https://gem5-review.googlesource.com/4720
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ided438af19c9b8504d4624119c4d9fb5157c7cf0
Gerrit-Change-Number: 4720
Gerrit-PatchSet: 2
Gerrit-Owner: Boris Shingarov <[email protected]>
Gerrit-Reviewer: Andreas Sandberg <[email protected]>
Gerrit-Reviewer: Paul Rosenfeld <[email protected]>
Gerrit-CC: Gabe Black <[email protected]>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev