diff options
author | Tom Tromey <tromey@adacore.com> | 2023-04-28 07:15:06 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-05-01 11:04:13 -0600 |
commit | b785bb6d1869657ec26003b97548bdd4bde43c90 (patch) | |
tree | 003a923a1d7d682383ba5341449614b9f73eab4f /gdb/expression.h | |
parent | 87c84f07a0a1b7e12b6a0c9b21cc0e021e460786 (diff) | |
download | binutils-b785bb6d1869657ec26003b97548bdd4bde43c90.zip binutils-b785bb6d1869657ec26003b97548bdd4bde43c90.tar.gz binutils-b785bb6d1869657ec26003b97548bdd4bde43c90.tar.bz2 |
Remove op_name
op_name is only needed in a single place, so remove it and inline it
there.
Diffstat (limited to 'gdb/expression.h')
-rw-r--r-- | gdb/expression.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/expression.h b/gdb/expression.h index c314fc2..77949dd 100644 --- a/gdb/expression.h +++ b/gdb/expression.h @@ -284,10 +284,6 @@ extern struct value *evaluate_subexp_do_call (expression *exp, const char *function_name, type *default_return_type); -/* From expprint.c */ - -extern const char *op_name (enum exp_opcode opcode); - /* In an OP_RANGE expression, either bound could be empty, indicating that its value is by default that of the corresponding bound of the array or string. Also, the upper end of the range can be exclusive |