From 1b63b756cc6ca75acceee51397f815df06fb0dff Mon Sep 17 00:00:00 2001 From: Boris Shingarov Date: Mon, 18 Sep 2017 15:30:51 -0400 Subject: [PATCH] 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 Reviewed-by: Andreas Sandberg Maintainer: Andreas Sandberg --- src/arch/arm/remote_gdb.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arch/arm/remote_gdb.cc b/src/arch/arm/remote_gdb.cc index d934d53d3..6dc68b190 100644 --- 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; } -- 2.30.2