20 Jun 2012 00:26
[doc RFA] "set debug dwarf2-read" and "set debug symtab-create"
Doug Evans <dje <at> google.com>
2012-06-19 22:26:45 GMT
2012-06-19 22:26:45 GMT
Hi. I'm committing this after a doc RFA. [But feel free to suggest changes or enhancements.] This adds two options for debugging dwarf2 debug info reading and symbol table creation, and adds the beginnings of some useful messages for such. 2012-06-19 Doug Evans <dje <at> google.com> * NEWS: Mention new options "set debug dwarf2-read" and "set debug symtab-create". * dwarf2read.c (dwarf2_read_debug): New static global. (dwarf2_build_psymtabs_hard): Add debugging printfs. (process_queue): Ditto. (process_full_comp_unit): Ditto. (_initialize_dwarf2_read): Add new option "set debug dwarf2-read". * elfread.c (elf_symfile_read): Add debugging printf. * minsyms.c (install_minimal_symbols): Ditto. * psymtab.c (allocate_psymtab): Ditto. * symfile.c (allocate_symtab): Ditto. * symtab.c (symtab_create_debug): New global. (_initialize_symtab): Add new option "set debug symtab-create". * symtab.h (symtab_create_debug): Declare. doc/ * gdb.texinfo (Debugging Output): Document debug options dwarf2-read and symtab-create. diff --git a/gdb/NEWS b/gdb/NEWS(Continue reading)
On Tue, Jun 19, 2012 at 3:26 PM, Doug Evans <dje <at> google.com> wrote:
> Hi.
>
> I'm committing this after a doc RFA.
> [But feel free to suggest changes or enhancements.]
>
> This adds two options for debugging dwarf2 debug info reading and symbol table
> creation, and adds the beginnings of some useful messages for such.
>
> 2012-06-19 Doug Evans <dje <at> google.com>
>
> * NEWS: Mention new options "set debug dwarf2-read" and
> "set debug symtab-create".
> * dwarf2read.c (dwarf2_read_debug): New static global.
> (dwarf2_build_psymtabs_hard): Add debugging printfs.
> (process_queue): Ditto.
> (process_full_comp_unit): Ditto.
> (_initialize_dwarf2_read): Add new option "set debug dwarf2-read".
> * elfread.c (elf_symfile_read): Add debugging printf.
> * minsyms.c (install_minimal_symbols): Ditto.
> * psymtab.c (allocate_psymtab): Ditto.
> * symfile.c (allocate_symtab): Ditto.
> * symtab.c (symtab_create_debug): New global.
> (_initialize_symtab): Add new option "set debug symtab-create".
> * symtab.h (symtab_create_debug): Declare.
>
> doc/
> * gdb.texinfo (Debugging Output): Document debug options dwarf2-read
RSS Feed