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/linux-thread-db.c | |
parent | b785bb6d1869657ec26003b97548bdd4bde43c90 (diff) | |
download | gdb-43048e46db188e546ba2107bdffcc7eb751c91df.zip gdb-43048e46db188e546ba2107bdffcc7eb751c91df.tar.gz 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/linux-thread-db.c')
-rw-r--r-- | gdb/linux-thread-db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c index 0e190f9..71a81aa 100644 --- a/gdb/linux-thread-db.c +++ b/gdb/linux-thread-db.c @@ -694,7 +694,7 @@ check_thread_db_callback (const td_thrhandle_t *th, void *arg) switch_to_thread (thread_info); expression_up expr = parse_expression ("(int) errno"); - struct value *val = evaluate_expression (expr.get ()); + struct value *val = expr->evaluate (); if (tdb_testinfo->log_progress) { |