From d614be71abc90e4608905cc82f636dcdf0416c9f Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Wed, 25 Sep 2013 23:17:11 +0000 Subject: New option "set debug symfile on". * NEWS: Mention "set debug symfile". * Makefile.in (SFILES): Add symfile-debug.c. (COMMON_OBS): Add symfile-debug.o. * elfread.c (elf_symfile_read): Use objfile_set_sym_fns to set the objfile's symbol functions. * objfiles.h (objfile_set_sym_fns): Declare. * symfile-debug.c: New file. * symfile.c (syms_from_objfile_1): Use objfile_set_sym_fns to set the objfile's symbol functions. (reread_symbols): Ditto. --- gdb/doc/ChangeLog | 4 ++++ gdb/doc/gdb.texinfo | 6 ++++++ 2 files changed, 10 insertions(+) (limited to 'gdb/doc') diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index f5e4a045057..f5a80d3e78d 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2013-09-25 Doug Evans + + * gdb.texinfo (Debugging Output): Document set/show debug symfile. + 2013-09-16 Stan Shebs Remove the internals manual gdbint.texinfo. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 60d28776509..07d5068797d 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -22573,6 +22573,12 @@ Turns on or off debugging messages for FR-V shared-library code. @item show debug solib-frv Display the current state of FR-V shared-library code debugging messages. +@item set debug symfile +@cindex symbol file functions +Turns on or off display of debugging messages related to symbol file functions. +The default is off. @xref{Files}. +@item show debug symfile +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. -- cgit v1.2.1