gdb/
authorYao Qi <yao@codesourcery.com>
Fri, 11 Jan 2013 00:56:05 +0000 (00:56 +0000)
committerYao Qi <yao@codesourcery.com>
Fri, 11 Jan 2013 00:56:05 +0000 (00:56 +0000)
2013-01-11  Yao Qi  <yao@codesourcery.com>
    Stan Shebs  <stan@codesourcery.com>

* psymtab.c (init_psymbol_list): Clarify the comment.

gdb/ChangeLog
gdb/psymtab.c

index 65cbabc7b893bd506148e72b82582899ae625736..a4e0b747ebde3c36722e14f89217a7bf56b29303 100644 (file)
@@ -1,3 +1,8 @@
+2013-01-11  Yao Qi  <yao@codesourcery.com>
+           Stan Shebs  <stan@codesourcery.com>
+
+       * psymtab.c (init_psymbol_list): Clarify the comment.
+
 2013-01-11  Yao Qi  <yao@codesourcery.com>
 
        * breakpoint.c (print_one_breakpoint_location): Remove dead code.
index c6adb971e827dd77d05dded965de1b0093360d08..5181ec3885fe34f1c1c20c911c44cdd339a488ab 100644 (file)
@@ -1702,7 +1702,7 @@ init_psymbol_list (struct objfile *objfile, int total_symbols)
 
   /* Current best guess is that approximately a twentieth
      of the total symbols (in a debugging file) are global or static
-     oriented symbols.  */
+     oriented symbols, then multiply that by slop factor of two.  */
 
   objfile->global_psymbols.size = total_symbols / 10;
   objfile->static_psymbols.size = total_symbols / 10;