aboutsummaryrefslogtreecommitdiff
path: root/gdb/guile/scm-block.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2021-11-19 20:50:59 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2022-02-06 15:48:18 -0500
commit0b17a4f78fb969e7c1ae298561ef6963c73006a7 (patch)
treed06819a30ab214273d28ec270d099e81630e96db /gdb/guile/scm-block.c
parent9821f3fa56de3e2c13c234357421ae1839ce27f7 (diff)
downloadgdb-0b17a4f78fb969e7c1ae298561ef6963c73006a7.zip
gdb-0b17a4f78fb969e7c1ae298561ef6963c73006a7.tar.gz
gdb-0b17a4f78fb969e7c1ae298561ef6963c73006a7.tar.bz2
gdb: rename compunit_primary_filetab to compunit_symtab::primary_filetab
Make compunit_primary_filetab a method of compunit_symtab. Change-Id: Iee3c4f7e36d579bf763c5bba146e5e10d6766768
Diffstat (limited to 'gdb/guile/scm-block.c')
-rw-r--r--gdb/guile/scm-block.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/guile/scm-block.c b/gdb/guile/scm-block.c
index 0c63dfb..df0ef7f 100644
--- a/gdb/guile/scm-block.c
+++ b/gdb/guile/scm-block.c
@@ -554,7 +554,7 @@ bkscm_print_block_syms_progress_smob (SCM self, SCM port,
: i_smob->iter.d.compunit_symtab->includes[i_smob->iter.idx]);
gdbscm_printf (port, " %s",
symtab_to_filename_for_display
- (compunit_primary_filetab (cust)));
+ (cust->primary_filetab ()));
break;
}
case FIRST_LOCAL_BLOCK: