Fix a couple of comments

While working on objfiles I noticed a typo in one comment, and another
comment that, as far as I can tell, has been obsolete for a very long
time.

gdb/ChangeLog
2019-04-10  Tom Tromey  <tom@tromey.com>

	* symfile.c (reread_symbols): Remove old comment.
	* objfiles.c (free_all_objfiles): Fix a typo.
This commit is contained in:
Tom Tromey
2019-03-10 15:01:26 -06:00
parent bf227d6105
commit ee3711344b
3 changed files with 6 additions and 7 deletions

View File

@@ -699,7 +699,7 @@ free_all_objfiles (void)
{
struct so_list *so;
/* Any objfile referencewould become stale. */
/* Any objfile reference would become stale. */
for (so = master_so_list (); so; so = so->next)
gdb_assert (so->objfile == NULL);