From: Yao Qi Date: Fri, 11 Jan 2013 00:56:05 +0000 (+0000) Subject: gdb/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ca9c6ee2b7740e92a1630a9c7040eaba557bcd49;p=binutils-gdb.git gdb/ 2013-01-11 Yao Qi Stan Shebs * psymtab.c (init_psymbol_list): Clarify the comment. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 65cbabc7b89..a4e0b747ebd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-01-11 Yao Qi + Stan Shebs + + * psymtab.c (init_psymbol_list): Clarify the comment. + 2013-01-11 Yao Qi * breakpoint.c (print_one_breakpoint_location): Remove dead code. diff --git a/gdb/psymtab.c b/gdb/psymtab.c index c6adb971e82..5181ec3885f 100644 --- a/gdb/psymtab.c +++ b/gdb/psymtab.c @@ -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;