Fix (C) and credit Michael Snyder with objc-lang.c.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 118e13d0dbdcb3721ac0e7617bc0d364464ccf62..5672cd5bd9948858e6474e980f1d4df4183f3bd4 100644 (file)
@@ -1,3 +1,148 @@
+2002-09-19  Andrew Cagney  <ac131313@redhat.com>
+
+       * objc-exp.y, objc-lang.h, objc-lang.c: Fix copyright notice.
+
+2002-09-18  Andrew Cagney  <ac131313@redhat.com>
+
+       * breakpoint.c, c-exp.y, defs.h, elfread.c, expression.h,
+       jv-exp.y, language.c, language.h, p-exp.y, parse.c, parser-defs.h,
+       printcmd.c, source.c, stabsread.c, symfile.c, symtab.h, utils.c,
+       valops.c, value.h: Revert previous change.
+       
+2002-09-18  Michael Snyder  <msnyder@redhat.com>
+
+       Preliminary support for Objective-C:
+       * defs.h (language_objc): New enum value.
+       (puts_filtered_tabular): Declaration only, exported from utils.c.
+       (skip_quoted): Delete, declared in completer.h.
+       * c-exp.y: Include completer.h.
+       * p-exp.y: Ditto.
+       * jv-exp.y: Ditto.
+       * expression.h (OP_MSGCALL, OP_SELECTOR, OP_SELF, OP_NSSTRING): 
+       New operator enum values.
+       * language.h (CAST_IS_CONVERSION): Test for language_objc.
+       * language.c (binop_result_type): Handle language_objc case.
+       (integral_type, character_type, string_type, boolean_type,
+       structured_type, binop_type_check): Ditto.
+       * symtab.h (SYMBOL_OBJC_DEMANGLED_NAME): Define.
+       (struct objc_specific): Add to general_symbol_info.
+       (SYMBOL_INIT_LANGUAGE_SPECIFIC): Add objc initialization.
+       (SYMBOL_DEMANGLED_NAME): Handle objc case.
+       * parser-defs.h (struct objc_class_str): New struct type.
+       (start_msglist, end_msglist, add_msglist): Declaration only,
+       exported from objc-lang.c.
+       * value.h (value_of_local, value_nsstring, 
+       call_function_by_hand_expecting_type): Exported from valops.c.
+       * valops.c (find_function_addr): Export.
+       (call_function_by_hand_expecting_type): New function.
+       (value_of_local): New function.
+       * symfile.c (init_filename_language_table): Add ".m" extension
+       for Objective-C.
+       * utils.c (puts_filtered_tabular): New function.
+       (fprintf_symbol_filtered): Add objc demangling support (disabled).
+       (set/show demangle): Extend help-string to refer to ObjC.
+       * elfread.c (elf_symtab_read): Skip Objective-C special symbols.
+       * stabsread.c (symbol_reference_defined): Objective-C symbols
+       may contain colons: make allowances when scanning stabs strings
+       for colons.
+       (objc_find_colon): New function.
+       * printcmd.c (address_info): If language == objc then print
+       "self" instead of "this".
+       * parse.c (length_of_subexp): Handle new operators OP_MSGCALL,
+       OP_NSSTRING, and OP_SELF.
+       (prefixify_subexp): Ditto.
+       * source.c (print_source_lines): Mention objc in comment.
+       * breakpoint.c (parse_breakpoint_sals): Recognize Objective-C
+       method names.
+
+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.
+
+2002-09-18  Michael Snyder  <msnyder@redhat.com>
+
+       * objc-lang.c: First clean-up round: comments, indentation.
+       * objc-lang.h: Ditto.
+       * objc-lang.y: Ditto.
+
+2002-09-18  Andrew Cagney  <ac131313@redhat.com>
+
+       * maint.c (maintenance_internal_error): Print the parameter as the
+       error message.
+       (maintenance_internal_warning): New function.
+       (_initialize_maint_cmds): Add command `maint internal-warning'.
+
+       * defs.h (internal_warning, internal_vwarning): Declare.
+       * utils.c (struct internal_problem): Define.
+       (internal_vproblem): New function.
+       (internal_warning): New function.
+       (internal_vwarning): New function.
+       (internal_warning_problem, internal_error_problem): New variables.
+       (internal_verror): Just call internal_vproblem.
+
+2002-09-18  Michael Snyder  <msnyder@redhat.com>
+
+       * objc-lang.c: New file, support for Objective-C.
+       Preliminary check-in, not yet integrated into gdb.
+       * objc-lang.h: New file.
+       * objc-exp.y:  New file.
+
+2002-09-18  Andrew Cagney  <ac131313@redhat.com>
+
+       * infrun.c (signal_stop_update): Convert definition to ISO C.
+       (signal_print_update): Ditto.
+       (signal_pass_update): Ditto.
+       * inflow.c (terminal_save_ours): Ditto.
+
+       * h8300-tdep.c (h8300_gdbarch_init): Use C instead of C++
+       comments.
+       
+       * config/djgpp/fnchange.lst: Handle name clashes between
+       bfd/coff-tic30.c, bfd/coff-tic4x.c, bfd/coff-tic54x.c and
+       bfd/coff-tic80.c.
+
+       * i386-linux-tdep.h: Fix tipo.
+
+2002-09-18  Adam Fedor  <fedor@gnu.org>
+
+       * MAINTAINERS: Add myself to the Write After Approval list.
+
+2002-09-18  Jim Blandy  <jimb@redhat.com>
+
+       * dbxread.c, mdebugread.c: Revert my change of 2001-10-23.  Moving
+       texthigh and textlow to reader-specific structs caused
+       objfile_relocate to miss them.  This is fixable, but the work that
+       the change was supposed to prepare GDB for never got done anyway.
+
 2002-09-18  David Carlton  <carlton@math.stanford.edu>
 
        * MAINTAINERS: Alphabetize Write After Approval list.
This page took 0.025994 seconds and 4 git commands to generate.