aboutsummaryrefslogtreecommitdiff
path: root/gdb/eval.c
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2003-01-21 01:02:30 +0000
committerDavid Carlton <carlton@bactrian.org>2003-01-21 01:02:30 +0000
commit93085966bf003c80247cd6f5023c15812de356be (patch)
treebb979e485361191c00cef2a836a5a7a9d623dd63 /gdb/eval.c
parentcac0a1a0e668028c017386532b66380662c1341d (diff)
downloadgdb-93085966bf003c80247cd6f5023c15812de356be.zip
gdb-93085966bf003c80247cd6f5023c15812de356be.tar.gz
gdb-93085966bf003c80247cd6f5023c15812de356be.tar.bz2
2003-01-20 David Carlton <carlton@math.stanford.edu>
* p-exp.y: Add block to OP_FUNCALL. * objc-exp.y: Add block to OP_FUNCALL. * m2-exp.y: Add block to OP_FUNCALL. * c-exp.y: Add block to OP_FUNCALL. * ada-exp.y: Add block to OP_FUNCALL. (write_object_renaming): Ditto. * parse.c (length_of_subexp): Split off OP_FUNCALL. (prefixify_subexp): Ditto. * expprint.c (print_subexp): Change offset for OP_FUNCALL. (dump_subexp): Ditto. * eval.c (evaluate_subexp_standard): Change offset for OP_FUNCALL. * ada-lang.c (ada_resolve_subexp): Add comment on OP_FUNCALL. (replace_operator_with_call): Add block to OP_FUNCALL. (ada_evaluate_subexp): Change offset for OP_FUNCALL. * expression.h (exp_opcode): Change comments before OP_FUNCALL and OP_F77_UNDETERMINED_ARGLIST. 2003-01-14 David Carlton <carlton@math.stanford.edu> * symtab.c (search_symbols): Add comment. (lookup_symbol_aux_using): Function name should start line. (lookup_symbol_aux_using_loop): Ditto. (lookup_block_symbol): Add comment. 2003-01-13 David Carlton <carlton@math.stanford.edu> * dwarf2read.c (read_structure_scope): Add comment. (add_partial_structure): Ditto. * symtab.c (lookup_transparent_type): Add comment.
Diffstat (limited to 'gdb/eval.c')
-rw-r--r--gdb/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/eval.c b/gdb/eval.c
index 67afcd1..d719671 100644
--- a/gdb/eval.c
+++ b/gdb/eval.c
@@ -664,7 +664,7 @@ evaluate_subexp_standard (struct type *expect_type,
}
case OP_FUNCALL:
- (*pos) += 2;
+ (*pos) += 3;
op = exp->elts[*pos].opcode;
nargs = longest_to_int (exp->elts[pc + 1].longconst);
/* Allocate arg vector, including space for the function to be