OSDN Git Service

ChangeLog:
[pf3gnuchains/pf3gnuchains3x.git] / gdb / ChangeLog
index 1cc0cb2..e494329 100644 (file)
@@ -1,3 +1,111 @@
+2009-06-17  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * mi/mi-main.c (mi_cmd_data_list_register_names): Use selected
+       frame architecture instead of current_gdbarch.
+       (mi_cmd_data_list_changed_registers): Likewise.
+       (mi_cmd_data_list_register_values): Likewise.  Pass selected
+       frame to get_register.
+       (get_register): Add FRAME argument, use it as frame to retrieve
+       registers from (instead of selected frame).  Use frame architecture
+       instead of current_gdbarch.
+       (mi_cmd_data_write_register_values): Use current regcache
+       architecture instead of current_gdbarch.
+
+2009-06-17  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * tui/tui-regs.c (tui_show_register_group): Remove GDBARCH parameter;
+       use frame architecture instead.  Replace current_gdbarch uses.
+       (tui_show_registers): Update call.
+       (tui_get_register): Remove GDBARCH parameter; use frame architecture
+       instead.
+       (tui_show_register_group): Update call.
+       (tui_check_register_values): Likewise.
+       (tui_register_format): Remove GDBARCH parameter; use frame
+       architecture instead.  Replace current_gdbarch uses.
+       (tui_get_register): Update call.
+
+2009-06-17  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdbarch.sh (construct_inferior_arguments): Remove.
+       * gdbarch.c, gdbarch.h: Regenerate.
+       * infcmd.c (get_inferior_args): Call construct_inferior_arguments
+       directly instead of gdbarch_construct_inferior_arguments.
+       (construct_inferior_arguments): Remove GDBARCH argument.
+       * inferior.h (construct_inferior_arguments): Likewise.
+
+2009-06-17  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * symfile.c (section_is_mapped): Use objfile architecture instead
+       of current_gdbarch.
+       (TARGET_LONG_BYTES): Remove.
+       (read_target_long_array): Add SIZE argument.  Use it instead of
+       TARGET_LONG_BYTES.
+       (simple_read_overlay_table): Retrieve long size from objfile
+       architecture; pass it to read_target_long_array.
+       (simple_read_overlay_region_table): Likewise.
+       (simple_overlay_update_1): Likewise.
+
+2009-06-17  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * infrun.c (cleanup_displaced_step_closure): Remove.
+       (displaced_step_clear_cleanup): Move to before displaced_step_prepare.
+       (displaced_step_prepare): Use displaced_step_clear_cleanup instead
+       of cleanup_displaced_step_closure.
+       (handle_inferior_event, keep_going): Use thread architecture instead
+       of current_gdbarch.
+
+2009-06-17  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * infrun.c (handle_inferior_event): Use current frame architecture
+       or thread architecture instead of current_gdbarch.  Pass to
+       handle_step_into_function and handle_step_into_function_backward.
+       (handle_step_into_function): Add GDBARCH parameter.  Use it instead
+       of current_gdbarch.
+       (handle_step_into_function_backward): Likewise.
+       (insert_step_resume_breakpoint_at_frame): Use frame architecture
+       instead of current_gdbarch.
+       (insert_step_resume_breakpoint_at_caller): Likewise.
+
+2009-06-17  Pierre Muller  <muller@ics.u-strasbg.fr>
+       Pedro Alves  <pedro@codesourcery.com>
+       
+       * infcmd.c (post_create_inferior): Call breakpoint_re_set after target
+       is pushed for watchpoint promotion to hardware watchpoint.
+
+2009-06-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       * dwarf2read.c (dwarf_info_section, dwarf_abbrev_section)
+       (dwarf_line_section, dwarf_pubnames_section, dwarf_aranges_section)
+       (dwarf_loc_section, dwarf_macinfo_section, dwarf_str_section)
+       (dwarf_ranges_section, dwarf_frame_section)
+       (dwarf_eh_frame_section): Removed.
+       (dwarf2_resize_section): Likewise.
+       (dwarf2_read_section): Now static, use bfd_mmap() if possible.
+       (dwarf2_get_section_info): New function.
+       (munmap_section_buffer): Likewise.
+       (dwarf2_per_objfile_cleanup): Likewise.
+       (section_is_p): Signature change.
+       * dwarf2-frame.c (dwarf2_build_frame_info): Use
+       dwarf2_get_section_info instead of dwarf2_read_section.
+       
+2009-06-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       * solib.c (symbol_add_stub): New FLAGS parameter.
+       (solib_read_symbols): FROM_TTY -> FLAGS, call symbol_add_stub
+       directly.
+       (solib_add): Defer breakpoint_re_set until after all solibs.
+       * bsd-uthread.c (bsd_uthread_solib_loaded): Adjust.
+       * rs6000-nat.c (objfile_symbol_add): Adjust.
+       * symfile.c (syms_from_objfile): Merge parameters into ADD_FLAGS.
+       (new_symfile_objfile): Likewise.
+       (symbol_file_add_with_addrs_or_offsets): Likewise.
+       (symbol_file_add_from_bfd): Likewise.
+       (symbol_file_add): Likewise.
+       * symfile.h (enum symfile_add_flags): New. Adjust prototypes.
+       * symfile-mem.c (symbol_file_add_from_memory): Adjust.
+       * windows-nat.c (safe_symbol_file_add_stub): Adjust.
+       * machoread.c (macho_oso_symfile, macho_symfile_read): Adjust.
+       
 2009-06-16  Keith Seitz  <keiths@redhat.com>
 
        * linespec.c (collect_methods): Delete.