diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2024-07-15 13:54:45 +0000 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2024-07-15 13:55:00 +0000 |
commit | 134a0a106c944234e9e4f0dd95af96986117d7d9 (patch) | |
tree | 4e6f91d3cea33a40d9e941739a5b2b8ba14d4a15 /gdb/guile/scm-objfile.c | |
parent | d21176c014a4696e667b8567df90364939269170 (diff) | |
download | gdb-134a0a106c944234e9e4f0dd95af96986117d7d9.zip gdb-134a0a106c944234e9e4f0dd95af96986117d7d9.tar.gz gdb-134a0a106c944234e9e4f0dd95af96986117d7d9.tar.bz2 |
gdb: make objfile::pspace private
Rename to m_pspace, add getter. An objfile's pspace never changes, so
no setter is necessary.
Change-Id: If4dfb300cb90dc0fb9776ea704ff92baebb8f626
Diffstat (limited to 'gdb/guile/scm-objfile.c')
-rw-r--r-- | gdb/guile/scm-objfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/guile/scm-objfile.c b/gdb/guile/scm-objfile.c index bccf6ba..d6c0559 100644 --- a/gdb/guile/scm-objfile.c +++ b/gdb/guile/scm-objfile.c @@ -250,7 +250,7 @@ gdbscm_objfile_progspace (SCM self) objfile_smob *o_smob = ofscm_get_valid_objfile_smob_arg_unsafe (self, SCM_ARG1, FUNC_NAME); - return psscm_scm_from_pspace (o_smob->objfile->pspace); + return psscm_scm_from_pspace (o_smob->objfile->pspace ()); } /* (objfile-pretty-printers <gdb:objfile>) -> list |