diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2021-11-19 13:11:24 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2022-02-06 15:48:18 -0500 |
commit | f1f58f102ee5f3dda04853582fcb6f22cc00329b (patch) | |
tree | 34c917ec941286ff57e3c8630aabea819acaa479 /gdb/symmisc.c | |
parent | a723766c0e2cc4e8d53813f90f1167e620da0784 (diff) | |
download | gdb-f1f58f102ee5f3dda04853582fcb6f22cc00329b.zip gdb-f1f58f102ee5f3dda04853582fcb6f22cc00329b.tar.gz gdb-f1f58f102ee5f3dda04853582fcb6f22cc00329b.tar.bz2 |
gdb: add getter/setter for compunit_symtab::objfile
Rename the field to m_objfile, and add a getter and a setter. Update
all users.
Change-Id: If7e2f763ee3e70570140d9af9261b1b056253317
Diffstat (limited to 'gdb/symmisc.c')
-rw-r--r-- | gdb/symmisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symmisc.c b/gdb/symmisc.c index cd51f66..19c387d 100644 --- a/gdb/symmisc.c +++ b/gdb/symmisc.c @@ -957,7 +957,7 @@ maintenance_print_one_line_table (struct symtab *symtab, void *data) struct linetable *linetable; struct objfile *objfile; - objfile = symtab->compunit_symtab->objfile; + objfile = symtab->compunit_symtab->objfile (); printf_filtered (_("objfile: %ps ((struct objfile *) %s)\n"), styled_string (file_name_style.style (), objfile_name (objfile)), |