diff options
author | Tom Tromey <tromey@adacore.com> | 2023-04-28 07:24:59 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-05-01 11:04:13 -0600 |
commit | 43048e46db188e546ba2107bdffcc7eb751c91df (patch) | |
tree | c7c8470c5d69cdac5657f5413ad1d1a185e38775 /gdb/breakpoint.c | |
parent | b785bb6d1869657ec26003b97548bdd4bde43c90 (diff) | |
download | binutils-43048e46db188e546ba2107bdffcc7eb751c91df.zip binutils-43048e46db188e546ba2107bdffcc7eb751c91df.tar.gz binutils-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.c | 2 |
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. */ |