btrace: control memory access during replay
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index c0fda0a22f1e540a340767099cd2b5adcc0d4659..a6050859243550c998b6ea3c3c3781870f858a5c 100644 (file)
@@ -1,3 +1,935 @@
+2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * record-btrace.c (record_btrace_allow_memory_access): Remove.
+       (replay_memory_access_read_only, replay_memory_access_read_write)
+       (replay_memory_access_types, replay_memory_access)
+       (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
+       (cmd_set_record_btrace, cmd_show_record_btrace)
+       (cmd_show_replay_memory_access): New.
+       (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
+       (record_btrace_remove_breakpoint): Replace
+       record_btrace_allow_memory_access with replay_memory_access.
+       (_initialize_record_btrace): Add commands.
+       * NEWS: Announce it.
+
+2014-05-22  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
+
+       * aarch64-linux-nat.c (asm/ptrace.h): Include.
+
+2014-05-22  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
+
+       * MAINTAINERS (Write After Approval): Move self back from
+       paper trail.
+
+2014-05-22  Pedro Alves  <palves@redhat.com>
+
+       * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
+       (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
+       (disable_randomization, enum exec_direction_kind)
+       (execution_direction, stop_registers, start_remote)
+       (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
+       (wait_for_inferior, normal_stop, get_last_target_status)
+       (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
+       (insert_step_resume_breakpoint_at_sal)
+       (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
+       (set_step_info, print_stop_event, signal_stop_state)
+       (signal_print_state, signal_pass_state, signal_stop_update)
+       (signal_print_update, signal_pass_update)
+       (update_signals_program_target, clear_exit_convenience_vars)
+       (displaced_step_dump_bytes, update_observer_mode)
+       (signal_catch_update, gdb_signal_from_command): Move
+       declarations ...
+       * infrun.h: ... to this new file.
+       * amd64-tdep.c: Include infrun.h.
+       * annotate.c: Include infrun.h.
+       * arch-utils.c: Include infrun.h.
+       * arm-linux-tdep.c: Include infrun.h.
+       * arm-tdep.c: Include infrun.h.
+       * break-catch-sig.c: Include infrun.h.
+       * breakpoint.c: Include infrun.h.
+       * common/agent.c: Include infrun.h instead of inferior.h.
+       * corelow.c: Include infrun.h.
+       * event-top.c: Include infrun.h.
+       * go32-nat.c: Include infrun.h.
+       * i386-tdep.c: Include infrun.h.
+       * inf-loop.c: Include infrun.h.
+       * infcall.c: Include infrun.h.
+       * infcmd.c: Include infrun.h.
+       * infrun.c: Include infrun.h.
+       * linux-fork.c: Include infrun.h.
+       * linux-nat.c: Include infrun.h.
+       * linux-thread-db.c: Include infrun.h.
+       * monitor.c: Include infrun.h.
+       * nto-tdep.c: Include infrun.h.
+       * procfs.c: Include infrun.h.
+       * record-btrace.c: Include infrun.h.
+       * record-full.c: Include infrun.h.
+       * remote-m32r-sdi.c: Include infrun.h.
+       * remote-mips.c: Include infrun.h.
+       * remote-notif.c: Include infrun.h.
+       * remote-sim.c: Include infrun.h.
+       * remote.c: Include infrun.h.
+       * reverse.c: Include infrun.h.
+       * rs6000-tdep.c: Include infrun.h.
+       * s390-linux-tdep.c: Include infrun.h.
+       * solib-irix.c: Include infrun.h.
+       * solib-osf.c: Include infrun.h.
+       * solib-svr4.c: Include infrun.h.
+       * target.c: Include infrun.h.
+       * top.c: Include infrun.h.
+       * windows-nat.c: Include infrun.h.
+       * mi/mi-interp.c: Include infrun.h.
+       * mi/mi-main.c: Include infrun.h.
+       * python/py-threadevent.c: Include infrun.h.
+
+2014-05-22  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (handle_inferior_event): Store the exit code for
+       --return-child-result here, instead of ...
+       (print_exited_reason): ... here.
+
+2014-05-21  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/13860
+       * gdbthread.h (struct thread_control_state): New field
+       `command_interp'.
+       * infrun.c (follow_fork): Copy the new thread control field to the
+       child fork thread.
+       (clear_proceed_status_thread): Clear the new thread control field.
+       (proceed): Set the new thread control field.
+       * interps.h (command_interp): Declare.
+       * interps.c (command_interpreter): New global.
+       (command_interp): New function.
+       (interp_exec): Set `command_interpreter' while here.
+       * cli-out.c (cli_uiout_dtor): New function.
+       (cli_ui_out_impl): Install it.
+       * mi/mi-interp.c: Include cli-out.h.
+       (mi_cmd_interpreter_exec): Add comment.
+       (restore_current_uiout_cleanup): New function.
+       (ui_out_free_cleanup): New function.
+       (mi_on_normal_stop): If finishing an execution command started by
+       a CLI command, or any kind of breakpoint-like event triggered,
+       print the stop event to the output (CLI) stream.
+       * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
+
+2014-05-21  Pedro Alves  <palves@redhat.com>
+
+       * cli/cli-cmds.c (list_command): Handle the first "list" after the
+       current source line having changed.
+       * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
+       * infrun.c (normal_stop): Adjust call to
+       set_current_sal_from_frame.
+       * source.c (clear_lines_listed_range): New function.
+       (set_current_source_symtab_and_line, identify_source_line): Clear
+       the lines listed range.
+       (line_info): Handle the first "info line" after the current source
+       line having changed.
+       * stack.c (print_stack_frame): Remove center handling.
+       (set_current_sal_from_frame): Remove 'center' parameter.  Don't
+       center sal.line.
+
+2014-05-21  Pedro Alves  <palves@redhat.com>
+
+       * inf-child.c (inf_child_mourn_inferior): New function.
+       * inf-child.h (inf_child_mourn_inferior): New declaration.
+       * darwin-nat.c (darwin_mourn_inferior): Use
+       inf_child_mourn_inferior.
+       * gnu-nat.c (gnu_mourn_inferior): Likewise.
+       * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
+       * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
+       * nto-procfs.c (procfs_mourn_inferior): Likewise.
+       * windows-nat.c (windows_mourn_inferior): Likewise.
+
+2014-05-21  Doug Evans  <xdje42@gmail.com>
+
+       * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
+
+2014-05-21  Doug Evans  <xdje42@gmail.com>
+
+       * guile/scm-exception.c (gdbscm_invalid_object_error): Make result is void.
+       (gdbscm_out_of_range_error): Ditto.
+       (gdbscm_memory_error): Ditto.
+       * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
+       * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
+       (gdbscm_out_of_range_error): Update.
+       (gdbscm_memory_error): Update.
+       (gdbscm_scm_to_target_string_unsafe): Delete.
+
+2014-05-21  Pedro Alves  <palves@redhat.com>
+
+       * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
+       globals.
+       (inf_child_open_target): New function.
+       (inf_child_open): Use inf_child_open_target to push the target
+       instead of erroring out.
+       (inf_child_disconnect, inf_child_close)
+       (inf_child_maybe_unpush_target): New functions.
+       (inf_child_target): Install inf_child_disconnect and
+       inf_child_close.  Store a pointer to the returned object.
+       * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
+       declarations.
+       * target.c (auto_connect_native_target): New global.
+       (show_default_run_target): New function.
+       (find_default_run_target): Return NULL if automatically connecting
+       to the native target is disabled.
+       (_initialize_target): Install set/show auto-connect-native-target.
+       * NEWS: Mention "set auto-connect-native-target", and "target
+       native".
+       * linux-nat.c (super_close): New global.
+       (linux_nat_close): Call super_close.
+       (linux_nat_add_target): Store a pointer to the base class's
+       to_close method.
+       * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
+       inf_child_maybe_unpush.
+       * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
+       already pushed.
+       (inf_ttrace_mourn_inferior): Only unpush the target after mourning
+       the inferior.  Use inf_child_maybe_unpush_target.
+       (inf_ttrace_attach): Don't push the target if it is already
+       pushed.
+       (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
+       * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
+       after mourning the inferior.  Use inf_child_maybe_unpush_target.
+       (darwin_attach_pid): Don't push the target if it is already
+       pushed.
+       * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
+       mourning the inferior.  Use inf_child_maybe_unpush_target.
+       (gnu_detach): Use inf_child_maybe_unpush_target.
+       * go32-nat.c (go32_create_inferior): Don't push the target if it
+       is already pushed.
+       (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
+       * nto-procfs.c (procfs_is_nto_target): Adjust comment.
+       (procfs_open): Rename to ...
+       (procfs_open_1): ... this.  Add target_ops parameter.  Adjust
+       comments.  Can target_preopen before changing node.  Call
+       inf_child_open_target to push the target explicitly.
+       (procfs_attach): Don't push the target if it is already pushed.
+       (procfs_detach): Use inf_child_maybe_unpush_target.
+       (procfs_create_inferior): Don't push the target if it is already
+       pushed.
+       (nto_native_ops): New global.
+       (procfs_open): Reimplement.
+       (procfs_native_open): New function.
+       (init_procfs_targets): Install procfs_native_open as to_open of
+       "target native".  Store a pointer to the "native" target in
+       nto_native_ops.
+       * procfs.c (procfs_attach): Don't push the target if it is already
+       pushed.
+       (procfs_detach): Use inf_child_maybe_unpush_target.
+       (procfs_mourn_inferior): Only unpush the target after mourning the
+       inferior.  Use inf_child_maybe_unpush_target.
+       (procfs_init_inferior): Don't push the target if it is already
+       pushed.
+       * windows-nat.c (do_initial_windows_stuff): Don't push the target
+       if it is already pushed.
+
+2014-05-21  Pedro Alves  <palves@redhat.com>
+
+       * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
+       and "procfs" targets are now called "native" instead.
+
+2014-05-21  Pedro Alves  <palves@redhat.com>
+
+       * go32-nat.c (go32_open): Delete.
+       (go32_target): Don't override the to_open method.
+
+2014-05-21  Pedro Alves  <palves@redhat.com>
+
+       * nto-procfs.c (procfs_can_run): New function.
+       (nto_procfs_ops): New global.
+       (init_procfs_targets): New, based on procfs_target.  Install
+       "target native" in addition to "target procfs".
+       (_initialize_procfs): Call init_procfs_targets instead of adding
+       the target here.
+
+2014-05-21  Pedro Alves  <palves@redhat.com>
+
+       * windows-nat.c (windows_target): Don't override to_shortname,
+       to_longname or to_doc.
+
+2014-05-21  Pedro Alves  <palves@redhat.com>
+
+       * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
+       to_doc.
+
+2014-05-21  Pedro Alves  <palves@redhat.com>
+
+       * darwin-nat.c (_initialize_darwin_inferior): Don't override
+       to_shortname, to_longname or to_doc.
+
+2014-05-21  Pedro Alves  <palves@redhat.com>
+
+       * go32-nat.c (go32_target): Don't override to_shortname,
+       to_longname or to_doc.
+
+2014-05-21  Pedro Alves  <palves@redhat.com>
+
+       * inf-child.c (inf_child_open): Remove mention of "child".
+       (inf_child_target): Rename target to "native" instead of "child".
+
+2014-05-21  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * Makefile.in (SFILES): Delete "regset.c".
+       (COMMON_OBS): Delete "regset.o".
+       * regset.c: Remove.
+       * regset.h (regset_alloc): Delete prototype.
+
+2014-05-21  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * sparc-linux-tdep.c (sparc32_linux_gregset)
+       (sparc32_linux_fpregset): New static regset structures.
+       (sparc32_linux_init_abi): Drop dynamic regset allocations.
+       * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
+       'fpregset' fields.
+       * sparc64-linux-tdep.c: (sparc64_linux_gregset)
+       (sparc64_linux_fpregset): New static regset structures.
+       (sparc64_linux_init_abi): Drop dynamic regset allocations.
+       * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
+       New static regset structures.
+       (sparc64fbsd_init_abi): Drop dynamic regset allocations.
+       * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
+       New static regset structures.
+       (sparc64nbsd_init_abi): Drop dynamic regset allocations.
+       * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
+       New static regset structures.
+       (sparc64obsd_init_abi): Drop dynamic regset allocations.
+       * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
+       New static regset structures.
+       (sparc32nbsd_init_abi): Drop dynamic regset allocations.
+
+2014-05-21  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * sparc-linux-nat.c (supply_gregset, supply_fpregset)
+       (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
+       register maps ("regmaps") from "*regset" to "*regmap".  Do this
+       for all regmap types and variables.
+       * sparc-linux-tdep.c (sparc32_linux_step_trap)
+       (sparc32_linux_supply_core_gregset)
+       (sparc32_linux_collect_core_gregset)
+       (sparc32_linux_supply_core_fpregset)
+       (sparc32_linux_collect_core_fpregset): Likewise.
+       * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
+       (sparc_gregmap, sparc_fpregmap): ... these.
+       (sparc_supply_gregset, sparc_collect_gregset)
+       (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
+       (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
+       (_initialize_sparc_nat): Rename regmaps.
+       * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
+       (sparc_gregmap, sparc_fpregmap): ... these.
+       (sparc_supply_gregset, sparc_collect_gregset)
+       (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
+       * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
+       Rename macros to...
+       (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
+       (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
+       Likewise.
+       * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
+       Rename to...
+       (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
+       * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
+       (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
+       regmaps.
+       (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
+       (sparc32_bsd_fpregset): Rename to...
+       (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
+       (sparc32_bsd_fpregmap): ... these.
+       * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
+       (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
+       (sparc32_bsd_fpregset, sparc32_sol2_gregset)
+       (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
+       (struct sparc_gregmap, struct sparc_fpregmap)
+       (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
+       (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
+       (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
+       (sparc32_supply_regset, sparc32_collect_gregset)
+       (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
+       prototypes.
+       * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
+       (sparc64_linux_ptrace_gregmap): ... this.
+       (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
+       (_initialize_sparc64_linux_nat): Rename regmaps.
+       * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
+       (sparc64_linux_core_gregmap): ... this.
+       (sparc64_linux_supply_core_gregset)
+       (sparc64_linux_collect_core_gregset)
+       (sparc64_linux_supply_core_fpregset)
+       (sparc64_linux_collect_core_fpregset): Rename regmaps.
+       * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
+       (sparc64_sol2_fpregset): Rename to...
+       (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
+       * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
+       (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
+       regmaps.
+       * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
+       (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
+       (sparc64_bsd_fpregset): Rename to...
+       (struct sparc_gregmap, sparc64_sol2_gregmap)
+       (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
+       (sparc64_bsd_fpregmap): ... these.
+       (sparc64_supply_gregset, sparc64_collect_gregset)
+       (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
+       prototypes.
+       * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
+       * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
+       (sparc64fbsd_gregmap): ... this.
+       (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
+       (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
+       Rename regmaps.
+       * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
+       (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
+       (sparc64nbsd_collect_fpregset): Likewise.
+       * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
+       (sparc64nbsd_gregmap): ... this.
+       (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
+       regmaps.
+       * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
+       * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
+       (sparc64obsd_gregmap): ... this.
+       (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
+       regmaps.
+       * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
+       * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
+       (sparc32nbsd_gregmap): ... this.
+       (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
+       regmaps.
+
+2014-05-21  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * score-tdep.c (score7_linux_gregset): New static regset
+       structure.
+       (score7_linux_regset_from_core_section): Remove dynamic regset
+       allocation.
+       (score_gdbarch_init): Drop allocation of tdep structure.
+       * score-tdep.h (struct gdbarch_tdep): Remove declaration.
+
+2014-05-21  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
+       regset structures.
+       (am33_regset_from_core_section): Remove dynamic regset
+       allocations.
+
+2014-05-21  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
+       (mips_linux_fpregset, mips64_linux_fpregset): New static regset
+       structures.
+       (mips_linux_regset_from_core_section): Remove dynamic regset
+       allocations.
+       * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
+       'gregset64', 'fpregset', and 'fpregset64'.
+       * mips-tdep.c (mips_gdbarch_init): Remove initialization of
+       deleted tdep fields.
+
+2014-05-21  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
+       regset structures.
+       (amd64_regset_from_core_section): Remove dynamic regset
+       allocations.
+       * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
+       structure.
+       (amd64obsd_regset_from_core_section): Remove dynamic regset
+       allocation.
+       * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
+       Likewise.
+       * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
+       x86-common regset supply function.
+       * i386-tdep.c (i386_collect_gregset): Make static.
+       (i386_gregset): New global regset structure.
+       (i386_fpregset, i386_xstateregset): New static regset structures.
+       (i386_regset_from_core_section): Remove dynamic regset
+       allocations.
+       (i386_gdbarch_init): Remove initialization of tdep fields
+       'gregset', 'fpregset', and 'xstateregset'.
+       * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
+       'fpregset', and 'xstateregset'.
+       (i386_collect_gregset): Remove prototype.
+       (i386_gregset): New declaration.
+       * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
+       structure.
+       (i386obsd_aout_regset_from_core_section): Remove dynamic regset
+       allocation.
+
+2014-05-21  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
+       (arm_linux_vfpregset): New static regset structures.
+       (arm_linux_regset_from_core_section): Remove dynamic allocation of
+       regset structures.
+       * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
+       and 'vfpregset' fields.
+
+2014-05-21  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * aarch64-linux-tdep.c (aarch64_linux_gregset)
+       (aarch64_linux_fpregset): New static regset structures.
+       (aarch64_linux_regset_from_core_section): Drop dynamic allocation
+       of regset structures.
+       * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
+       'fpregset' fields.
+
+2014-05-21  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * regset.h (struct regset): Remove gdbarch field.
+       * regset.c (regset_alloc): Drop initialization of gdbarch field.
+       * nios2-linux-tdep.c (nios2_core_regset): Likewise.
+       * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
+       Likewise.
+       * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
+       (ppc32_linux_fpregset, ppc32_linux_vrregset)
+       (ppc32_linux_vsxregset): Likewise.
+       * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
+       via the regcache instead of the regset.
+       * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
+       (i386_supply_fpregset, i386_collect_fpregset): Likewise.
+       * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
+       * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
+       Likewise.
+
+2014-05-21  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
+       Constify structures.
+       * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
+       (alphanbsd_aout_gregset): Likewise.
+       * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
+       * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
+       Likewise.
+       * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
+       * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
+       Likewise.
+       * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
+       * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
+       * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
+       * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
+       * m88k-tdep.c (m88k_gregset): Likewise.
+       * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
+       * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
+       * nios2-linux-tdep.c (nios2_core_regset): Likewise.
+       * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
+       * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
+       * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
+       * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
+       * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
+       * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
+       Likewise.
+       * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
+       * sh-tdep.h (sh_corefile_gregset): Likewise.
+       * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
+       * vax-tdep.c (vax_gregset): Likewise.
+
+2014-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix TLS access for -static -pthread.
+       * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
+       (try_thread_db_load_1): Initialize it.
+       (thread_db_get_thread_local_address): Call it if LM is zero.
+       * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
+       * target.h (struct target_ops) (to_get_thread_local_address): Add
+       load_module_addr comment.
+
+2014-05-21  Pedro Alves  <palves@redhat.com>
+
+       * dcache.c (dcache_read_memory_partial): If reading the cache line
+       fails, fallback to reading just the memory the caller wanted.
+
+2014-05-20  Doug Evans  <dje@google.com>
+
+       * python/py-progspace.c (py_free_pspace): Call target_gdbarch
+       instead of get_current_arch.
+
+2014-05-20  Pedro Alves  <palves@redhat.com>
+
+       * NEWS: Mention that compare-sections now works with all targets.
+
+       * remote.c (PACKET_qCRC): New enum value.
+       (remote_verify_memory): Don't send qCRC if the target has no
+       execution.  Use packet_support/packet_ok.  If the target doesn't
+       support the qCRC packet, fallback to a deep memory copy.
+       (compare_sections_command): Say "target image" instead of "remote
+       executable".
+       (_initialize_remote): Add PACKET_qCRC to the list of config
+       packets that have no associated command.  Extend comment.
+       * target.c (simple_verify_memory, default_verify_memory): New
+       function.
+       * target.h (struct target_ops) <to_verify_memory>: Default to
+       default_verify_memory.
+       (simple_verify_memory): New declaration.
+       * target-delegates.c: Regenerate.
+
+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.033078 seconds and 4 git commands to generate.