Add configure support for building with guile 2.2.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index ef9c9044e9c66e12e55855930e1ae2bf61296356..296ef2275d0f4d07b234cf8ff62d6de3b80d096a 100644 (file)
@@ -1,3 +1,242 @@
+2014-05-26  Andy Wingo  <wingo@igalia.com>
+
+       * configure.ac (try_guile_versions): Allow building with guile 2.2.
+       * configure: Regenerate.
+
+2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
+
+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 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.
This page took 0.028504 seconds and 4 git commands to generate.