projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a7ac72
)
arch-arm: Fix inverted 32/64-bit check in GDB
author
Boris Shingarov
<shingarov@gmail.com>
Mon, 18 Sep 2017 19:30:51 +0000
(15:30 -0400)
committer
Andreas Sandberg
<andreas.sandberg@arm.com>
Tue, 17 Oct 2017 08:35:23 +0000
(08:35 +0000)
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>
src/arch/arm/remote_gdb.cc
patch
|
blob
|
history
diff --git
a/src/arch/arm/remote_gdb.cc
b/src/arch/arm/remote_gdb.cc
index d934d53d356eb3f10dc9ff5cc76200b0c7185dd3..6dc68b190a8662edc7f56b498aa83b86486bd0de 100644
(file)
--- a/
src/arch/arm/remote_gdb.cc
+++ b/
src/arch/arm/remote_gdb.cc
@@
-305,7
+305,7
@@
RemoteGDB::BaseGdbRegCache*
RemoteGDB::gdbRegs()
{
if (inAArch64(context))
- return ®Cache32;
- else
return ®Cache64;
+ else
+ return ®Cache32;
}