aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-08-28 11:07:36 -0600
committerTom Tromey <tom@tromey.com>2020-08-28 11:07:36 -0600
commite0814aae5f16c06d82fde23f8bea15eea205aa54 (patch)
tree3611135ea045d5847dbdcee1dff362105bf20a9b /gdb/xcoffread.c
parent08d7da7dc9e130cbaf072c2588e1b392c2d7503e (diff)
downloadfsf-binutils-gdb-e0814aae5f16c06d82fde23f8bea15eea205aa54.zip
fsf-binutils-gdb-e0814aae5f16c06d82fde23f8bea15eea205aa54.tar.gz
fsf-binutils-gdb-e0814aae5f16c06d82fde23f8bea15eea205aa54.tar.bz2
Fix two out-of-date comments
While looking at psymtabs again, I noticed a couple of outdated comments. These days, psymtabs can be destroyed, as they are no longer obstack-allocated. gdb/ChangeLog 2020-08-28 Tom Tromey <tom@tromey.com> * xcoffread.c (xcoff_end_psymtab): Update comment. * dbxread.c (dbx_end_psymtab): Update comment.
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r--gdb/xcoffread.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index a792c0f..389678a 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -2038,8 +2038,7 @@ xcoff_end_psymtab (struct objfile *objfile, legacy_psymtab *pst,
&& pst->n_global_syms == 0
&& pst->n_static_syms == 0)
{
- /* Throw away this psymtab, it's empty. We can't deallocate it, since
- it is on the obstack, but we can forget to chain it on the list. */
+ /* Throw away this psymtab, it's empty. */
/* Empty psymtabs happen as a result of header files which don't have
any symbols in them. There can be a lot of them. */