diff options
author | Doug Evans <dje@google.com> | 2013-11-08 10:43:23 -0800 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2013-11-08 10:49:44 -0800 |
commit | db0fec5c4881dc2e65eeba47cd574379c03a4cf4 (patch) | |
tree | 1fb58d55d854ef64f7e9c1587d4215c0859ba5d7 /gdb/doc | |
parent | e78e02e6d91ee2ec3c3d1c560366089dfbafab2c (diff) | |
download | gdb-db0fec5c4881dc2e65eeba47cd574379c03a4cf4.zip gdb-db0fec5c4881dc2e65eeba47cd574379c03a4cf4.tar.gz gdb-db0fec5c4881dc2e65eeba47cd574379c03a4cf4.tar.bz2 |
Change "set debug symtab-create" to take a verbosity level.
* NEWS: Mention that "set debug symtab-create" now accepts a
verbosity level.
* buildsym.c (end_symtab_from_static_block): Call set_symtab_primary
to set the symtab's primary flag.
* jit.c (finalize_symtab): Ditto.
* mdebugread.c (psymtab_to_symtab_1): Ditto.
* symfile.c (allocate_symtab): Only print debugging messages for
symtab_create_debug levels 2 and higher.
* symtab.c (symtab_create_debug): Change type to unsigned int.
(set_symtab_primary): New function.
(_initialize_symtab): Change "set debug symtab-create" to a
zuinteger option.
* symtab.h (set_symtab_primary): Declare.
(symtab_create_debug): Update decl.
doc/
* gdb.texinfo (Debugging Output): Update text for
"set debug symtab-create".
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 3894647..8b1fee4 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2013-11-08 Doug Evans <dje@google.com> + + * gdb.texinfo (Debugging Output): Update text for + "set debug symtab-create". + 2013-11-07 Phil Muldoon <pmuldoon@redhat.com> * gdb.texinfo (Commands In Python): Document COMPLETE_EXPRESSION diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 6a1ed8d..5059243 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -22731,7 +22731,9 @@ Show the current state of symbol file debugging messages. @item set debug symtab-create @cindex symbol table creation Turns on or off display of debugging messages related to symbol table creation. -The default is off. +The default is 0 (off). +A value of 1 provides basic information. +A value greater than 1 provides more verbose information. @item show debug symtab-create Show the current state of symbol table creation debugging. @item set debug target |