aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-04-28 07:24:59 -0600
committerTom Tromey <tromey@adacore.com>2023-05-01 11:04:13 -0600
commit43048e46db188e546ba2107bdffcc7eb751c91df (patch)
treec7c8470c5d69cdac5657f5413ad1d1a185e38775 /gdb/breakpoint.c
parentb785bb6d1869657ec26003b97548bdd4bde43c90 (diff)
downloadfsf-binutils-gdb-43048e46db188e546ba2107bdffcc7eb751c91df.zip
fsf-binutils-gdb-43048e46db188e546ba2107bdffcc7eb751c91df.tar.gz
fsf-binutils-gdb-43048e46db188e546ba2107bdffcc7eb751c91df.tar.bz2
Remove evaluate_expression
evaluate_expression is just a little wrapper for a method on expression. Removing it also removes a lot of ugly (IMO) calls to get().
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 46287da..20e016e 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -4984,7 +4984,7 @@ static bool
breakpoint_cond_eval (expression *exp)
{
scoped_value_mark mark;
- return value_true (evaluate_expression (exp));
+ return value_true (exp->evaluate ());
}
/* Allocate a new bpstat. Link it to the FIFO list by BS_LINK_POINTER. */