nto-procfs.c: Don't install a deprecated_xfer_memory method
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 40b6055914145fd52a45b49b34a663bde18547d3..197b61e60d01ef74ba0d85b36d088cecac68413a 100644 (file)
@@ -1,3 +1,319 @@
+2014-02-26  Pedro Alves  <palves@redhat.com>
+
+       * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
+       to_xfer_partial helper.  Rewrite.
+       (procfs_xfer_partial): New function.
+       (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
+       Install a to_xfer_partial hook.
+
+2014-02-26  Pedro Alves  <palves@redhat.com>
+
+       * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
+       (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
+       (m32r_xfer_partial): New function.
+       (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
+       Install a to_xfer_partial hook.
+
+2014-02-26  Pedro Alves  <palves@redhat.com>
+
+       * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
+       helper.
+       (mips_xfer_partial): New function.
+       (_initialize_remote_mips): Don't install a deprecated_xfer_memory
+       hook.  Install a to_xfer_partial hook.
+
+2014-02-26  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdbtypes.h (create_array_type_with_stride): Add declaration.
+       * gdbtypes.c (create_array_type_with_stride): New function,
+       renaming create_array_type, but with an added parameter
+       called "bit_stride".
+       (create_array_type): Re-implement using
+       create_array_type_with_stride.
+       * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
+       and DW_AT_bit_stride attributes.
+
+2014-02-26  Pedro Alves  <palves@redhat.com>
+
+       * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
+       task-specific breakpoints.
+
+2014-02-25  Pedro Alves  <palves@redhat.com>
+
+       * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
+       handling of object == TARGET_OBJECT_UNWIND_TABLE.
+
+2014-02-25  Stan Shebs  <stan@codesourcery.com>
+
+       * defs.h: Annotate comments for Doxygen.
+
+2014-02-25  Tom Tromey  <tromey@redhat.com>
+
+       * target.h (target_ignore): Don't declare.
+       * target.c (target_ignore): Remove.
+
+2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR gdb/16626
+       * auto-load.c (auto_load_objfile_script_1): Change filename to
+       debugfile.
+
+2014-02-25  Joel Brobecker  <brobecker@adacore.com>
+
+       * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
+       documentation.  Adjust prototype to match the target_ops
+       to_xfer_partial method.  Adjust implementation accordingly.
+
+2014-02-25  Hui Zhu  <hui@codesourcery.com>
+
+       * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
+       to_traceframe_info.
+
+2014-02-25  Kevin Buettner  <kevinb@redhat.com>
+
+       * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
+       (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
+       (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
+       (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
+       (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
+       (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
+       (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
+       (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
+       New constants.
+       (rl78_register_type): Use a data pointer type for SP and
+       new pseudo registers mentioned above.  Use a 16 bit integer
+       type for all other register pairs.
+       (rl78_register_name, rl78_g10_register_name): Update for
+       new pseudo registers.
+       (rl78_pseudo_register_read): Likewise.
+       (rl78_pseudo_register_write): Likewise.
+       (rl78_dwarf_reg_to_regnum): Return register numbers representing
+       to the newly added pseudo registers.
+
+2014-02-24  Doug Evans  <dje@google.com>
+
+       * value.c (record_latest_value): Fix comment.
+       * printcmd.c (print_command_1): Remove code to handle -1 return from
+       record_latest_value.
+
+2014-02-24  Pedro Alves  <palves@redhat.com>
+
+       * procfs.c (procfs_target): Don't install procfs_xfer_memory as
+       deprecated_xfer_memory hook.
+       (procfs_xfer_partial): Call procfs_xfer_memory instead
+       of the deprecated_xfer_memory target hook.
+       (procfs_xfer_memory): Adjust interface as a to_xfer_partial
+       helper.
+
+2014-02-24  Yuanhui Zhang  <asmwarrior@gmail.com>
+
+       * windows-nat.c (windows_xfer_shared_libraries): Return
+       TARGET_XFER_EOF if LEN is zero to fix an assert failure when
+       requested object is TARGET_OBJECT_LIBRARIES.
+
+2014-02-24  Yao Qi  <yao@codesourcery.com>
+
+       * target.h (enum target_xfer_status)
+       <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
+       <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
+       explicitly.  New.
+       * corefile.c (memory_error_message): User updated.
+       * exec.c (section_table_read_available_memory): Likewise.
+       * record-btrace.c (record_btrace_xfer_partial): Likewise.
+       * target.c (target_xfer_status_to_string): Likewise.
+       (raw_memory_xfer_partial): Likewise.
+       (memory_xfer_partial_1, target_xfer_partial): Likewise.
+       * valops.c (read_value_memory): Likewise.
+       * exec.h: Update comments.
+
+2014-02-24  Yao Qi  <yao@codesourcery.com>
+
+       * target.c (target_xfer_status_to_string): Rename argument err
+       to status.
+       * target.h (target_xfer_status_to_string): Update declaration.
+       Replace target_xfer_error_to_string with
+       target_xfer_status_to_string in comment.
+
+2014-02-24  Yao Qi  <yao@codesourcery.com>
+
+       * mips-linux-nat.c (super_close): Update its type.
+       (mips_linux_close): Pass 'self' to super_close.
+
+2014-02-24  Yao Qi  <yao@codesourcery.com>
+
+       * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
+       * corefile.c (read_memory): Adjusted.
+       * target.c (target_write_with_progress): Adjusted.
+
+2014-02-23  Yao Qi  <yao@codesourcery.com>
+
+       Revert two patches:
+
+       2013-10-25  Yao Qi  <yao@codesourcery.com>
+
+       * remote.c (remote_traceframe_info): Return early if
+       traceframe is not selected.
+
+       2013-07-19  Yao Qi  <yao@codesourcery.com>
+
+       * target.c (update_current_target): Change the default action
+       of 'to_traceframe_info' from tcomplain to return_zero.
+       * target.h (struct target_ops) <to_traceframe_info>: Add more
+       comments.
+
+2014-02-23  Yao Qi  <yao@codesourcery.com>
+
+       * valops.c (read_value_memory): Rewrite it.  Call
+       target_xfer_partial in a loop.
+       * exec.h (section_table_available_memory): Remove declaration.
+       Move comments to ...
+       * exec.c (section_table_available_memory): ... here.  Make it
+       static.
+
+2014-02-23  Yao Qi  <yao@codesourcery.com>
+
+       * exec.c (section_table_read_available_memory): New function.
+       * exec.h (section_table_read_available_memory): Declare.
+       * ctf.c (ctf_xfer_partial): Call
+       section_table_read_available_memory.
+       * tracefile-tfile.c (tfile_xfer_partial): Likewise.
+
+2014-02-23  Yao Qi  <yao@codesourcery.com>
+
+       * ctf.c (ctf_xfer_partial): Move code to ...
+       * exec.c (exec_read_partial_read_only): ... it.  New function.
+       * tracefile-tfile.c (tfile_xfer_partial): Likewise.
+       * tracefile.c: Include "exec.h".
+       * exec.h (exec_read_partial_read_only): Declare.
+
+2014-02-23  Yao Qi  <yao@codesourcery.com>
+
+       * tracefile-tfile.c (tfile_has_all_memory): Remove.
+       (tfile_has_memory): Remove.
+       (init_tfile_ops): Don't set fields to_has_all_memory and
+       to_has_memory of tfile_ops.
+       * tracefile.c (tracefile_has_all_memory): New function.
+       (tracefile_has_memory): New function.
+       (init_tracefile_ops): Initialize fields to_has_all_memory and
+       to_has_memory of 'ops'.
+
+2014-02-23  Yao Qi  <yao@codesourcery.com>
+
+       * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
+       (ctf_thread_alive, ctf_get_trace_status): Remove.
+       (init_ctf_ops): Don't set some fields of ctf_ops.  Call
+       init_tracefile_ops.
+       * tracefile-tfile.c (tfile_get_trace_status): Remove.
+       (tfile_has_stack, tfile_has_registers): Remove.
+       (tfile_thread_alive): Remove.
+       (init_tfile_ops): Don't set some fields of tfile_ops.  Call
+       init_tracefile_ops.
+       * tracefile.c (tracefile_has_stack): New function.
+       (tracefile_has_registers): New function.
+       (tracefile_thread_alive): New function.
+       (tracefile_get_trace_status): New function.
+       (init_tracefile_ops): New function.
+       * tracefile.h (init_tracefile_ops): Declare.
+
+2014-02-23  Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
+       (O_LARGEFILE): Likewise.
+       (tfile_ops): Likewise.
+       (TRACE_HEADER_SIZE): Likewise.
+       (trace_fd, trace_frames_offset, cur_offset): Likewise.
+       (cur_data_size): Likewise.
+       (tfile_read, tfile_open, tfile_interp_line): Likewise.
+       (tfile_close, tfile_files_info): Likewise.
+       (tfile_get_trace_status): Likewise.
+       (tfile_get_tracepoint_status): Likewise.
+       (tfile_get_traceframe_address): Likewise.
+       (tfile_trace_find, match_blocktype): Likewise.
+       (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
+       (tfile_fetch_registers, tfile_xfer_partial): Likewise.
+       (tfile_get_trace_state_variable_value): Likewise.
+       (tfile_has_all_memory, tfile_has_memory): Likewise.
+       (tfile_has_stack, tfile_has_registers): Likewise.
+       (tfile_thread_alive, build_traceframe_info): Likewise.
+       (tfile_traceframe_info, init_tfile_ops): Likewise.
+       (_initialize_tracepoint): Don't call init_tfile_ops
+       and add_target_with_completer.
+       * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
+       exec.h, completer.h and filenames.h.
+       (_initialize_tracefile_tfile): New function.
+
+2014-02-23  Yao Qi  <yao@codesourcery.com>
+
+       * Makefile.in (REMOTE_OBS): Append tracefile.o and
+       tracefile-tfile.o.
+       (HFILES_NO_SRCDIR): Add tracefile.h.
+       * ctf.c: Include "tracefile.h".
+       * tracefile.h: New file.
+       * tracefile.c: New file
+       * tracefile-tfile.c: New file.
+       * tracepoint.c: Include "tracefile.h".
+       (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
+       (stop_reason_names): Add const.
+       (trace_file_writer_xfree): Move it to tracefile.c.
+       (trace_save, trace_save_command, trace_save_tfile): Likewise.
+       (trace_save_ctf): Likewise.
+       (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
+       (tfile_target_save, tfile_dtor, tfile_start): Likewise.
+       (tfile_write_header, tfile_write_regblock_type): Likewise.
+       (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
+       (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
+       (tfile_write_raw_data, tfile_end): Likewise.
+       (tfile_trace_file_writer_new): Likewise.
+       (free_uploaded_tp): Make it extern.
+       (free_uploaded_tsv): Make it extern.
+       (_initialize_tracepoint): Move code to register command 'tsave'
+       to tracefile.c.
+       * tracepoint.h (stop_reason_names): Declare.
+       (struct trace_frame_write_ops): Move it to tracefile.h.
+       (struct trace_file_write_ops): Likewise.
+       (struct trace_file_writer): Likewise.
+       (free_uploaded_tsvs, free_uploaded_tps): Declare.
+
+2014-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR gdb/16594
+       * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
+       process name.
+       (get_cores_used_by_process): New parameter num_cores, use it.
+       (linux_xfer_osdata_processes): Pass num_cores to it.
+       * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
+       process name.
+
+2014-02-21  Andreas Arnez  <arnez@vnet.linux.ibm.com>
+
+       * target.c (memory_xfer_partial): Fix length arg in call to
+       breakpoint_xfer_memory.
+
+2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       PR tdep/16397
+       * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
+       number comes after the + or - signs.  Adjust length of register
+       name to be extracted.
+
+2014-02-20  Tom Tromey  <tromey@redhat.com>
+
+       * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
+       (ada_varobj_ops): Mark "extern".
+
+2014-02-20  Tom Tromey  <tromey@redhat.com>
+
+       * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
+
+2014-02-20  Doug Evans  <xdje42@gmail.com>
+
+       * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
+       All callers updated.
+       (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
+       All callers updated.
+       * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
+       (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
+
 2014-02-20  lin zuojian  <manjian2006@gmail.com>
            Joel Brobecker  <brobecker@adacore.com>
            Doug Evans  <xdje42@gmail.com>
This page took 0.028261 seconds and 4 git commands to generate.