aboutsummaryrefslogtreecommitdiff
path: root/gdb/complaints.h
AgeCommit message (Collapse)AuthorFilesLines
2003-01-282003-01-28 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-38/+0
* complaints.c (complain): Delete function. * complaints.h (struct deprecated_complaint): Delete definition. (complain): Delete declaration.
2002-11-15 * complaints.h: Fix spelling errors.Andrew Cagney1-2/+2
2002-11-152002-11-15 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-4/+16
* complaints.h: Add comment explaining how to eliminate a deprecated_complain call.
2002-10-252002-10-25 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-6/+12
* complaints.h (struct deprecated_complaint): Rename `struct complaint'. * complaints.c (complain): Update. * remote-vx68.c, remote-vxmips.c, remote-vxsparc.c: Delete incorrect comment indicating that "symfile.h" was being included for the `struct complaint' definition. * remote-vx.c: Update. * objc-lang.c: Update. * xcoffread.c: Update. * hpread.c: Update. * mdebugread.c: Update. * stabsread.c: Update. * dwarf2read.c: Update. * dwarfread.c: Update. * elfread.c: Update. * coffread.c: Update. * stabsread.h: Update. * dbxread.c: Update. * buildsym.c: Update. * gdbtypes.c: Update. * macrotab.c: Update.
2002-09-192002-09-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-18/+38
* 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.
2001-03-06Update/correct copyright notices.Kevin Buettner1-1/+2
2000-05-28PARAMS removal.Kevin Buettner1-4/+2
1999-07-07import gdb-1999-07-07 post reformatJason Molenda1-19/+20
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+53
1999-04-16Initial creation of sourceware repositoryStan Shebs1-53/+0
1998-12-10Start of HP merge changes to GDB.David Taylor1-0/+7
1995-08-02Update FSF address.Fred Fish1-1/+1
1995-05-18 * utils.c (fprintf_filtered, fprintf_unfiltered, fprintfi_filtered,J.T. Conklin1-1/+1
printf_filtered, printf_unfiltered, printfi_filtered, query, warning, error, fatal, fatal_dump_core): Use stdarg.h macros when compiling with an ANSI compiler. * complain.c (complain): Likewise. * language.c (type_error, range_error): Likewise. * monitor.c (monitor_printf, monitor_printf_noecho): Likewise. * remote-array.c (printf_monitor, debuglogs): Likewise. * remote-mips.c (mips_error): Likewise. * remote-os9k.c (printf_monitor): Likewise. * remote-st.c (printf_stdebug): Likewise. * gdbtk.c (gdbtk_query): Likewise. * defs.h, complain.h, language.h, monitor.h: Add prototypes to match above changes. * printcmd.c: Remove uneeded #include <varargs.h>. * remote-e7000.c: Likewise. * f-typeprint.c (f_type_print_base): Fix typo found by above changes.
1992-12-15 * complaints.c: New file, code moved from utils.c.Fred Fish1-0/+46
* complaints.c (complain): Made into a varargs function. * complaints.h: New file, code moved from symfile.h. * Makefile.in (SFILES_MAINDIR): Add complaints.c. * Makefile.in (HFILES): Add complaints.h. * Makefile.in (OBS): Add complaints.o. * symfile.c (complaint_root, stop_whining, complaint_series, complain, clear_complaints, add_show_from_set for stop_whining): Moved to complaints.c. * symfile.h (struct complaint, complaint_root decl, complain prototype, clear_complaints prototype): Moved to complaints.h. * buildsym.c, coffread.c, dbxread.c, dwarfread.c, elfread.c, gdbtypes.c, mipsread.c, stbsread.c, symfile.c: Include complaints.h. Remove casts from arguments to complain(), which is now a varargs function, and remove unnecessary placeholder zero args. * defs.h (begin_line): Add prototype. * defs.h (vprintf_filtered): Add prototype. * dwarfread.c (varargs.h): Remove, no longer needed. * dwarfread.c (dwarfwarn): Remove prototype and function. * dwarfread.c (complaints): Define a bunch of complaints. * dwarfread.c (SQUAWK): Remove macro defs, convert all usages to standard complain() calls. * utils.c (begin_line): New function that ensures that whatever gets filter-printed next starts on its own line. * utils.c (vprintf_filtered): New func, like vfprintf_filtered, but to stdout (calls vfprintf_filtered internally).