summaryrefslogtreecommitdiff
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/psymtab.c
parentgdb: remove COMPUNIT_OBJFILE macro (diff)
downloadbinutils-gdb-0b17a4f78fb969e7c1ae298561ef6963c73006a7.tar.gz
binutils-gdb-0b17a4f78fb969e7c1ae298561ef6963c73006a7.tar.bz2
binutils-gdb-0b17a4f78fb969e7c1ae298561ef6963c73006a7.zip
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/psymtab.c')
-rw-r--r--gdb/psymtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/psymtab.c b/gdb/psymtab.c
index ce077c67cbb..fcbf54ab2bd 100644
--- a/gdb/psymtab.c
+++ b/gdb/psymtab.c
@@ -631,7 +631,7 @@ psymbol_functions::find_last_source_symtab (struct objfile *ofp)
if (cust == NULL)
return NULL;
- return compunit_primary_filetab (cust);
+ return cust->primary_filetab ();
}
}
return NULL;