2009-10-12 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Tue, 13 Oct 2009 07:56:29 +0000 (07:56 +0000)
committerTristan Gingold <gingold@adacore.com>
Tue, 13 Oct 2009 07:56:29 +0000 (07:56 +0000)
commite361b228f21dbaaacbeb3b0813ec57d0d6b6cb94
treec848e404b41d9376d7f1cfcbed0a6e97a513eadf
parentfc3e1e3c7e5d81ec71176b7015e1f0b5d81d751f
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.
gdb/ChangeLog
gdb/objfiles.c
gdb/objfiles.h
gdb/symfile.c