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/parse.c | |
parent | 3c45e9f915ae4aeab7312d6fc55a947859057572 (diff) | |
download | binutils-3c9d050626d9ab8c28082af114b5e8246b57b7de.zip binutils-3c9d050626d9ab8c28082af114b5e8246b57b7de.tar.gz binutils-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/parse.c')
-rw-r--r-- | gdb/parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/parse.c b/gdb/parse.c index 2f7d580..4c20b91 100644 --- a/gdb/parse.c +++ b/gdb/parse.c @@ -488,7 +488,7 @@ parse_exp_in_context (const char **stringptr, CORE_ADDR pc, the current frame language to parse the expression. That's why we do the following language detection only if the context block has been specifically provided. */ - struct symbol *func = block_linkage_function (block); + struct symbol *func = block->linkage_function (); if (func != NULL) lang = language_def (func->language ()); |