diff options
author | Andreas Arnez <arnez@linux.vnet.ibm.com> | 2014-06-03 19:11:35 +0200 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2014-08-07 17:31:48 +0200 |
commit | 7fefa8d7d6359ec905dbc59bb4e616f386ea2e3d (patch) | |
tree | d17b2765075d49e2ec75a0a17313620a451d1a21 /gdb/ppc-linux-tdep.c | |
parent | 96c4f946a8c8d53141189852c0ba28c45366830b (diff) | |
download | gdb-7fefa8d7d6359ec905dbc59bb4e616f386ea2e3d.zip gdb-7fefa8d7d6359ec905dbc59bb4e616f386ea2e3d.tar.gz gdb-7fefa8d7d6359ec905dbc59bb4e616f386ea2e3d.tar.bz2 |
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)
Diffstat (limited to 'gdb/ppc-linux-tdep.c')
-rw-r--r-- | gdb/ppc-linux-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c index 6e46765..316b254 100644 --- a/gdb/ppc-linux-tdep.c +++ b/gdb/ppc-linux-tdep.c @@ -395,7 +395,7 @@ ppc_linux_supply_gregset (const struct regset *regset, struct regcache *regcache, int regnum, const void *gregs, size_t len) { - const struct ppc_reg_offsets *offsets = regset->descr; + const struct ppc_reg_offsets *offsets = regset->regmap; ppc_supply_gregset (regset, regcache, regnum, gregs, len); @@ -420,7 +420,7 @@ ppc_linux_collect_gregset (const struct regset *regset, const struct regcache *regcache, int regnum, void *gregs, size_t len) { - const struct ppc_reg_offsets *offsets = regset->descr; + const struct ppc_reg_offsets *offsets = regset->regmap; /* Clear areas in the linux gregset not written elsewhere. */ if (regnum == -1) |