summaryrefslogtreecommitdiff
path: root/gdb/expression.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2007-06-13 17:11:09 +0000
committerDaniel Jacobowitz <dan@debian.org>2007-06-13 17:11:09 +0000
commit3342abff4d17f23376cf9e594c08d28ef47e0968 (patch)
treecbaa250948dc1719135fd5d13ca1831b3892b918 /gdb/expression.h
parent3e1f43c886b2b160c498d8c9094bff2ca03d8035 (diff)
downloadgdb-3342abff4d17f23376cf9e594c08d28ef47e0968.tar.gz
* expression.h (enum exp_opcode): Document a register name for
OP_REGISTER. * parse.c (write_dollar_variable): Write the register name for OP_REGISTER. (operator_length_standard): Expect the register name following OP_REGISTER. * ada-lang.c (resolve_subexp): Likewise. * ax-gdb.c (gen_expr): Likewise. * eval.c (evaluate_subexp_standard): Likewise. * expprint.c (print_subexp_standard, dump_subexp_body_standard): Likewise. * tracepoint.c (encode_actions): Likewise.
Diffstat (limited to 'gdb/expression.h')
-rw-r--r--gdb/expression.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/expression.h b/gdb/expression.h
index fecf69f587b..bc1fa3b25a1 100644
--- a/gdb/expression.h
+++ b/gdb/expression.h
@@ -166,9 +166,8 @@ enum exp_opcode
With another OP_LAST at the end, this makes three exp_elements. */
OP_LAST,
- /* OP_REGISTER is followed by an integer in the next exp_element.
- This is the number of a register to fetch (as an int).
- With another OP_REGISTER at the end, this makes three exp_elements. */
+ /* OP_REGISTER is followed by a string in the next exp_element.
+ This is the name of a register to fetch. */
OP_REGISTER,
/* OP_INTERNALVAR is followed by an internalvar ptr in the next exp_element.