aboutsummaryrefslogtreecommitdiff
path: root/gdb/regset.h
diff options
context:
space:
mode:
authorAndreas Arnez <arnez@linux.vnet.ibm.com>2014-06-03 19:11:35 +0200
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2014-08-07 17:31:48 +0200
commit7fefa8d7d6359ec905dbc59bb4e616f386ea2e3d (patch)
treed17b2765075d49e2ec75a0a17313620a451d1a21 /gdb/regset.h
parent96c4f946a8c8d53141189852c0ba28c45366830b (diff)
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/regset.h')
-rw-r--r--gdb/regset.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/regset.h b/gdb/regset.h
index 03dbdaac69..37ed99a3b6 100644
--- a/gdb/regset.h
+++ b/gdb/regset.h
@@ -41,9 +41,10 @@ typedef void (collect_regset_ftype) (const struct regset *,
struct regset
{
- /* Data pointer for private use by the methods below, presumably
- providing some sort of description of the register set. */
- const void *descr;
+ /* Pointer to a "register map", for private use by the methods
+ below. Typically describes how the regset's registers are
+ arranged in the buffer collected to or supplied from. */
+ const void *regmap;
/* Function supplying values in a register set to a register cache. */
supply_regset_ftype *supply_regset;