aboutsummaryrefslogtreecommitdiff
path: root/gdb/compile
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-01-16 17:44:20 -0700
committerTom Tromey <tom@tromey.com>2023-02-19 12:51:05 -0700
commit3c9d050626d9ab8c28082af114b5e8246b57b7de (patch)
tree14f9b06ca6b628eba07ef33e004828e5451f434b /gdb/compile
parent3c45e9f915ae4aeab7312d6fc55a947859057572 (diff)
downloadgdb-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/compile')
-rw-r--r--gdb/compile/compile-loc2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/compile/compile-loc2c.c b/gdb/compile/compile-loc2c.c
index 558460a..8a5a0f5 100644
--- a/gdb/compile/compile-loc2c.c
+++ b/gdb/compile/compile-loc2c.c
@@ -892,7 +892,7 @@ do_compile_dwarf_expr_to_c (int indent, string_file *stream,
if (!b)
error (_("No block found for address"));
- framefunc = block_linkage_function (b);
+ framefunc = b->linkage_function ();
if (!framefunc)
error (_("No function found for block"));