X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=01be0a305550ab725c2831cb969ec0abf015407b;hb=5c328c057e963faacc50796c650a5feb06762c67;hp=18792c6c52ce50cef2aecb5f8eadafe0d8a33f16;hpb=86a0854a691a220419785b2008bf2fb0ddd6e46f;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 18792c6c52..01be0a3055 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,349 @@ +2014-02-24 Yao Qi + + * 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 + + Revert two patches: + + 2013-10-25 Yao Qi + + * remote.c (remote_traceframe_info): Return early if + traceframe is not selected. + + 2013-07-19 Yao Qi + + * target.c (update_current_target): Change the default action + of 'to_traceframe_info' from tcomplain to return_zero. + * target.h (struct target_ops) : Add more + comments. + +2014-02-23 Yao Qi + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + 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 + + * target.c (memory_xfer_partial): Fix length arg in call to + breakpoint_xfer_memory. + +2014-02-20 Sergio Durigan Junior + + 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 + + * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops) + (ada_varobj_ops): Mark "extern". + +2014-02-20 Tom Tromey + + * dbxread.c (read_dbx_symtab): Remove last_o_file_start. + +2014-02-20 Doug Evans + + * 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 + Joel Brobecker + Doug Evans + + PR symtab/16581 + * dwarf2read.c (struct die_info): New member in_process. + (reset_die_in_process): New function. + (process_die): Set it at the start, reset when returning. + (inherit_abstract_dies): Only call process_die if origin_child_die + not already being processed. + +2014-02-20 Joel Brobecker + + * windows-nat.c (handle_unload_dll): Add function documentation. + (do_initial_windows_stuff): Add comment explaining why we wait + until after inferior initialization has finished before + processing all DLLs. + +2014-02-20 Joel Brobecker + + * windows-nat.c (get_module_name): Delete. + (windows_get_exec_module_filename): New function, mostly + inspired from get_module_name. + (windows_pid_to_exec_file): Replace call to get_module_name + by call to windows_get_exec_module_filename. + +2014-02-20 Joel Brobecker + + * windows-nat.c (handle_load_dll): Rewrite this function's + introductory comment. Remove code using get_module_name + to get the DLL's name. + +2014-02-20 Joel Brobecker + + * windows-nat.c (get_windows_debug_event): Ignore + LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT + if windows_initialization_done == 0. + (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded. + Adjust implementation to always load all DLLs. + (do_initial_windows_stuff): Replace call to + windows_ensure_ntdll_loaded by call to windows_add_all_dlls. + +2014-02-20 Joel Brobecker + + * windows-nat.c (_initialize_windows_nat): Deprecate the + "dll-symbols" command. Turn the "add-shared-symbol-files" + and "assf" aliases into commands, and deprecate them as well. + * NEWS: Add entry explaining that "dll-symbols" and its two + aliases are now deprecated. + +2014-02-20 Joel Brobecker + + * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped + new-line in debug string. Remove trailing spaces. + +2014-02-19 Stan Shebs + + * darwin-nat.c (darwin_xfer_partial): Fix return type. + +2014-02-19 Siva Chandra Reddy + + * NEWS: Add entry for the new feature + * python/py-value.c (valpy_binop): Call value_x_binop for struct + and class values. + +2014-02-19 Stan Shebs + + * MAINTAINERS: List Yao Qi as nios2 maintainer. + +2014-02-19 Pedro Alves + + * common/ptid.h (struct ptid): Mention that process_stratum + targets should prefer ptid.lwp. + +2014-02-19 Pedro Alves + + * remote.c (remote_thread_alive, write_ptid, read_ptid) + (read_ptid, remote_newthread_step, remote_threads_extra_info) + (remote_get_ada_task_ptid, append_resumption, remote_stop_ns) + (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to + store remote thread ids rather than ptid.tid. + (_initialize_remote): Adjust. + +2014-02-19 Tom Tromey + + * target.c (target_get_unwinder): Rewrite. + (target_get_tailcall_unwinder): Rewrite. + * record-btrace.c (record_btrace_to_get_unwinder): New function. + (record_btrace_to_get_tailcall_unwinder): New function. + (init_record_btrace_ops): Update. + * target.h (struct target_ops) : Now function pointers. Use + TARGET_DEFAULT_RETURN. + +2014-02-19 Tom Tromey + + * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self' + argument. + (init_procfs_ops): Correctly set to_remove_hw_breakpoint. + +2014-02-19 Tom Tromey + + * record-btrace.c (record_btrace_decr_pc_after_break): Delegate + directly. + * target-delegates.c: Rebuild. + * target.h (struct target_ops) : Use + TARGET_DEFAULT_FUNC. + * target.c (default_target_decr_pc_after_break): Rename from + forward_target_decr_pc_after_break. Simplify. + (target_decr_pc_after_break): Rely on delegation. + +2014-02-19 Tom Tromey + + * target.c (update_current_target): Do not INHERIT to_doc or + to_magic. Do not de_fault to_open or to_close. + +2014-02-19 Tom Tromey + + * gcore.h (objfile_find_memory_regions): Declare. + * gcore.c (objfile_find_memory_regions): No longer static. Add + "self" argument. + (_initialize_gcore): Don't call exec_set_find_memory_regions. + * exec.c: Include gcore.h. + (exec_set_find_memory_regions): Remove. + (exec_find_memory_regions): Remove. + (exec_do_find_memory_regions): Remove. + (init_exec_ops): Update. + * defs.h (exec_set_find_memory_regions): Remove. + +2014-02-19 Tom Tromey + + * target-delegates.c: Rebuild. + * target.h (struct target_ops) : Use NULL, + not 0, in TARGET_DEFAULT_RETURN. + +2014-02-19 Tom Tromey + + * target.c (complete_target_initialization): Remove casts. Use + return_zero_has_execution. + (return_zero): Add "ignore" argument. + (return_zero_has_execution): New function. + (init_dummy_target): Remove casts. Use + return_zero_has_execution. + +2014-02-19 Tom Tromey + + * target.c (update_current_target): Update comments. Do not + INHERIT to_stratum. + +2014-02-19 Tom Tromey + + * arm-linux-nat.c (arm_linux_read_description): Delegate when + needed. + * corelow.c (core_read_description): Delegate when needed. + * remote.c (remote_read_description): Delegate when needed. + * target-delegates.c: Rebuild. + * target.c (target_read_description): Rewrite. + * target.h (struct target_ops) : Update + comment. Use TARGET_DEFAULT_RETURN. + +2014-02-19 Tom Tromey + + * target-delegates.c: Rebuild. + * target.c (update_current_target): Don't inherit or default + to_can_run. + (find_default_run_target): Check against delegate_can_run. + * target.h (struct target_ops) : Use + TARGET_DEFAULT_RETURN. + 2014-02-19 Tom Tromey * target-delegates.c: Rebuild.