2002-09-18 Andrew Cagney <ac131313@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Thu, 19 Sep 2002 00:42:41 +0000 (00:42 +0000)
committerAndrew Cagney <cagney@redhat.com>
Thu, 19 Sep 2002 00:42:41 +0000 (00:42 +0000)
commitb9caf5053f5684f063a33357b6483cd2b62de0ec
tree139bdef42c509a2f7a6423a91b77883965200a0c
parentd2e6263c4a7536e5e07990c1bd270fa36d8e092a
2002-09-18  Andrew Cagney  <ac131313@redhat.com>

* complaints.h: Update copyright.
(struct complaints): Declare.
(struct complaint): Make `message' constant.
(internal_complaint): Declare.
(complaint): Declare.
(complaint_root): Delete declaration.
(symfile_complaints): Delete declaration.
(struct complaints): Add opaque declaration.
(clear_complaints): Add a complaints parameter.
* complaints.c: Update copyright.
(enum complaint_series): Define.
(complaint_root): Delete.
(struct complaints): Define.
(complaint_sentinel, symfile_complaint_book): New variables.
(symfile_explanations, symfile_complaints): New variables.
New variables.
(get_complaints): New function.
(vcomplaint): New function.
(complaint): New function.
(internal_complaint): New function.
(complain): Call vcomplain with symfile_complaint.
(clear_complaints): Rewrite.
(_initialize_complaints): Use add_setshow_command.
* Makefile.in (complaints.o): Update dependencies.
* symfile.c (syms_from_objfile): Add symfile_complaints parameter
to call to clear_complaints.
(new_symfile_objfile, reread_symbols): Ditto.
(oldsyms_complaint): Delete.
(empty_symtab_complaint, unknown_option_complaint): Delete.
(free_named_symtabs): Use complaint instead of complain.
gdb/ChangeLog
gdb/Makefile.in
gdb/complaints.c
gdb/complaints.h
gdb/symfile.c
This page took 0.026003 seconds and 4 git commands to generate.