[COMMITTED PATCH] symtab.h (struct symtab) <next>: Fix comment.

Doug Evans xdje42@gmail.com
Sat Feb 28 20:09:00 GMT 2015


Hi.

I noticed this outdated comment.

2015-02-28  Doug Evans  <xdje42@gmail.com>

	* symtab.h (struct symtab) <next>: Fix comment.

diff --git a/gdb/symtab.h b/gdb/symtab.h
index 0eb3a5b..6a0b8da 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -924,7 +924,8 @@ struct section_offsets
 
 struct symtab
 {
-  /* Unordered chain of all existing symtabs of this objfile.  */
+  /* Unordered chain of all filetabs in the compunit,  with the exception
+     that the "main" source file is the first entry in the list.  */
 
   struct symtab *next;
 



More information about the Gdb-patches mailing list