2003-05-19 David Carlton <carlton@bactrian.org>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 3dd4a52d2bac59874c52e6b0af14145c89f666a2..1425ca79263acec20c9553c5f567959119a0a9c6 100644 (file)
@@ -1,3 +1,47 @@
+2003-05-19  David Carlton  <carlton@bactrian.org>
+
+       Partial fix for PR c++/827.
+       * cp-support.h: Include symtab.h.
+       Declare cp_lookup_symbol_nonlocal, cp_lookup_symbol_namespace.
+       * cp-namespace.c: Update contributors.
+       (cp_lookup_symbol_nonlocal): New.
+       (lookup_namespace_scope, cp_lookup_symbol_namespace)
+       (lookup_symbol_file): Ditto.
+       * c-lang.c (cplus_language_defn): Use cp_lookup_symbol_nonlocal.
+       * block.h: Declare block_scope, block_using, block_global_block.
+       * block.c (block_scope): New.
+       (block_using, block_global_block): Ditto.
+       * Makefile.in (cp_support_h): Depend on symtab_h.
+       * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/namespace1.cc.
+
+2003-05-19  David Carlton  <carlton@bactrian.org>
+
+       * language.h (struct language_defn): Add 'la_value_of_this'
+       and 'la_lookup_symbol_nonlocal' members.
+       * symtab.h: Declare basic_lookup_symbol_nonlocal,
+       lookup_symbol_static, lookup_symbol_global,
+       lookup_symbol_aux_block.
+       * symtab.c (lookup_symbol_aux): Call language hooks to determine
+       if we should search fields of this and how to do static/global
+       lookup.
+       (lookup_symbol_aux_block): Make extern.
+       (basic_lookup_symbol_nonlocal): New.
+       (lookup_symbol_static, lookup_symbol_global): Ditto.
+       * ada-lang.c (ada_language_defn): Set 'la_value_of_this' and
+       'la_lookup_symbol_nonlocal' members.
+       * c-lang.c (c_language_defn, cplus_language_defn)
+       (asm_language_defn, minimal_language_defn): Ditto.
+       * jv-lang.c (java_language_defn): Ditto.
+       * language.c (unknown_language_defn, auto_language_defn)
+       (local_language_defn): Ditto.
+       * m2-lang.c (m2_language_defn): Ditto.
+       * objc-lang.c (objc_language_defn): Ditto.
+       * scm-lang.c (scm_language_defn): Ditto.
+       * f-lang.c (f_language_defn): Ditto, and include value.h as well.
+       * p-lang.c (pascal_language_defn): Ditto for both.
+       * Makefile.in (f-lang.o): Depend on value_h.
+       (p-lang.o): Ditto.
+
 2003-05-19  David Carlton  <carlton@bactrian.org>
 
        * block.h: Declare block_static_block.
This page took 0.024808 seconds and 4 git commands to generate.