summaryrefslogtreecommitdiff
path: root/src/unittest/refcnttest.cc
diff options
context:
space:
mode:
authorAndreas Sandberg <Andreas.Sandberg@ARM.com>2015-03-02 04:00:27 -0500
committerAndreas Sandberg <Andreas.Sandberg@ARM.com>2015-03-02 04:00:27 -0500
commit804b11a3ed37dd429de2e4ecf3a8892843d57e12 (patch)
treedf3263a5f3133883f5811817f24a1fe65df838d0 /src/unittest/refcnttest.cc
parent34dcd90b61b6fcde7f4ff1cd717f71edca40f9b9 (diff)
downloadgem5-804b11a3ed37dd429de2e4ecf3a8892843d57e12.tar.xz
arm: Correctly access the stack pointer in GDB
We curently use INTREG_X31 instead of INTREG_SPX when accessing the stack pointer in GDB. gem5 normally uses INTREG_SPX to access the stack pointer, which gets mapped to the stack pointer corresponding (INTREG_SPn) to the current exception level. This changeset updates the GDB interface to use SPX instead of X31 (which is always zero) when transfering CPU state to gdb.
Diffstat (limited to 'src/unittest/refcnttest.cc')
0 files changed, 0 insertions, 0 deletions