btrace: no replay without history
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index c0fda0a22f1e540a340767099cd2b5adcc0d4659..62212252b37b475fb2a45ecb51829c0df7765cd8 100644 (file)
@@ -1,3 +1,375 @@
+2014-05-20  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * record-btrace.c (record_btrace_step_thread): Check for empty history.
+
+2014-05-20  Hui Zhu  <hui@codesourcery.com>
+           Yao Qi  <yao@codesourcery.com>
+
+       PR backtrace/16558
+       * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
+       and change address of sp and pc.
+
+2014-05-19  Tom Tromey  <tromey@redhat.com>
+
+       * gdbtypes.c (rank_function): Use XNEWVEC.
+       * mi/mi-cmds.c (build_table): Use XCNEWVEC.
+
+2014-05-19  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (build_type_psymtabs_1): Renamed from
+       build_type_unit_groups and moved closer to only caller.  Remove
+       arguments.  All references updated.  Remove outdated .gdb_index
+       comment.
+       (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
+       build_type_psymtabs_1.
+
+2014-05-19  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
+       n_type_unit_groups, all_type_unit_groups.  All uses removed.
+       (get_type_unit_group, build_type_unit_groups): Delete forward decls.
+       (dw2_get_cutu): Renamed from dw2_get_cu.  All callers updated.
+       (dw2_get_cu): Renamed from dw2_get_primary_cu.  All callers updated.
+       (add_type_unit_group_to_table): Delete.
+
+2014-05-19  Doug Evans  <dje@google.com>
+
+       * eval.c (evaluate_subexp_standard): Add some comments.
+
+2014-05-17  Doug Evans  <xdje42@gmail.com>
+
+       * progspace.c (remove_program_space): Delete, unused.
+       * progspace.h (remove_program_space): Ditto.
+
+2014-05-17  Doug Evans  <xdje42@gmail.com>
+
+       * inferior.c (prune_inferiors): Fix comment.
+       (remove_inferior_command): Call prune_program_spaces.
+
+2014-05-16  Doug Evans  <dje@google.com>
+
+       New command line option -D.
+       * NEWS: Mention it.
+       * main.c (set_gdb_data_directory): New function.
+       (captured_main): Recognize -D.  Flag error for --data-directory "".
+       Call set_gdb_data_directory.
+       (print_gdb_help): Print --data-directory, -D.
+       * main.h (set_gdb_data_directory): Declare.
+       * top.c (staged_gdb_datadir): New static global.
+       (set_gdb_datadir): Call set_gdb_data_directory
+       (show_gdb_datadir): New function.
+       (init_main): Update init of data-directory parameter.
+
+2014-05-16  Gregory Fong  <gregory.0xf0@gmail.com>
+
+       Import the "dirfd" gnulib module.
+       * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
+       * gnulib/aclocal.m4: Update.
+       * gnulib/config.in: Update.
+       * gnulib/configure: Update.
+       * gnulib/import/Makefile.am: Update.
+       * gnulib/import/Makefile.in: Update.
+       * gnulib/import/dirfd.c: New.
+       * gnulib/import/m4/dirfd.m4: New.
+       * gnulib/import/m4/gnulib-cache.m4: Update.
+       * gnulib/import/m4/gnulib-comp.m4: Update.
+
+2014-05-16  Pierre Muller  <muller@sourceware.org>
+           Yao Qi  <yao@codesourcery.com>
+
+       * valprint.c (print_wchar): Move the code on checking whether
+       W is a printable wide char to the default branch of switch
+       statement below.  Call wchar_printable instead of gdb_iswprint.
+
+2014-05-16  Taimoor Mirza  <tmirza@codesourcery.com>
+
+       * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
+       ldr.w and ldrd instructions.
+
+2014-05-15  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (read_structure_type): Delete outdated comments.
+
+2014-05-14  Tom Tromey  <tromey@redhat.com>
+
+       * macrocmd.c (print_macro_definition): Reindent.
+
+2014-05-13  Doug Evans  <xdje42@gmail.com>
+
+       * python/py-cmd.c (cmdpy_completer): Add comment.
+       (completers): Make const.
+
+2014-05-13  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * infrun.c (resume): Remove should_resume (unused).  Move up
+       declaration of resume_ptid.
+
+2014-05-13  Tom Tromey  <tromey@redhat.com>
+
+       * language.h (unop_type_check): Remove.
+       (binop_type_check): Don't declare.
+
+2014-05-13  Andreas Arnez  <arnez@vnet.linux.ibm.com>
+
+       * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
+       call to regcache_raw_collect.
+
+2014-05-12  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * mi/mi-console.c (mi_console_raw_packet): Use the value from
+       mi_console->quote as the quoting character.
+
+2014-05-12  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * MAINTAINERS (Write After Approval): Add "Simon Marchi".
+
+2014-04-29  Tom Tromey  <tromey@redhat.com>
+
+       * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
+       "show debug varobj".
+
+2014-05-07  Kyle McMartin  <kyle@redhat.com>
+
+       Pushed by Joel Brobecker  <brobecker@adacore.com>.
+       * aarch64-tdep.c (aarch64_software_single_step): New function.
+       (aarch64_gdbarch_init): Handle single stepping of atomic sequences
+       with aarch64_software_single_step.
+
+2014-05-05  Joel Brobecker  <brobecker@adacore.com>
+
+       GDB 7.7.1 released.
+
+2014-05-05  Keith Seitz  <keiths@redhat.com>
+
+       * linespec.c (linespec_parse_basic): Run cleanups if a convenience
+       variable or history value is successfully parsed.
+
+2014-05-05  Yao Qi  <yao@codesourcery.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
+       address of blocks that intersects the requested range.  Trim
+       LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
+       sections.
+       * ctf.c (ctf_xfer_partial): Likewise.
+
+2014-05-05  Yao Qi  <yao@codesourcery.com>
+
+       * printcmd.c (display_command): Remove the check to
+       target_has_execution.
+
+2014-05-03  Mark Kettenis  <kettenis@gnu.org>
+
+       * ppcobsd-nat.c: Include "obsd-nat.h".
+       (_initialize_ppcobsd_nat): Call obsd_add_target instead of
+       add_target.
+       * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
+
+2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
+       and 16-bit signed and unsigned arguments.  Update comment.
+       (stap_parse_probe_arguments): Extend code to handle such
+       arguments.  Use warning instead of complaint to notify about
+       unrecognized bitness.
+
+2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       PR breakpoints/16889
+       * stap-probe.c (stap_parse_probe_arguments): Simplify
+       check for non-prefixed probes (i.e., probes whose
+       arguments do not start with "N@").  Always set the
+       argument type to a sane value.
+
+2014-05-01  David Taylor  <dtaylor@emc.com>
+
+       * remote.c (compare_sections_command): Add -r option to compare
+       all loadable read-only sections.
+
+2014-04-30  Siva Chandra Reddy  <sivachandra@google.com>
+
+       * dwarf2loc.c (dwarf2_locexpr_baton_eval,
+       dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
+       Update all callers.
+       * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
+       * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
+       Remove unused CORE_ADDR argument.  Update all callers.
+
+2014-04-29  Pedro Alves  <palves@redhat.com>
+
+       * remote.c (struct packet_config) <detect>: Extend comment.
+       (add_packet_config_cmd): Don't set the config's detect or support
+       fields here.
+       (init_all_packet_configs): Also initialize the config's 'detect'
+       field.
+       (reset_all_packet_configs_support): New function.
+       (remote_open_1): Call reset_all_packet_configs_support instead of
+       init_all_packet_configs.
+       (_initialize_remote): Initialize all packet configs.  Assert that
+       all packets have an associated command, except a few known
+       outliers.
+
+2014-04-28  Joel Brobecker  <brobecker@adacore.com>
+
+       * dwarf2read.c (read_subrange_type): Handle dynamic
+       DW_AT_lower_bound attributes.
+
+2014-04-28  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
+       dynamic bounds before computing its upper bound.
+       (ada_discrete_type_low_bound): Same as above with the lower bound.
+
+2014-04-28  Joel Brobecker  <brobecker@adacore.com>
+
+       * dwarf2read.c (is_dynamic_type): Return true for dynamic
+       range types.  Adjust the array handling implementation to
+       take advantage of this change.
+       (resolve_dynamic_range): New function, mostly extracted from
+       resolve_dynamic_bounds.
+       (resolve_dynamic_array): New function, mostly extracted from
+       resolve_dynamic_bounds.
+       (resolve_dynamic_bounds): Delete.
+       (resolve_dynamic_type): Reimplement.  Add handling of
+       TYPE_CODE_RANGE types.
+
+2014-04-28  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
+       handling of parallel ___XA types.
+
+2014-04-28  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
+       unnecessary second call to static_unwrap_type.
+
+2014-04-27  Hui Zhu  <hui@codesourcery.com>
+
+       * stack.c (print_frame_info): Call do_gdb_disassembly with
+       DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
+
+2014-04-26  Doug Evans  <xdje42@gmail.com>
+
+       * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
+
+2014-04-25  Pedro Alves  <palves@redhat.com>
+
+       PR server/16255
+       * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
+       (linux_ptrace_attach_fail_reason): ... this.  Remove "warning: "
+       and newline from built string.
+       * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
+       (linux_ptrace_attach_fail_reason): ... this.
+       * linux-nat.c (linux_nat_attach): Adjust to use
+       linux_ptrace_attach_fail_reason.
+
+2014-04-25  Pedro Alves  <palves@redhat.com>
+
+       * remote.c (struct remote_state): Remove multi_process_aware,
+       non_stop_aware, cond_tracepoints, cond_breakpoints,
+       breakpoint_commands, fast_tracepoints, static_tracepoints,
+       install_in_trace, disconnected_tracing,
+       enable_disable_tracepoints, string_tracing, and
+       augmented_libraries_svr4_read fields.
+       (remote_multi_process_p): Move further below in the file.
+       (struct packet_config): Add comments.
+       (update_packet_config): Delete function.
+       (show_packet_config_cmd): Use packet_config_support.
+       (add_packet_config_cmd): Use NULL as set callback.
+       (packet_ok): "set remote foo-packet"-style commands no longer
+       change config->supported -- adjust.
+       (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
+       (PACKET_BreakpointCommands, PACKET_FastTracepoints)
+       (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
+       (PACKET_QNonStop, PACKET_multiprocess_feature)
+       (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
+       (PACKET_DisconnectedTracing_feature)
+       (PACKET_augmented_libraries_svr4_read_feature): New enum values.
+       (set_remote_protocol_packet_cmd): Delete function.
+       (packet_config_support, packet_support): New functions.
+       (set_remote_protocol_Z_packet_cmd): Don't call
+       update_packet_config.
+       (remote_query_attached, remote_pass_signals)
+       (remote_program_signals, remote_threads_info)
+       (remote_threads_extra_info, remote_start_remote): Use
+       packet_support.
+       (remote_start_remote): Use packet_config_support and
+       packet_support.
+       (init_all_packet_configs): Set all packets to unknown support,
+       instead of calling update_packet_config.
+       (remote_check_symbols): Use packet_support.
+       (remote_supported_packet): Unconditionally set the packet config's
+       support status.
+       (remote_multi_process_feature, remote_non_stop_feature)
+       (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
+       (remote_breakpoint_commands_feature)
+       (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
+       (remote_install_in_trace_feature)
+       (remote_disconnected_tracing_feature)
+       (remote_enable_disable_tracepoint_feature)
+       (remote_string_tracing_feature)
+       (remote_augmented_libraries_svr4_read_feature): Delete functions.
+       (remote_protocol_features): Adjust to use remote_supported_packet
+       for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
+       "ConditionalTracepoints", "ConditionalBreakpoints",
+       "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
+       "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
+       "EnableDisableTracepoints", and "tracenz".
+       (remote_query_supported): Use packet_support.
+       (remote_open_1): Adjust.
+       (extended_remote_attach_1): Use packet_support.  Switch on the
+       result of packet_ok instead of checking whether the packet ended
+       up disabled.
+       (remote_vcont_resume): Use packet_support.
+       (remote_resume, remote_stop_ns, fetch_register_using_p)
+       (remote_prepare_to_store, store_register_using_P)
+       (check_binary_download, remote_write_bytes): Use packet_support.
+       (remote_vkill): Use packet_support.  Switch on the result of
+       packet_ok instead of checking whether the packet ended up
+       disabled.
+       (extended_remote_supports_disable_randomization): Use
+       packet_support.
+       (extended_remote_run): Switch on the result of packet_ok instead
+       of checking whether the packet ended up disabled.
+       (remote_insert_breakpoint, remote_remove_breakpoint)
+       (remote_insert_watchpoint, remote_remove_watchpoint)
+       (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
+       packet_support.
+       (remote_search_memory): Use packet_config_support.
+       (remote_get_thread_local_address, remote_get_tib_address)
+       (remote_hostio_send_command, remote_can_execute_reverse): Use
+       packet_support.
+       (remote_supports_cond_tracepoints)
+       (remote_supports_cond_breakpoints)
+       (remote_supports_fast_tracepoints)
+       (remote_supports_static_tracepoints)
+       (remote_supports_install_in_trace)
+       (remote_supports_enable_disable_tracepoint)
+       (remote_supports_string_tracing)
+       (remote_can_run_breakpoint_commands): Rewrite, checking whether
+       the packet config says the feature is enabled or disabled.
+       (remote_download_tracepoint, remote_trace_set_readonly_regions)
+       (remote_get_trace_status): Use packet_support.
+       (remote_set_disconnected_tracing): Adjust to check whether the
+       feature is enabled with packet_support.
+       (remote_set_trace_buffer_size, remote_use_agent)
+       (remote_can_use_agent, remote_supports_btrace): Use
+       packet_support.
+       (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
+       Use packet_config_support.
+       (remote_augmented_libraries_svr4_read): Rewrite, checking whether
+       the packet config says the feature is enabled or disabled.
+       (set_range_stepping): Use packet_support.
+
+2014-04-25  Tom Tromey  <tromey@redhat.com>
+
+       * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
+       argument.
+
+2014-04-24  Sanimir Agovic  <sanimir.agovic@intel.com>
+
+       * NEWS: Mention support for C99 variable length arrays.
+
 2014-04-24  Joel Brobecker  <brobecker@adacore.com>
 
        * ada-lang.c (standard_exc): Expand introductory comment.
This page took 0.028062 seconds and 4 git commands to generate.