aboutsummaryrefslogtreecommitdiff
path: root/gdb/psymtab.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-01-11 00:56:05 +0000
committerYao Qi <yao@codesourcery.com>2013-01-11 00:56:05 +0000
commitca9c6ee2b7740e92a1630a9c7040eaba557bcd49 (patch)
tree029f3fac36fafed6ee0b929b5ea398a26b72850e /gdb/psymtab.c
parentf28045c2aa895911989432513d2728b6f339f743 (diff)
downloadgdb-ca9c6ee2b7740e92a1630a9c7040eaba557bcd49.zip
gdb-ca9c6ee2b7740e92a1630a9c7040eaba557bcd49.tar.gz
gdb-ca9c6ee2b7740e92a1630a9c7040eaba557bcd49.tar.bz2
gdb/
2013-01-11 Yao Qi <yao@codesourcery.com> Stan Shebs <stan@codesourcery.com> * psymtab.c (init_psymbol_list): Clarify the comment.
Diffstat (limited to 'gdb/psymtab.c')
-rw-r--r--gdb/psymtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/psymtab.c b/gdb/psymtab.c
index c6adb97..5181ec3 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;