summaryrefslogtreecommitdiff
path: root/gdb/values.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-09-16 18:56:35 +0000
committerAndrew Cagney <cagney@redhat.com>2003-09-16 18:56:35 +0000
commit90c0087981998f21c7d6b95f3c86ccc2cc4829f7 (patch)
tree7d6e4dc64525a1a0e719780395c0cc759e649457 /gdb/values.c
parent047ab080d1e176ae2e2a4ea4c4bc34a60aaac7fc (diff)
downloadgdb-90c0087981998f21c7d6b95f3c86ccc2cc4829f7.tar.gz
2003-09-16 Andrew Cagney <cagney@redhat.com>ezannoni_pie-20030916-branchpoint
* buildsym.c: Remove more occurances of "register". * coffread.c, dbxread.c, dcache.c, dwarf2read.c: Ditto. * environ.c, eval.c, f-valprint.c, findvar.c: Ditto. * gdbtypes.c, gnu-v2-abi.c, h8300-tdep.c, hppa-tdep.c: Ditto. * infcmd.c, mdebugread.c, minsyms.c, mips-tdep.c: Ditto. * printcmd.c, remote-vx.c, sh-stub.c, sh-tdep.c: Ditto. * sh64-tdep.c, source.c, stabsread.c, stack.c: Ditto. * standalone.c, symfile.c, symmisc.c, symtab.c: Ditto. * utils.c, valops.c, values.c, xcoffread.c: Ditto.
Diffstat (limited to 'gdb/values.c')
-rw-r--r--gdb/values.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/values.c b/gdb/values.c
index 652a7a93a52..c0027cb8751 100644
--- a/gdb/values.c
+++ b/gdb/values.c
@@ -883,7 +883,7 @@ value_change_enclosing_type (struct value *val, struct type *new_encl_type)
struct value *
value_primitive_field (struct value *arg1, int offset,
- register int fieldno, register struct type *arg_type)
+ int fieldno, struct type *arg_type)
{
struct value *v;
struct type *type;
@@ -952,7 +952,7 @@ value_primitive_field (struct value *arg1, int offset,
FIELDNO says which field. */
struct value *
-value_field (struct value *arg1, register int fieldno)
+value_field (struct value *arg1, int fieldno)
{
return value_primitive_field (arg1, 0, fieldno, VALUE_TYPE (arg1));
}
@@ -1114,7 +1114,7 @@ modify_field (char *addr, LONGEST fieldval, int bitpos, int bitsize)
/* Convert C numbers into newly allocated values */
struct value *
-value_from_longest (struct type *type, register LONGEST num)
+value_from_longest (struct type *type, LONGEST num)
{
struct value *val = allocate_value (type);
enum type_code code;