* arm-linux-tdep.c (arch-utils.h, inferior.h, gdbthread.h, symfile.h):
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 84a91af2dccbf10bcd0b72a110ac5d3b46843284..9677954c4fa5e979e0d75e8501fcab0152d71651 100644 (file)
@@ -1,3 +1,221 @@
+2009-07-31  Julian Brown  <julian@codesourcery.com>
+
+       * arm-linux-tdep.c (arch-utils.h, inferior.h, gdbthread.h, symfile.h):
+       Include files.
+       (arm_linux_cleanup_svc, arm_linux_copy_svc): New.
+       (cleanup_kernel_helper_return, arm_catch_kernel_helper_return): New.
+       (arm_linux_displaced_step_copy_insn): New.
+       (arm_linux_init_abi): Initialise displaced stepping callbacks.
+       * arm-tdep.c (DISPLACED_STEPPING_ARCH_VERSION): New macro.
+       (ARM_NOP): New.
+       (displaced_read_reg, displaced_in_arm_mode, branch_write_pc)
+       (bx_write_pc, load_write_pc, alu_write_pc, displaced_write_reg)
+       (insn_references_pc, copy_unmodified, cleanup_preload, copy_preload)
+       (copy_preload_reg, cleanup_copro_load_store, copy_copro_load_store)
+       (cleanup_branch, copy_b_bl_blx, copy_bx_blx_reg, cleanup_alu_imm)
+       (copy_alu_imm, cleanup_alu_reg, copy_alu_reg)
+       (cleanup_alu_shifted_reg, copy_alu_shifted_reg, cleanup_load)
+       (cleanup_store, copy_extra_ld_st, copy_ldr_str_ldrb_strb)
+       (cleanup_block_load_all, cleanup_block_store_pc)
+       (cleanup_block_load_pc, copy_block_xfer, cleanup_svc, copy_svc)
+       (copy_undef, copy_unpred): New.
+       (decode_misc_memhint_neon, decode_unconditional)
+       (decode_miscellaneous, decode_dp_misc, decode_ld_st_word_ubyte)
+       (decode_media, decode_b_bl_ldmstm, decode_ext_reg_ld_st)
+       (decode_svc_copro, arm_process_displaced_insn)
+       (arm_displaced_init_closure, arm_displaced_step_copy_insn)
+       (arm_displaced_step_fixup): New.
+       (arm_gdbarch_init): Initialise max insn length field.
+       * arm-tdep.h (DISPLACED_TEMPS, DISPLACED_MODIFIED_INSNS): New
+       macros.
+       (displaced_step_closure, pc_write_style): New.
+       (arm_displaced_init_closure, displaced_read_reg)
+       (arm_process_displaced_insn, arm_displaced_init_closure)
+       (displaced_read_reg, displaced_write_reg, arm_displaced_step_copy_insn)
+       (arm_displaced_step_fixup): Add prototypes.
+
+2009-07-31  Pedro Alves  <pedro@codesourcery.com>
+           Julian Brown  <julian@codesourcery.com>
+
+       * infrun.c (displaced_step_fixup): If this is a software
+       single-stepping arch, don't tell the target to single-step.
+       (maybe_software_singlestep): Return 0 if we're using displaced
+       stepping.
+       (resume): If this is a software single-stepping arch, and
+       displaced-stepping is enabled, use it for all single-step
+       requests.
+
+2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.in (ACLOCAL, ACLOCAL_AMFLAGS, aclocal_m4_deps)
+       (AUTOCONF, configure_deps, AUTOHEADER): New variables.
+       ($(srcdir)/aclocal.m4, $(srcdir)/configure, $(srcdir)/config.in)
+       (am--refresh): New rules.
+       (stamp-h, config.status): List config.in and configure including
+       $(srcdir)/ prefix.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2009-07-30  Thomas Schwinge  <tschwinge@gnu.org>
+
+       * gnu-nat.c (add_task_commands) <stopped>: Register the correct
+       callback function.
+
+2009-07-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ia64-tdep.c (ia64_access_reg): Correct paddress.
+
+2009-07-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Replace public function varobj_list by all_root_varobjs iterator.
+       * mi/mi-cmd-var.c (struct mi_cmd_var_update, mi_cmd_var_update_iter):
+       New.
+       (mi_cmd_var_update): Replace the varobj_list call by all_root_varobjs.
+       Remove the variables rootlist, cr.  New variable data.
+       * varobj.c (rootcount, varobj_list): Remove.
+       (install_variable, uninstall_variable): Remove the rootcount updates.
+       (all_root_varobjs): New function.
+       (varobj_invalidate): Use the all_root_varobjs call.  Move the code to...
+       (varobj_invalidate_iter): ... a new function.
+       * varobj.h (varobj_list): Remove the prototype.
+       (all_root_varobjs): New prototype.
+
+2009-07-29  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       PR gdb/6817
+       * dbxread.c (read_dbx_symtab): Reduce stack use.
+       
+2009-07-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix gcc-4.5 HEAD warnings.
+       * cp-name-parser.y (%union <typed_val_int>, %token GLOBAL)
+       (GLOBAL_CONSTRUCTORS, GLOBAL_DESTRUCTORS, demangler_special <GLOBAL>):
+       Remove.
+       (yylex <"global constructors keyed to ">)
+       (yylex <"global destructors keyed to ">): Base it on DEMANGLER_SPECIAL.
+       (cp_comp_to_string): Remove variables str, prefix and buf.  Remove the
+       GLOBAL_DESTRUCTORS and GLOBAL_CONSTRUCTORS handling.
+       (cp_print): Remove the GLOBAL_DESTRUCTORS and GLOBAL_CONSTRUCTORS
+       handling.
+
+2009-07-28  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * NEWS: Mention ARM VFP support.
+       * target-descriptions.c (tdesc_register_type): Make public.
+       (tdesc_unnumbered_register): New function.
+       (tdesc_register_reggroup_p): Allow missing
+       pseudo_register_reggroup_p.
+       * target-descriptions.h (tdesc_register_type): Declare.
+       (tdesc_unnumbered_register): Declare.
+       * arm-tdep.c (arm_neon_quad_read, arm_neon_quad_write): New functions.
+       (arm_push_dummy_call): Use arm_neon_quad_write.
+       (arm_neon_double_type, arm_neon_quad_type): New functions.
+       (arm_register_type): Handle VFP and NEON registers.  Override the
+       types of double-precision registers for NEON.  Disable FPA registers
+       if they are not present.
+       (arm_dwarf_reg_to_regnum): Add current VFP and NEON register numbers.
+       (arm_return_value): Use arm_neon_quad_write and arm_neon_quad_read.
+       (arm_register_name): Handle VFP single and NEON quad registers.
+       (arm_pseudo_read, arm_pseudo_write): New functions.
+       (arm_gdbarch_init): Check for VFP and NEON in the target description.
+       Assign numbers to double-precision registers.  Register VFP and NEON
+       pseudo registers.  Remove a shadowed "i" variable.
+       * arm-tdep.h (enum gdb_regnum): Add ARM_D0_REGNUM and
+       ARM_D31_REGNUM.
+       (struct gdbarch_tdep): Add have_neon_pseudos, have_neon,
+       have_vfp_registers, have_vfp_pseudos, neon_double_type,
+       and neon_quad_type.
+
+       * features/Makefile: Make expedite settings only architecture
+       specific.
+       (WHICH): Add new ARM descriptions.
+       * features/arm-with-neon.xml, features/arm-with-vfpv2.c,
+       features/arm-with-vfpv3.c, features/arm-vfpv2.xml,
+       features/arm-vfpv3.xml, features/arm-with-vfpv2.xml,
+       features/arm-with-vfpv3.xml, features/arm-with-neon.c: New files.
+       * regformats/arm-with-neon.dat, regformats/arm-with-vfpv2.dat,
+       regformats/arm-with-vfpv3.dat: Generate.
+
+2009-07-28  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * infrun.c (handle_inferior_event): Clear trap_expected after
+       stepping past a single-step breakpoint.
+
+2009-07-28  Joseph Myers  <joseph@codesourcery.com>
+
+       * arm-tdep.c (enum arm_vfp_cprc_base_type,
+       arm_vfp_cprc_unit_length, arm_vfp_cprc_reg_char,
+       arm_vfp_cprc_sub_candidate, arm_vfp_call_candidate,
+       arm_vfp_abi_for_function): New.
+       (arm_push_dummy_call): Handle VFP ABI.
+       (arm_extract_return_value, arm_store_return_value): Handle
+       ARM_FLOAT_VFP case.
+       (arm_return_value): Handle VFP ABI.
+       (arm_gdbarch_init): Default fp_model based on Tag_ABI_VFP_args for
+       EABI binaries.
+
+2009-07-28  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * arch-utils.c (displaced_step_at_entry_point): Do not call
+       gdbarch_convert_from_func_ptr_addr.
+       * cris-tdep.c: Remove outdated comment.
+       * infcall.c (call_function_by_hand): Do not call
+       gdbarch_convert_from_func_ptr_addr after entry_point_address.
+       * objfiles.c (entry_point_address): Call both
+       gdbarch_convert_from_func_ptr_addr and
+       gdbarch_addr_bits_remove.
+
+2009-07-28  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       * nto-tdep.c (nto_thread_state_str): New array.
+       (nto_extra_thread_info): New function definition.
+       * nto-tdep.h (gdbthread.h): New include.
+       (private_thread_info): New struct.
+       (nto_extra_thread_info): New declaration.
+       * nto-procfs.c (procfs_thread_alive): Properly check if
+       thread is still alive.
+       (update_thread_private_data_name, update_thread_private_data): New
+       function definition.
+       (procfs_find_new_threads): Fetch thread private data.
+       (init_procfs_ops): Register to_extra_thread_info.
+
+2009-07-25  Pedro Alves  <pedro@codesourcery.com>
+
+       * stack.c (backtrace_command_1): Remove dead check of NULL current
+       frame.
+
+2009-07-23  Keith Seitz  <keiths@redhat.com>
+
+       * source.c (forward_search_command): Don't fclose the stream,
+       just run the cleanups.
+       (reverse_search_command): Likewise.
+
+2009-07-23  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       * symtab.c (search_symbols): Add QUIT.
+       
+2009-07-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       * symfile.c (symbol_file_add_with_addrs_or_offsets): Call observer.
+       
+2009-07-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       * objfiles.h (objfiles_changed): New prototype.
+       * objfiles.c (objfiles_updated_p): Rename to objfiles_changed_p.
+       (allocate_objfile, free_objfile): Must rebuild section map.
+       (objfile_relocate): Likewise.
+       (update_section_map, find_pc_section): Adjust.
+       (set_objfiles_updated_on_exe_change): Remove.
+       (set_objfiles_updated_on_solib_activity): Remove.
+       (_initialize_objfiles): Remove.
+       (objfiles_changed): New function.
+       * symfile.c (reread_symbols): Call objfiles_changed.    
+       
+2009-07-22  Hui Zhu  <teawater@gmail.com>
+
+       * record.c (record_xfer_partial): Call error When nquery
+       return "n".
+
 2009-07-21  Paul Pluzhnikov  <ppluzhnikov@google.com>
        
        * objfiles.c (objfiles_updated_p): New variable.
@@ -7,7 +225,7 @@
        (set_objfiles_updated_on_solib_activity): New function.
        (_initialize_objfiles): New function.
        
-2009-06-26 Michael Eager <eager@eagercon.com>
+2009-07-21 Michael Eager <eager@eagercon.com>
 
        * features/rs6000/powerpc-405.xml: New.
        * rs6000-tdep.c: Add include & initialize for
This page took 0.026437 seconds and 4 git commands to generate.