diff options
author | qiyao <qiyao> | 2013-01-11 00:56:05 +0000 |
---|---|---|
committer | qiyao <qiyao> | 2013-01-11 00:56:05 +0000 |
commit | 01e3b85b9ce672684d5a4f5064e4e23a530d12f8 (patch) | |
tree | 9eec277fea2bacb75099739782a4e9c25d563871 /gdb | |
parent | 3e9f027f7a1612e43f93e4e3dfea6643679c13f3 (diff) | |
download | gdb-01e3b85b9ce672684d5a4f5064e4e23a530d12f8.tar.gz |
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')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/psymtab.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 65cbabc7b89..a4e0b747ebd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,4 +1,9 @@ 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. (update_dprintf_command_list): Assert that 'printf_line' is 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; |