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/annotate.c | |
parent | d21176c014a4696e667b8567df90364939269170 (diff) | |
download | binutils-134a0a106c944234e9e4f0dd95af96986117d7d9.zip binutils-134a0a106c944234e9e4f0dd95af96986117d7d9.tar.gz binutils-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/annotate.c')
-rw-r--r-- | gdb/annotate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/annotate.c b/gdb/annotate.c index 8818029..c1d4229 100644 --- a/gdb/annotate.c +++ b/gdb/annotate.c @@ -457,7 +457,7 @@ annotate_source_line (struct symtab *s, int line, int mid_statement, /* Update the current symtab and line. */ symtab_and_line sal; - sal.pspace = s->compunit ()->objfile ()->pspace; + sal.pspace = s->compunit ()->objfile ()->pspace (); sal.symtab = s; sal.line = line; set_current_source_symtab_and_line (sal); |