]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/ChangeLog
PR gdb/13079
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
index a881b4737f91ce848d2720c2889d10e020619aeb..0838f02e274926f66085afeb6f808a8dba9ad51c 100644 (file)
@@ -1,3 +1,201 @@
+2011-09-23  Joseph Myers  <joseph@codesourcery.com>
+
+       PR gdb/13079
+       * i386-tdep.c (i386_frame_align): New.
+       (i386_gdbarch_init): Use i386_frame_align.
+
+2011-09-23  Yao Qi  <yao@codesourcery.com>
+
+       * i386-linux-nat.c (i386_linux_resume): Use read_memory_unsigned_integer
+       to get address.
+
+2011-09-22  Tristan Gingold  <gingold@adacore.com>
+
+       * fork-child.c (fork_inferior): Add exec_fun parameter.
+       Call exec_fun or execvp.
+       * inferior.h: Adjust prototype.
+       * gnu-nat.c (gnu_create_inferior): Adjust fork_inferior call.
+       * inf-ttrace.c (inf_ttrace_create_inferior): Ditto.
+       * inf-ptrace.c (inf_ptrace_create_inferior): Ditto.
+       * procfs.c (procfs_create_inferior): Ditto.
+       * darwin-nat.c (darwin_execvp): New function.
+       (darwin_create_inferior): Use it.
+
+2011-09-22  Yao Qi  <yao@codesourcery.com>
+
+       * infrun.c (context_switch): Print debug message when switching to
+       a different thread.
+
+2011-09-21  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * s390-tdep.c (s390_function_arg_pass_by_reference): Handle
+       complex and vector types.
+       (s390_return_value_convention): Likewise.
+
+       (s390_value_from_register): Call check_typedef.
+       (extend_simple_arg): Likewise.
+       (alignment_of): Likewise.
+       (s390_push_dummy_call): Likewise.
+       (s390_return_value): Likewise.
+
+2011-09-21  Joseph Myers  <joseph@codesourcery.com>
+
+       * event-top.c (async_disconnect): If an exception is thrown from
+       quit_cover, call pop_all_targets.  Use TRY_CATCH instead of
+       catch_errors.
+       * top.c (quit_cover): Return void and take no arguments.
+       * top.h (quit_cover): Update prototype.
+
+2011-09-20  Joseph Myers  <joseph@codesourcery.com>
+
+       * mi/mi-main.c (mi_load_progress): Restore saved_uiout value to
+       current_uiout, not uiout.
+
+2011-09-19  Doug Evans  <dje@google.com>
+
+       * python/py-auto-load.c (source_section_scripts): Fix file
+       descriptor leak.
+       * python/python.c (source_python_script_for_objfile): Tweak comments.
+
+2011-09-18  Yao Qi  <yao@codesourcery.com>
+           Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       Support displaced stepping for Thumb 16-bit insns.
+       * arm-tdep.c (THUMB_NOP) Define.
+       (thumb_copy_unmodified_16bit): New.
+       (thumb_copy_b, thumb_copy_bx_blx_reg): New.
+       (thumb_copy_alu_reg): New.
+       (arm_copy_svc): Move some common code to ...
+       (install_svc): ... here.  New.
+       (thumb_copy_svc): New.
+       (install_pc_relative): New.
+       (thumb_copy_pc_relative_16bit): New.
+       (thumb_decode_pc_relative_16bit): New.
+       (thumb_copy_16bit_ldr_literal): New.
+       (thumb_copy_cbnz_cbz): New.
+       (cleanup_pop_pc_16bit_all): New.
+       (thumb_copy_pop_pc_16bit): New.
+       (thumb_process_displaced_16bit_insn): New.
+       (thumb_process_displaced_32bit_insn): New.
+       (thumb_process_displaced_insn): process thumb instruction.
+
+       Support displaced stepping for Thumb 32-bit insns.
+       * arm-tdep.c (thumb_copy_unmodified_32bit): New.
+       (thumb2_copy_preload): New.
+       (thumb2_copy_copro_load_store): New.
+       (thumb2_copy_b_bl_blx): New.
+       (thumb2_copy_alu_imm): New.
+       (thumb2_copy_load_reg_imm): New.
+       (thumb2_copy_load_literal): New
+       (thumb2_copy_block_xfer): New.
+       (thumb_32bit_copy_undef): New.
+       (thumb_32bit_copy_unpred): New.
+       (thumb2_decode_ext_reg_ld_st): New.
+       (thumb2_decode_svc_copro): New.
+       (decode_thumb_32bit_store_single_data_item): New.
+       (thumb_copy_pc_relative_32bit): New.
+       (thumb_decode_pc_relative_32bit): New.
+       (decode_thumb_32bit_ld_mem_hints): New.
+       (thumb2_copy_table_branch): New
+       (thumb_process_displaced_32bit_insn): Process Thumb 32-bit
+       instructions.
+
+2011-09-18  Yao Qi  <yao@codesourcery.com>
+
+       * arm-tdep.c (install_copro_load_store): PC is set 4-byte aligned.
+       (install_b_bl_blx): Likewise.
+
+2011-09-17  Yao Qi  <yao@codesourcery.com>
+
+        * arm-tdep.c (install_ldr_str_ldrb_strb): Renamed to ...
+        (install_load_store): ... this.  New.
+        Change parameter BYTE to SIZE.
+        (arm_copy_ldr_str_ldrb_strb): Update caller.
+        (arm_decode_ld_st_word_ubyte): Update caller.
+
+2011-09-17  Yao Qi  <yao@codesourcery.com>
+
+       * infrun.c (displaced_step_fixup): Move some code ...
+       (displaced_step_restore): ... here.  New function.
+       (handle_inferior_event): Cleanup displaced stepping state for both
+       child and parent when get forked or vforked event.
+       * regcache.c (get_thread_arch_aspace_regcache): New function.
+       get_thread_arch_regcache (): Call it.
+
+2011-09-16  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-tasks.c (print_ada_task_info): New function, merging
+       short_task_info and info_tasks together.  Reimplement using
+       ui-out instead of printing to stdout directly.  Move the code
+       building and checking the task list here, instead of leaving it
+       in info_tasks_command.
+       (info_task): Move the code building and checking the task
+       list here, instead of leaving it in info_tasks_command.
+       (info_tasks_command): Delete code building and checking
+       the task list - moved elsewhere.  Update calls to info_tasks
+       and info_task.
+
+2011-09-16  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-tasks.c (info_task): Delete parameter `from_tty'.
+
+2011-09-16  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-tasks.c (info_tasks): Delete parameter `from_tty'.
+
+2011-09-16  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.h (ada_build_task_list): Remove parameter
+       `warn_if_null'.
+       * ada-tasks.c (ada_build_task_list): Remove parameter
+       `warn_if_null'.  Adjust implementation and documentation.
+       (valid_task_id, ada_get_environment_task)
+       iterate_over_live_ada_tasks): Adjust call to ada_build_task_list.
+       (info_tasks_command): Adjust implementation.
+       (task_command): Likewise.
+       * ravenscar-thread.c (ravenscar_find_new_threads): Fix call
+       to ada_build_task_list.
+
+2011-09-16  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-tasks.c (ada_tasks_check_symbol_table, task_list): Delete.
+       (enum ada_known_tasks_kind, struct ada_tasks_inferior_data): New.
+       (ada_tasks_inferior_data_handle): New static global.
+       (get_ada_tasks_inferior_data): New function.
+       (ada_get_task_number, get_task_number_from_id, valid_task_id)
+       (ada_get_environment_task, iterate_over_live_ada_tasks)
+       (add_ada_task, read_known_tasks_array, read_known_tasks_list):
+       Adjust.
+       (ada_set_current_inferior_known_tasks_addr): New function.
+       (read_known_tasks, ada_build_task_list, short_task_info)
+       (info_tasks, info_task, info_tasks_command, task_command_1)
+       (task_command, ada_task_list_changed): Adjust.
+       (ada_tasks_invalidate_inferior_data): New function.
+       (ada_normal_stop_observer, ada_new_objfile_observer): Adjust.
+       (_initialize_tasks): Set ada_tasks_inferior_data_handle.
+       * ada-lang.h (struct inferior): Add declaration.
+       (ada_task_list_changed): Update profile.
+       * remote-wtx-pd.c: #include "inferior.h".
+       (switch_to_pd_internal): Update call to ada_task_list_changed.
+
+2011-09-16  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-tasks.c: #include "progspace.h" and "objfiles.h".
+       (atcb_type, atcb_common_type, atcb_ll_type, atcb_call_type)
+       (atcb_fieldno): Delete these static globals.
+       (struct ada_tasks_pspace_data): New struct.
+       (ada_tasks_pspace_data_handle): New static global.
+       (get_ada_tasks_pspace_data): New function.
+       (ada_tasks_invalidate_pspace_data): New function.
+       (get_tcb_types_info, ptid_from_atcb_common, read_atcb)
+       (read_known_tasks_list, ada_new_objfile_observer): Adjust.
+       (_initialize_tasks): Create this module's per-progspace
+       data handle.
+
+2011-09-16  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-tasks.c (struct atcb_fieldnos): Renames struct tcb_fieldnos.
+
 2011-09-16  Tristan Gingold  <gingold@adacore.com>
 
        * fork-child.c (fork_inferior): Update comment.  Use alloca
        (inf_has_multiple_thread_cb): New function.
        (inf_has_multiple_threads): New function.
 
-2011-09-15  Kevin Pouget <kevin.pouget@st.com>
+2011-09-15  Kevin Pouget  <kevin.pouget@st.com>
 
        PR Python/12692 Add gdb.selected_inferior() to Python interface.
        * python/py-inferior.c (GdbMethods): New Python method definition.
 
 2011-09-15  Kevin Pouget  <kevin.pouget@st.com>
 
-       * MAINTAINERS (Right After Approval): Add myself to the list
+       * MAINTAINERS (Write After Approval): Add myself to the list
 
 2011-09-14  Pedro Alves  <pedro@codesourcery.com>