summaryrefslogtreecommitdiff
path: root/gdb/expression.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-06-13 17:11:09 +0000
committerDaniel Jacobowitz <drow@false.org>2007-06-13 17:11:09 +0000
commit67f3407ffbf8f43d93f0c9b2d7e26e767ca5fb53 (patch)
tree0a1b075540de2218e0658eb768f0e57eec77e49a /gdb/expression.h
parent0caa462c1636049cfb05fb44f1fd104c65e6d1f7 (diff)
* 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 fecf69f587..bc1fa3b25a 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.