forked from Imagelibrary/binutils-gdb
* 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.
This commit is contained in:
@@ -2710,7 +2710,6 @@ resolve_subexp (struct expression **expp, int *pos, int deprocedure_p,
|
||||
case OP_TYPE:
|
||||
case OP_BOOL:
|
||||
case OP_LAST:
|
||||
case OP_REGISTER:
|
||||
case OP_INTERNALVAR:
|
||||
*pos += 3;
|
||||
break;
|
||||
@@ -2720,6 +2719,10 @@ resolve_subexp (struct expression **expp, int *pos, int deprocedure_p,
|
||||
nargs = 1;
|
||||
break;
|
||||
|
||||
case OP_REGISTER:
|
||||
*pos += 4 + BYTES_TO_EXP_ELEM (exp->elts[pc + 1].longconst + 1);
|
||||
break;
|
||||
|
||||
case STRUCTOP_STRUCT:
|
||||
*pos += 4 + BYTES_TO_EXP_ELEM (exp->elts[pc + 1].longconst + 1);
|
||||
nargs = 1;
|
||||
|
||||
Reference in New Issue
Block a user