[pushed] Update partial_symtab comment

Message ID 20200221215341.8167-1-tom@tromey.com
State New
Headers show
Series
  • [pushed] Update partial_symtab comment
Related show

Commit Message

Tom Tromey Feb. 21, 2020, 9:53 p.m.
The introductory comment for partial_symtab has been mildly incorrect
since the partial symtab code was changed to allocate partial symtabs
with "new".  This patch removes the incorrect text.

gdb/ChangeLog
2020-02-21  Tom Tromey  <tom@tromey.com>

	* psympriv.h (struct partial_symtab): Update comment.
---
 gdb/ChangeLog  | 4 ++++
 gdb/psympriv.h | 3 +--
 2 files changed, 5 insertions(+), 2 deletions(-)

-- 
2.17.2

Patch

diff --git a/gdb/psympriv.h b/gdb/psympriv.h
index 1b1f57cf764..0effedc4ec2 100644
--- a/gdb/psympriv.h
+++ b/gdb/psympriv.h
@@ -99,8 +99,7 @@  enum psymtab_search_status
    They are all chained on partial symtab lists.
 
    Even after the source file has been read into a symtab, the
-   partial_symtab remains around.  They are allocated on an obstack,
-   objfile_obstack.  */
+   partial_symtab remains around.  */
 
 struct partial_symtab
 {