New option "set debug symfile on".
authorDoug Evans <dje@google.com>
Wed, 25 Sep 2013 23:17:12 +0000 (23:17 +0000)
committerDoug Evans <dje@google.com>
Wed, 25 Sep 2013 23:17:12 +0000 (23:17 +0000)
commit8fb8eb5ca4ca4c7a1410659a289e1a91c380832d
treef77f83bfe6fe0710e823d1dde50d463a4a3e51e1
parentc256e171654791e456088ccb4c83d183650d8940
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/ChangeLog
gdb/Makefile.in
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/elfread.c
gdb/objfiles.h
gdb/symfile-debug.c [new file with mode: 0644]
gdb/symfile.c