X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Ftracepoint.c;h=e4fd2d3810d807d06af8d94f8599b7568005aeba;hb=1bb9788dbb7f4c729acc0d5096d05d501a415824;hp=6d76f4b1bfca6d474befc47d03566e1816106199;hpb=c83ee9021b77f1c88121ab6abd3224fbcaa530ca;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index 6d76f4b1bf..e4fd2d3810 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -734,7 +734,8 @@ validate_actionline (char **line, struct breakpoint *b) for (loc = t->base.loc; loc; loc = loc->next) { p = tmp_p; - exp = parse_exp_1 (&p, block_for_pc (loc->address), 1); + exp = parse_exp_1 (&p, loc->address, + block_for_pc (loc->address), 1); old_chain = make_cleanup (free_current_contents, &exp); if (exp->elts[0].opcode == OP_VAR_VALUE) @@ -787,7 +788,8 @@ validate_actionline (char **line, struct breakpoint *b) { p = tmp_p; /* Only expressions are allowed for this action. */ - exp = parse_exp_1 (&p, block_for_pc (loc->address), 1); + exp = parse_exp_1 (&p, loc->address, + block_for_pc (loc->address), 1); old_chain = make_cleanup (free_current_contents, &exp); /* We have something to evaluate, make sure that the expr to @@ -1452,7 +1454,7 @@ encode_actions_1 (struct command_line *action, struct cleanup *old_chain = NULL; struct cleanup *old_chain1 = NULL; - exp = parse_exp_1 (&action_exp, + exp = parse_exp_1 (&action_exp, tloc->address, block_for_pc (tloc->address), 1); old_chain = make_cleanup (free_current_contents, &exp); @@ -1542,7 +1544,7 @@ encode_actions_1 (struct command_line *action, struct cleanup *old_chain = NULL; struct cleanup *old_chain1 = NULL; - exp = parse_exp_1 (&action_exp, + exp = parse_exp_1 (&action_exp, tloc->address, block_for_pc (tloc->address), 1); old_chain = make_cleanup (free_current_contents, &exp);