forked from Imagelibrary/binutils-gdb
Rename 'descr' field in regset structure to 'regmap'.
The regset structure's 'descr' field is intended to represent some kind of "register map". Thus, before making more use of it, this change renames it to 'regmap' and adjusts the comment appropriately. (See: https://sourceware.org/ml/gdb-patches/2014-05/msg00664.html)
This commit is contained in:
committed by
Ulrich Weigand
parent
96c4f946a8
commit
7fefa8d7d6
@@ -505,7 +505,7 @@ ppc_supply_gregset (const struct regset *regset, struct regcache *regcache,
|
||||
{
|
||||
struct gdbarch *gdbarch = get_regcache_arch (regcache);
|
||||
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
|
||||
const struct ppc_reg_offsets *offsets = regset->descr;
|
||||
const struct ppc_reg_offsets *offsets = regset->regmap;
|
||||
size_t offset;
|
||||
int regsize;
|
||||
|
||||
@@ -557,7 +557,7 @@ ppc_supply_fpregset (const struct regset *regset, struct regcache *regcache,
|
||||
return;
|
||||
|
||||
tdep = gdbarch_tdep (gdbarch);
|
||||
offsets = regset->descr;
|
||||
offsets = regset->regmap;
|
||||
if (regnum == -1)
|
||||
{
|
||||
int i;
|
||||
@@ -625,7 +625,7 @@ ppc_supply_vrregset (const struct regset *regset, struct regcache *regcache,
|
||||
return;
|
||||
|
||||
tdep = gdbarch_tdep (gdbarch);
|
||||
offsets = regset->descr;
|
||||
offsets = regset->regmap;
|
||||
if (regnum == -1)
|
||||
{
|
||||
int i;
|
||||
@@ -664,7 +664,7 @@ ppc_collect_gregset (const struct regset *regset,
|
||||
{
|
||||
struct gdbarch *gdbarch = get_regcache_arch (regcache);
|
||||
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
|
||||
const struct ppc_reg_offsets *offsets = regset->descr;
|
||||
const struct ppc_reg_offsets *offsets = regset->regmap;
|
||||
size_t offset;
|
||||
int regsize;
|
||||
|
||||
@@ -718,7 +718,7 @@ ppc_collect_fpregset (const struct regset *regset,
|
||||
return;
|
||||
|
||||
tdep = gdbarch_tdep (gdbarch);
|
||||
offsets = regset->descr;
|
||||
offsets = regset->regmap;
|
||||
if (regnum == -1)
|
||||
{
|
||||
int i;
|
||||
@@ -791,7 +791,7 @@ ppc_collect_vrregset (const struct regset *regset,
|
||||
return;
|
||||
|
||||
tdep = gdbarch_tdep (gdbarch);
|
||||
offsets = regset->descr;
|
||||
offsets = regset->regmap;
|
||||
if (regnum == -1)
|
||||
{
|
||||
int i;
|
||||
|
||||
Reference in New Issue
Block a user