diff options
author | Tristan Gingold <gingold@adacore.com> | 2009-10-13 07:56:29 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2009-10-13 07:56:29 +0000 |
commit | e361b228f21dbaaacbeb3b0813ec57d0d6b6cb94 (patch) | |
tree | c848e404b41d9376d7f1cfcbed0a6e97a513eadf /gdb/objfiles.h | |
parent | * elflink.c (_bfd_elf_merge_symbol): Revert previous patch. (diff) | |
download | binutils-gdb-e361b228f21dbaaacbeb3b0813ec57d0d6b6cb94.tar.gz binutils-gdb-e361b228f21dbaaacbeb3b0813ec57d0d6b6cb94.tar.bz2 binutils-gdb-e361b228f21dbaaacbeb3b0813ec57d0d6b6cb94.zip |
2009-10-12 Tristan Gingold <gingold@adacore.com>
* objfiles.c (objfile_has_symbols): New function.
* objfiles.h (objfile_has_symbols): Add prototype.
* symfile.c (symbol_file_add_with_addrs_or_offsets): Call
objfile_has_symbols.
(reread_symbols): Ditto.
Diffstat (limited to 'gdb/objfiles.h')
-rw-r--r-- | gdb/objfiles.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h index 62fa498083a..aff430cb36b 100644 --- a/gdb/objfiles.h +++ b/gdb/objfiles.h @@ -476,6 +476,8 @@ extern int objfile_has_partial_symbols (struct objfile *objfile); extern int objfile_has_full_symbols (struct objfile *objfile); +extern int objfile_has_symbols (struct objfile *objfile); + extern int have_partial_symbols (void); extern int have_full_symbols (void); |