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 <prosenfeld@micron.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
This commit is contained in:
committed by
Andreas Sandberg
parent
5a7ac72aa1
commit
1b63b756cc
@@ -305,7 +305,7 @@ RemoteGDB::BaseGdbRegCache*
|
||||
RemoteGDB::gdbRegs()
|
||||
{
|
||||
if (inAArch64(context))
|
||||
return ®Cache32;
|
||||
else
|
||||
return ®Cache64;
|
||||
else
|
||||
return ®Cache32;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user