MIPS: Keep the ISA bit in compressed code addresses
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 98883694a5a1f9848e71ac1696a66cf71e869a8c..1dc180a6f927bc0c264b211f2e2f561690141719 100644 (file)
@@ -1,3 +1,239 @@
+2014-12-12  Maciej W. Rozycki  <macro@codesourcery.com>
+            Maciej W. Rozycki  <macro@mips.com>
+            Pedro Alves  <pedro@codesourcery.com>
+
+       * gdbarch.sh (elf_make_msymbol_special): Change type to `F',
+       remove `predefault' and `invalid_p' initializers.
+       (make_symbol_special): New architecture method.
+       (adjust_dwarf2_addr, adjust_dwarf2_line): Likewise.
+       (objfile, symbol): New declarations.
+       * arch-utils.h (default_elf_make_msymbol_special): Remove
+       prototype.
+       (default_make_symbol_special): New prototype.
+       (default_adjust_dwarf2_addr): Likewise.
+       (default_adjust_dwarf2_line): Likewise.
+       * mips-tdep.h (mips_unmake_compact_addr): New prototype.
+       * arch-utils.c (default_elf_make_msymbol_special): Remove
+       function.
+       (default_make_symbol_special): New function.
+       (default_adjust_dwarf2_addr): Likewise.
+       (default_adjust_dwarf2_line): Likewise.
+       * dwarf2-frame.c (decode_frame_entry_1): Call
+       `gdbarch_adjust_dwarf2_addr'.
+       * dwarf2loc.c (dwarf2_find_location_expression): Likewise.
+       * dwarf2read.c (create_addrmap_from_index): Likewise.
+       (process_psymtab_comp_unit_reader): Likewise.
+       (add_partial_symbol): Likewise.
+       (add_partial_subprogram): Likewise.
+       (process_full_comp_unit): Likewise.
+       (read_file_scope): Likewise.
+       (read_func_scope): Likewise.  Call `gdbarch_make_symbol_special'.
+       (read_lexical_block_scope): Call `gdbarch_adjust_dwarf2_addr'.
+       (read_call_site_scope): Likewise.
+       (dwarf2_ranges_read): Likewise.
+       (dwarf2_record_block_ranges): Likewise.
+       (read_attribute_value): Likewise.
+       (dwarf_decode_lines_1): Call `gdbarch_adjust_dwarf2_line'.
+       (new_symbol_full): Call `gdbarch_adjust_dwarf2_addr'.
+       * elfread.c (elf_symtab_read): Don't call
+       `gdbarch_elf_make_msymbol_special' if unset.
+       * mips-linux-tdep.c (micromips_linux_sigframe_validate): Strip
+       the ISA bit from the PC.
+       * mips-tdep.c (mips_unmake_compact_addr): New function.
+       (mips_elf_make_msymbol_special): Set the ISA bit in the symbol's
+       address appropriately.
+       (mips_make_symbol_special): New function.
+       (mips_pc_is_mips): Set the ISA bit before symbol lookup.
+       (mips_pc_is_mips16): Likewise.
+       (mips_pc_is_micromips): Likewise.
+       (mips_pc_isa): Likewise.
+       (mips_adjust_dwarf2_addr): New function.
+       (mips_adjust_dwarf2_line): Likewise.
+       (mips_read_pc, mips_unwind_pc): Keep the ISA bit.
+       (mips_addr_bits_remove): Likewise.
+       (mips_skip_trampoline_code): Likewise.
+       (mips_write_pc): Don't set the ISA bit.
+       (mips_eabi_push_dummy_call): Likewise.
+       (mips_o64_push_dummy_call): Likewise.
+       (mips_gdbarch_init): Install `mips_make_symbol_special',
+       `mips_adjust_dwarf2_addr' and `mips_adjust_dwarf2_line' gdbarch
+       handlers.
+       * solib.c (gdb_bfd_lookup_symbol_from_symtab): Get
+       target-specific symbol address adjustments.
+       * gdbarch.h: Regenerate.
+       * gdbarch.c: Regenerate.
+
+2014-12-12  Yao Qi  <yao@codesourcery.com>
+
+       PR tdep/14261
+       * arm-tdep.c (arm_skip_prologue): Remove unused local variable
+       'skip_pc'.  Remove code skipping prologue instructions, use
+       arm_analyze_prologue instead.
+       (arm_analyze_prologue): Stop the scanning for unrecognized
+       instruction when skipping prologue.
+
+2014-12-12  Yao Qi  <yao@codesourcery.com>
+
+       * arm-tdep.c (arm_instruction_restores_sp): New function.
+       (arm_analyze_prologue): Call arm_instruction_restores_sp.
+       (arm_in_function_epilogue_p): Move code to
+       arm_instruction_restores_sp.
+
+2014-12-11  Doug Evans  <xdje42@gmail.com>
+
+       * cp-namespace.c (cp_lookup_nested_symbol): Fix comments.
+
+2014-12-11  Doug Evans  <xdje42@gmail.com>
+
+       * symtab.c (lookup_symbol_in_objfile_symtabs): Delete forward decl.
+       (symbol *lookup_symbol_via_quick_fns): Ditto.
+       (lookup_symbol_in_objfile): Add forward decl.
+       (lookup_global_symbol_from_objfile): Simplify, call
+       lookup_symbol_in_objfile.
+
+2014-12-11  Doug Evans  <xdje42@gmail.com>
+
+       * symtab.c (domain_name) <MODULE_DOMAIN>: Add missing case.
+
+2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
+
+       PR breakpoints/17012
+       * breakpoint.c (remove_breakpoints_pid): Skip removing breakpoint if
+       it is marked as persistent.
+
+2014-12-10  Doug Evans  <xdje42@gmail.com>
+
+       * cp-namespace.c (cp_lookup_symbol_nonlocal): Move definition,
+       closer to its subroutines.
+
+2014-12-10  Doug Evans  <xdje42@gmail.com>
+
+       * cp-namespace.c (lookup_symbol_file): Move next to only caller.
+
+2014-12-10  Doug Evans  <xdje42@gmail.com>
+
+       * cp-namespace.c (cp_lookup_symbol_imports): Make static.
+       * cp-support.c (cp_lookup_symbol_imports): Delete.
+
+2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
+
+       PR gdb/17627
+       * target.c (cleanup_restore_target_terminal): New function.
+       (make_cleanup_restore_target_terminal): New function.
+       * target.h (make_cleanup_restore_target_terminal): New declaration.
+       * mi/mi-interp.c (mi_thread_exit): Use the new cleanup.
+
+2014-12-08  Doug Evans  <dje@google.com>
+
+       * python/py-objfile.c (objfpy_get_owner): Increment refcount of result.
+
+2014-12-08  Doug Evans  <dje@google.com>
+
+       * NEWS: Mention gdb.Objfile.owner.
+       * python/py-objfile.c (objfpy_get_owner): New function.
+       (objfile_getset): Add "owner".
+
+2014-12-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * symtab.c (lookup_symbol_in_objfile_symtabs): New declaration.
+       (lookup_global_symbol_from_objfile): Call it.
+
+2014-12-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Remove const from struct objfile *.
+       * solib-darwin.c, solib-spu.c, solib-svr4.c, solib.c, solist.h,
+       symtab.c, symtab.h: In these files.
+
+2014-12-05  Andreas From  <andreas.from@ericsson.com>
+
+       * MAINTAINERS (Write After Approval): Add "Andreas From"
+
+2014-12-05  Doug Evans  <xdje42@gmail.com>
+
+       Revert:
+       PR symtab/17602
+       * linespec.c (iterate_name_matcher): Fix arguments to symbol_name_cmp.
+
+2014-12-04  Doug Evans  <dje@google.com>
+
+       * NEWS: Mention gdb.Objfile.add_separate_debug_file.
+       * python/py-objfile.c (objfpy_add_separate_debug_file): New function.
+       (objfile_getset): Add "add_separate_debug_file".
+
+2014-12-04  Doug Evans  <dje@google.com>
+
+       * NEWS: Mention gdb.Objfile.build_id.
+       * build-id.c (build_id_bfd_get): Make non-static.
+       * build-id.h (build_id_bfd_get): Add declaration.
+       * python/py-objfile.c: #include "build-id.h", "elf-bfd.h".
+       (OBJFPY_REQUIRE_VALID): New macro.
+       (objfpy_get_build_id): New function.
+       (objfile_getset): Add "build_id".
+       * utils.c (make_hex_string): New function.
+       * utils.h (make_hex_string): Add declaration.
+
+2014-12-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * block.c (block_lookup_symbol_primary): New function.
+       * block.h (block_lookup_symbol_primary): New declaration.
+       * symtab.c (lookup_symbol_in_objfile_symtabs): Assert BLOCK_INDEX.
+       Call block_lookup_symbol_primary.
+
+2014-12-03  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * tramp-frame.h (tramp_frame): Add `validate' member.
+       * tramp-frame.c (tramp_frame_start): Validate trampoline before
+       scanning.
+       * mips-linux-tdep.c (MICROMIPS_INST_LI_V0): New macro.
+       (MICROMIPS_INST_POOL32A, MICROMIPS_INST_SYSCALL): Likewise.
+       (mips_linux_o32_sigframe): Initialize `validate' member.
+       (mips_linux_o32_rt_sigframe): Likewise.
+       (mips_linux_n32_rt_sigframe): Likewise.
+       (mips_linux_n64_rt_sigframe): Likewise.
+       (micromips_linux_o32_sigframe): New variable.
+       (micromips_linux_o32_rt_sigframe): Likewise.
+       (micromips_linux_n32_rt_sigframe): Likewise.
+       (micromips_linux_n64_rt_sigframe): Likewise.
+       (mips_linux_o32_sigframe_init): Handle microMIPS trampolines.
+       (mips_linux_n32n64_sigframe_init): Likewise.
+       (mips_linux_sigframe_validate): New function.
+       (micromips_linux_sigframe_validate): Likewise.
+       (mips_linux_init_abi): Install microMIPS trampoline unwinders.
+
+2014-12-03  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/sparc/sol2.mh (NATDEPFILES): Remove core-regset.o.
+       * sparc-sol2-tdep.c: Include "regset.h".
+       (sparc32_sol2_supply_core_gregset): New function.
+       (sparc32_sol2_collect_core_gregset): Likewise.
+       (sparc32_sol2_supply_core_fpregset): Likewise.
+       (sparc32_sol2_collect_core_fpregset): Likewise.
+       (sparc32_sol2_gregset, sparc32_sol2_fpregset): New variables.
+       (sparc32_sol2_init_abi): Set tdep->gregset/sizeof_gregset and
+       tdep->fpregset/sizeof_fpregset.
+       * sparc64-sol2-tdep.c: Include "regset.h".
+       (sparc64_sol2_supply_core_gregset): New function.
+       (sparc64_sol2_collect_core_gregset): Likewise.
+       (sparc64_sol2_supply_core_fpregset): Likewise.
+       (sparc64_sol2_collect_core_fpregset): Likewise.
+       (sparc64_sol2_gregset, sparc64_sol2_fpregset): New variables.
+       (sparc64_sol2_init_abi): Set tdep->gregset/sizeof_gregset and
+       tdep->fpregset/sizeof_fpregset.
+
+2014-12-03  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * common/cleanups.c (make_cleanup_dtor): Use typedef for dtor
+       type.
+
+2014-12-02  Doug Evans  <dje@google.com>
+
+       * symtab.c (symbol_init_cplus_specific): Delete.
+       (symbol_set_demangled_name): Remove special c++ support.
+       (symbol_get_demangled_name, symbol_set_language): Ditto.
+       * symtab.h (struct cplus_specific): Delete.
+       (struct general_symbol_info) <language_specific>: Remove
+       cplus_specific.
+
 2014-12-02  Doug Evans  <dje@google.com>
 
        PR symtab/17602
This page took 0.029102 seconds and 4 git commands to generate.