Update for moxie ISA changes
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 847944aad350cc1a0e4847f620187054021061ab..30ec8aba45f0ccc16a45bc8255609f9b287486f4 100644 (file)
@@ -1,3 +1,174 @@
+2014-12-27  Anthony Green  <green@moxielogic.com>
+
+       * moxie-tdep.c (moxie_software_single_step): ldo/sto instructions
+       are 32 bits, not 48.  Update comments for various instructions.
+       (moxie_process_record): Update for new shorter ldo/sto
+       instructions.  Add support for sex, zex, umul.x and mul.x
+       instructions.  Update comments for various instructions.
+
+2014-12-25  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * arm-tdep.c (arm_gdbarch_init): Explicitely handle value 3 of
+       Tag_ABI_VFP_args. Also replace hardcoded values by enum values in the
+       switch handling the different values of Tag_ABI_VFP_args.
+
+2014-12-23  Doug Evans  <xdje42@gmail.com>
+
+       * ada-lang.c (user_select_syms): Only fetch symtab if symbol is
+       objfile-owned.
+       (cache_symbol): Ignore symbols that are not objfile-owned.
+       * block.c (block_objfile): New function.
+       (block_gdbarch): New function.
+       * block.h (block_objfile): Declare.
+       (block_gdbarch): Declare.
+       * c-exp.y (classify_name): Remove call to
+       language_lookup_primitive_type.  No longer necessary.
+       * gdbtypes.c (lookup_typename): Call lookup_symbol_in_language.
+       Remove call to language_lookup_primitive_type.  No longer necessary.
+       * guile/scm-symbol.c (syscm_gdbarch_data_key): New static global.
+       (syscm_gdbarch_data): New struct.
+       (syscm_init_arch_symbols): New function.
+       (syscm_get_symbol_map): Renamed from syscm_objfile_symbol_map.
+       All callers updated.  Handle symbols owned by arches.
+       (gdbscm_symbol_symtab): Handle symbols owned by arches.
+       (gdbscm_initialize_symbols): Initialize syscm_gdbarch_data_key.
+       * language.c (language_lookup_primitive_type_1): New function.
+       (language_lookup_primitive_type): Call it.
+       (language_alloc_type_symbol): New function.
+       (language_init_primitive_type_symbols): New function.
+       (language_lookup_primitive_type_as_symbol): New function.
+       * language.h (struct language_arch_info) <primitive_type_symbols>:
+       New member.
+       (language_lookup_primitive_type): Add function comment.
+       (language_lookup_primitive_type_as_symbol): Declare.
+       * printcmd.c (address_info): Handle arch-owned symbols.
+       * python/py-symbol.c (sympy_get_symtab): Ditto.
+       (set_symbol): Ditto.
+       (sympy_dealloc): Ditto.
+       * symmisc.c (print_symbol): Ditto.
+       * symtab.c (fixup_symbol_section): Ditto.
+       (lookup_symbol_aux): Initialize block_found.
+       (basic_lookup_symbol_nonlocal): Try looking up the symbol as a
+       primitive type.
+       (initialize_objfile_symbol_1): New function.
+       (initialize_objfile_symbol): Call it.
+       (allocate_symbol): Call it.
+       (allocate_template_symbol): Call it.
+       (symbol_objfile): Assert symbol is objfile-owned.
+       (symbol_arch, symbol_symtab, symbol_set_symtab): Ditto.
+       * symtab.h (struct symbol) <owner>: Replaces member "symtab".
+       (struct symbol) <is_objfile_owned>: New member.
+       (SYMBOL_OBJFILE_OWNED): New macro.
+       * cp-namespace.c (cp_lookup_bare_symbol): New arg langdef.
+       All callers updated.  Try to find the symbol as a primitive type.
+       (lookup_namespace_scope): New arg langdef.  All callers updated.
+       Call cp_lookup_bare_symbol directly for simple bare symbols.
+
+2014-12-23  Doug Evans  <xdje42@gmail.com>
+
+       * symtab.h (SYMBOL_DOMAIN_BITS): New macro.
+       (struct symbol) <domain>: Use it.
+
+2014-12-23  Doug Evans  <xdje42@gmail.com>
+
+       * symtab.c (initialize_objfile_symbol): Renamed from initialize_symbol.
+       All callers updated.
+
+2014-12-23  Doug Evans  <xdje42@gmail.com>
+
+       * language.h (struct language_defn) <la_lookup_symbol_nonlocal>:
+       New arg language_defn.  All uses updated.
+
+2014-12-23  Doug Evans  <xdje42@gmail.com>
+
+       * symtab.h (SYMBOL_SYMTAB): Delete
+       (SYMBOL_OBJFILE): Delete.
+       (symbol_symtab, symbol_set_symtab): Declare.
+       (symbol_objfile, symbol_arch): Declare.
+       * symtab.c (symbol_symtab): Replaces SYMBOL_SYMTAB.  All uses updated.
+       All references to symbol->symtab redirected through here.
+       (symbol_set_symtab): New function.  All assignments to SYMBOL_SYMTAB
+       redirected through here.
+       (symbol_arch): New function.
+       (symbol_objfile): New function.  Replaces SYMBOL_OBJFILE.
+       All uses updated.
+       * cp-namespace.c (cp_lookup_symbol_imports_or_template): Call
+       symbol_arch.
+       * findvar.c (default_read_var_value): Call symbol_arch.
+       * guile/scm-frame.c (gdbscm_frame_block): Call symbol_objfile.
+       * jv-lang.c (add_class_symtab_symbol): Call symbol_arch.
+       * printcmd.c (address_info): Call symbol_arch.
+       * tracepoint.c (scope_info): Call symbol_arch.
+
+2014-12-22  Doug Evans  <xdje42@gmail.com>
+
+       * cp-namespace.c (cp_lookup_symbol_via_all_imports): New function.
+       (cp_lookup_symbol_namespace): Call it.
+       (cp_lookup_symbol_nonlocal): Ditto.
+
+2014-12-22  Doug Evans  <xdje42@gmail.com>
+
+       * cp-namespace.c (cp_lookup_symbol_via_imports): New arg
+       "search_scope_first".  All callers updated.
+
+2014-12-22  Doug Evans  <xdje42@gmail.com>
+
+       * cp-namespace.c (cp_lookup_nested_symbol_1): New function.
+       (cp_basic_lookup_symbol): Renamed from lookup_symbol_file.  Delete
+       arg "search".  All callers updated.
+       (cp_lookup_bare_symbol): New function.
+       (cp_search_static_and_baseclasses): New function.
+       (cp_lookup_symbol_in_namespace): Rewrite, move more logic here.
+       (find_symbol_in_baseclass): Simplify, call cp_lookup_nested_symbol_1.
+       (cp_lookup_nested_symbol): Ditto.
+
+2014-12-22  Doug Evans  <xdje42@gmail.com>
+
+       * cp-namespace.c (cp_lookup_symbol_in_namespace): Simplify.
+
+2014-12-22  Doug Evans  <xdje42@gmail.com>
+
+       * cp-namespace.c: Whitespace cleanup.
+
+2014-12-20  Keith Seitz  <keiths@redhat.com>
+           Mihail-Marian Nistor  <mihail.nistor@freescale.com>
+
+       PR gdb/17394
+       * linespec.c (struct collect_minsyms): Add new member `symtab'.
+       (add_minsym): Handle cases where info.symtab is non-NULL.
+       (search_minsyms_for_name): Add new parameter `symtab'.
+       Handle limiting searches to a specific symtab.
+       (add_matching_symtabs_to_info): Search through minimal symbols
+       for language_asm files for which no new symbols are found.
+
+2014-12-19  Maciej W. Rozycki  <macro@codesourcery.com>
+           Nigel Stephens  <nigel@mips.com>
+           Chris Dearman  <chris@mips.com>
+           Luis Machado  <lgustavo@codesourcery.com>
+
+       * Makefile.in (ALL_TARGET_OBS): Add mips-sde-tdep.o.
+       (ALLDEPFILES): Add mips-sde-tdep.c.
+       * mips-sde-tdep.c: New file containg SDE specific code.
+       * configure.tgt (mips*-sde*-elf*): Add mips-sde-dep.o to
+       gdb_target_obs.
+       * defs.h (gdb_osabi): Add GDB_OSABI_SDE.
+       * osabi.c (gdb_osabi_names): Add SDE.
+       * NEWS: Mention the change.
+
+2014-12-18  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * elfread.c (elf_symfile_init): Remove stale comment.
+       (elf_symfile_read): Same.
+       * symfile.h (struct sym_fns): Same.
+
+2014-12-18  Nigel Stephens  <nigel@mips.com>
+           Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips-tdep.c (print_fpu_flags): New function.
+       (mips_print_float_info): Likewise.
+       (mips_gdbarch_init): Install mips_print_float_info as gdbarch
+       print_float_info routine.
+
 2014-12-18  Yao Qi  <yao@codesourcery.com>
 
        * gdbarch.sh (print_float_info): Change its type from 'M' to 'm'.
This page took 0.03058 seconds and 4 git commands to generate.