Lines Matching refs:tdep

51 #include "ppc-tdep.h"
1023 struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);
1027 regcache_raw_supply (current_regcache, tdep->ppc_gp0_regnum + regno,
1044 struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);
1052 regcache_raw_supply (current_regcache, regno + tdep->ppc_fp0_regnum,
1060 struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);
1063 || regno == tdep->ppc_ps_regnum
1064 || regno == tdep->ppc_cr_regnum
1065 || regno == tdep->ppc_lr_regnum
1066 || regno == tdep->ppc_ctr_regnum
1067 || regno == tdep->ppc_xer_regnum
1068 || (tdep->ppc_fpscr_regnum >= 0 && regno == tdep->ppc_fpscr_regnum)
1069 || (tdep->ppc_mq_regnum >= 0 && regno == tdep->ppc_mq_regnum);
1081 struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);
1084 regcache_raw_supply (current_regcache, tdep->ppc_ps_regnum, (char *) &msr);
1085 regcache_raw_supply (current_regcache, tdep->ppc_cr_regnum, (char *) &cr);
1086 regcache_raw_supply (current_regcache, tdep->ppc_lr_regnum, (char *) &lr);
1087 regcache_raw_supply (current_regcache, tdep->ppc_ctr_regnum, (char *) &ctr);
1088 regcache_raw_supply (current_regcache, tdep->ppc_xer_regnum, (char *) &xer);
1089 if (tdep->ppc_fpscr_regnum >= 0)
1090 regcache_raw_supply (current_regcache, tdep->ppc_fpscr_regnum,
1102 struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);
1105 regcache_raw_supply (current_regcache, tdep->ppc_ps_regnum, (char *) &msr);
1106 regcache_raw_supply (current_regcache, tdep->ppc_cr_regnum, (char *) &cr);
1107 regcache_raw_supply (current_regcache, tdep->ppc_lr_regnum, (char *) &lr);
1108 regcache_raw_supply (current_regcache, tdep->ppc_ctr_regnum, (char *) &ctr);
1109 regcache_raw_supply (current_regcache, tdep->ppc_xer_regnum, (char *) &xer);
1110 if (tdep->ppc_fpscr_regnum >= 0)
1111 regcache_raw_supply (current_regcache, tdep->ppc_fpscr_regnum,
1125 struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);
1143 supply_reg32 (tdep->ppc_gp0_regnum + i, ctx.gpr[i]);
1178 struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);
1193 || (tdep->ppc_gp0_regnum <= regno
1194 && regno < tdep->ppc_gp0_regnum + ppc_num_gprs))
1208 supply_reg32 (tdep->ppc_gp0_regnum + i, gprs32[i]);
1216 || (regno >= tdep->ppc_fp0_regnum
1217 && regno < tdep->ppc_fp0_regnum + ppc_num_fprs)))
1239 struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);
1247 if (tdep->ppc_mq_regnum >= 0)
1248 regcache_raw_supply (current_regcache, tdep->ppc_mq_regnum,
1282 struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);
1286 if (register_cached (tdep->ppc_gp0_regnum + regno))
1287 regcache_raw_collect (current_regcache, tdep->ppc_gp0_regnum + regno,
1294 struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);
1298 if (register_cached (tdep->ppc_gp0_regnum + regno))
1299 regcache_raw_collect (current_regcache, tdep->ppc_gp0_regnum + regno,
1307 struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);
1314 for (regno = tdep->ppc_fp0_regnum;
1315 regno < tdep->ppc_fp0_regnum + ppc_num_fprs;
1329 struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);
1340 if (register_cached (tdep->ppc_ps_regnum))
1341 regcache_raw_collect (current_regcache, tdep->ppc_ps_regnum, msr);
1342 if (register_cached (tdep->ppc_cr_regnum))
1343 regcache_raw_collect (current_regcache, tdep->ppc_cr_regnum, cr);
1344 if (register_cached (tdep->ppc_lr_regnum))
1345 regcache_raw_collect (current_regcache, tdep->ppc_lr_regnum, lr);
1346 if (register_cached (tdep->ppc_ctr_regnum))
1347 regcache_raw_collect (current_regcache, tdep->ppc_ctr_regnum, ctr);
1348 if (register_cached (tdep->ppc_xer_regnum))
1349 regcache_raw_collect (current_regcache, tdep->ppc_xer_regnum, xer);
1350 if (tdep->ppc_fpscr_regnum >= 0
1351 && register_cached (tdep->ppc_fpscr_regnum))
1352 regcache_raw_collect (current_regcache, tdep->ppc_fpscr_regnum, fpscr);
1360 struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);
1376 if (register_cached (tdep->ppc_ps_regnum))
1377 regcache_raw_collect (current_regcache, tdep->ppc_ps_regnum, msr);
1378 if (register_cached (tdep->ppc_cr_regnum))
1379 regcache_raw_collect (current_regcache, tdep->ppc_cr_regnum, cr);
1380 if (register_cached (tdep->ppc_lr_regnum))
1381 regcache_raw_collect (current_regcache, tdep->ppc_lr_regnum, lr);
1382 if (register_cached (tdep->ppc_ctr_regnum))
1383 regcache_raw_collect (current_regcache, tdep->ppc_ctr_regnum, ctr);
1384 if (register_cached (tdep->ppc_xer_regnum))
1385 regcache_raw_collect (current_regcache, tdep->ppc_xer_regnum, xer);
1386 if (tdep->ppc_fpscr_regnum >= 0
1387 && register_cached (tdep->ppc_fpscr_regnum))
1388 regcache_raw_collect (current_regcache, tdep->ppc_fpscr_regnum, fpscr);
1400 struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);
1421 if (register_cached (tdep->ppc_gp0_regnum + i))
1425 regcache_raw_collect (current_regcache, tdep->ppc_gp0_regnum + i,
1431 regcache_raw_collect (current_regcache, tdep->ppc_gp0_regnum + i,
1460 if (register_cached (tdep->ppc_ps_regnum))
1462 if (register_cached (tdep->ppc_cr_regnum))
1464 if (register_cached (tdep->ppc_lr_regnum))
1466 if (register_cached (tdep->ppc_ctr_regnum))
1468 if (register_cached (tdep->ppc_xer_regnum))
1470 if (register_cached (tdep->ppc_xer_regnum))
1491 struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);
1506 || (tdep->ppc_gp0_regnum <= regno
1507 && regno < tdep->ppc_gp0_regnum + ppc_num_fprs))
1529 || (regno >= tdep->ppc_fp0_regnum
1530 && regno < tdep->ppc_fp0_regnum + ppc_num_fprs)))
1562 if (tdep->ppc_mq_regnum >= 0)
1563 if (register_cached (tdep->ppc_mq_regnum))
1564 regcache_raw_collect (current_regcache, tdep->ppc_mq_regnum,