Commit 7b0affb6 authored by lat9nq's avatar lat9nq
Browse files

gdbstub_arch: Directly access SP register

Currently to access the SP register, RegRead and RegWrite rely on a
out-of-bounds array access to reach the next element in a struct. As
of writing only git versions of GCC catch this error.

Specify the SP register when we want to access it in these functions.
parent 01bc0c84
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment