diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-16 17:44:20 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-19 12:51:05 -0700 |
commit | 3c9d050626d9ab8c28082af114b5e8246b57b7de (patch) | |
tree | 14f9b06ca6b628eba07ef33e004828e5451f434b /gdb/ax-gdb.c | |
parent | 3c45e9f915ae4aeab7312d6fc55a947859057572 (diff) | |
download | gdb-3c9d050626d9ab8c28082af114b5e8246b57b7de.zip gdb-3c9d050626d9ab8c28082af114b5e8246b57b7de.tar.gz gdb-3c9d050626d9ab8c28082af114b5e8246b57b7de.tar.bz2 |
Convert block_linkage_function to method
This converts block_linkage_function to be a method. This was mostly
written by script.
Diffstat (limited to 'gdb/ax-gdb.c')
-rw-r--r-- | gdb/ax-gdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c index 3cfe997..4e2d1c6 100644 --- a/gdb/ax-gdb.c +++ b/gdb/ax-gdb.c @@ -1887,7 +1887,7 @@ op_this_operation::do_generate_ax (struct expression *exp, const struct language_defn *lang; b = block_for_pc (ax->scope); - func = block_linkage_function (b); + func = b->linkage_function (); lang = language_def (func->language ()); sym = lookup_language_this (lang, b).symbol; |