Commit b1afb8e
arc64: gdb: Fix an order of registers for ENTER
ENTER in ARCv3 stores different registers and in a different
order rather than ARCv2's variant:
1. R14-R27 instead of R13-R26.
2. FP is stored last.
Stack unwinder relies on that information while handling ENTER.
Note that this patch does not add support of floating point
registers for ENTER.
Signed-off-by: Yuriy Kolerov <[email protected]>1 parent 300cac9 commit b1afb8e
2 files changed
+15
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1189 | 1189 | | |
1190 | 1190 | | |
1191 | 1191 | | |
1192 | | - | |
| 1192 | + | |
1193 | 1193 | | |
1194 | 1194 | | |
| 1195 | + | |
1195 | 1196 | | |
1196 | | - | |
1197 | 1197 | | |
1198 | 1198 | | |
| 1199 | + | |
1199 | 1200 | | |
1200 | | - | |
1201 | 1201 | | |
1202 | 1202 | | |
1203 | 1203 | | |
| |||
1239 | 1239 | | |
1240 | 1240 | | |
1241 | 1241 | | |
1242 | | - | |
1243 | | - | |
1244 | | - | |
1245 | | - | |
1246 | | - | |
1247 | | - | |
1248 | | - | |
1249 | | - | |
| 1242 | + | |
| 1243 | + | |
1250 | 1244 | | |
1251 | 1245 | | |
1252 | 1246 | | |
| |||
1259 | 1253 | | |
1260 | 1254 | | |
1261 | 1255 | | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
1262 | 1262 | | |
1263 | 1263 | | |
1264 | 1264 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | | - | |
46 | 45 | | |
47 | | - | |
| 46 | + | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
| |||
92 | 91 | | |
93 | 92 | | |
94 | 93 | | |
95 | | - | |
96 | | - | |
| 94 | + | |
| 95 | + | |
97 | 96 | | |
98 | 97 | | |
99 | 98 | | |
| |||
0 commit comments