aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.h
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
parentc256e171654791e456088ccb4c83d183650d8940 (diff)
downloadgdb-8fb8eb5ca4ca4c7a1410659a289e1a91c380832d.zip
gdb-8fb8eb5ca4ca4c7a1410659a289e1a91c380832d.tar.gz
gdb-8fb8eb5ca4ca4c7a1410659a289e1a91c380832d.tar.bz2
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 9644784..72cef50 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