diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-09-19 00:42:41 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-09-19 00:42:41 +0000 |
commit | b9caf5053f5684f063a33357b6483cd2b62de0ec (patch) | |
tree | 139bdef42c509a2f7a6423a91b77883965200a0c /gdb/printcmd.c | |
parent | d2e6263c4a7536e5e07990c1bd270fa36d8e092a (diff) | |
download | gdb-b9caf5053f5684f063a33357b6483cd2b62de0ec.zip gdb-b9caf5053f5684f063a33357b6483cd2b62de0ec.tar.gz gdb-b9caf5053f5684f063a33357b6483cd2b62de0ec.tar.bz2 |
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.
Diffstat (limited to 'gdb/printcmd.c')
0 files changed, 0 insertions, 0 deletions