Closed shahab-vahedi closed 2 years ago
"stop_pc_val" variable defined in "gen_regsget()" is a 4-byte variable. This goes awry when it is used for transferring the PC value for ARCv3 which is 8 bytes long.
Signed-off-by: Shahab Vahedi shahab@synopsys.com
LGTM ! Are there any other places in ptrace code where we need similar fixes.
I've looked but haven't found any.
Merged.
"stop_pc_val" variable defined in "gen_regsget()" is a 4-byte variable. This goes awry when it is used for transferring the PC value for ARCv3 which is 8 bytes long.
Signed-off-by: Shahab Vahedi shahab@synopsys.com