diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-31 08:24:35 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-13 15:21:07 -0700 |
commit | 81ae560ca4f0da47729dc37a889c2f2e01c4c84e (patch) | |
tree | 9f251c4fb80f169eab6c0ff556903fd1eb301700 /gdb/eval.c | |
parent | d0c9791728caa0d3b3270a997c7fd97919976c97 (diff) | |
download | gdb-81ae560ca4f0da47729dc37a889c2f2e01c4c84e.zip gdb-81ae560ca4f0da47729dc37a889c2f2e01c4c84e.tar.gz gdb-81ae560ca4f0da47729dc37a889c2f2e01c4c84e.tar.bz2 |
Turn deprecated_set_value_type into a method
This changes deprecated_set_value_type to be a method of value. Much
of this patch was written by script.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/eval.c')
-rw-r--r-- | gdb/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2183,7 +2183,7 @@ eval_op_objc_msgcall (struct type *expect_type, struct expression *exp, /* Function objc_msg_lookup returns a pointer. */ struct type *tem_type = called_method->type (); tem_type = lookup_pointer_type (lookup_function_type (tem_type)); - deprecated_set_value_type (called_method, tem_type); + called_method->deprecated_set_type (tem_type); called_method = call_function_by_hand (called_method, NULL, args); } |