aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2013-09-25 23:17:12 +0000
committerDoug Evans <dje@google.com>2013-09-25 23:17:12 +0000
commit8fb8eb5ca4ca4c7a1410659a289e1a91c380832d (patch)
treef77f83bfe6fe0710e823d1dde50d463a4a3e51e1 /gdb/objfiles.h
parent * symfile.h (struct sym_fns): Delete member "sym_flavour". (diff)
downloadbinutils-gdb-8fb8eb5ca4ca4c7a1410659a289e1a91c380832d.tar.gz
binutils-gdb-8fb8eb5ca4ca4c7a1410659a289e1a91c380832d.tar.bz2
binutils-gdb-8fb8eb5ca4ca4c7a1410659a289e1a91c380832d.zip
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.
Diffstat (limited to 'gdb/objfiles.h')
-rw-r--r--gdb/objfiles.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h
index 9644784f0fa..72cef502299 100644
--- a/gdb/objfiles.h
+++ b/gdb/objfiles.h
@@ -475,6 +475,9 @@ extern int have_partial_symbols (void);
extern int have_full_symbols (void);
+extern void objfile_set_sym_fns (struct objfile *objfile,
+ const struct sym_fns *sf);
+
extern void objfiles_changed (void);
/* This operation deletes all objfile entries that represent solibs that