PR15693 - Fix spurious *running events, thread state, dprintf-style call
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index a70263d9ef488895d864d8eea5f9e7779c5ef811..df6cc085b23fd10a4c8386850d1a08291c58a0d5 100644 (file)
@@ -1,3 +1,189 @@
+2014-05-29  Pedro Alves  <palves@redhat.com>
+
+       PR PR15693
+       * infrun.c (resume): Determine how much to resume depending on
+       whether the caller wanted a step, not whether we can hardware step
+       the target.  Mark all threads that we intend to run as running,
+       unless we're calling an inferior function.
+       (normal_stop): If the thread is running an infcall, don't finish
+       thread state.
+       * target.c (target_resume): Don't mark threads as running here.
+
+2014-05-28  Joel Brobecker  <brobecker@adacore.com>
+
+       * serial.c (_initialize_serial): Remove support for
+       the "set remotebaud" and "show remotebaud" commands.
+       * NEWS: Add entry documenting the removal of that command.
+
+2014-05-28  Yao Qi  <yao@codesourcery.com>
+
+       * charset.c: Fix typo in comments.
+
+2014-05-27  Gary Benson  <gbenson@redhat.com>
+
+       * utils.c (internal_vproblem): Prompt for a bug report.
+
+2014-05-26  Andy Wingo  <wingo@igalia.com>
+
+       * guile/scm-arch.c (arscm_mark_arch_smob):
+       * guile/scm-block.c (bkscm_mark_block_smob)
+       (bkscm_mark_block_syms_progress_smob):
+       * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
+       * guile/scm-exception.c (exscm_mark_exception_smob):
+       * guile/scm-frame.c (frscm_mark_frame_smob):
+       * guile/scm-iterator.c (itscm_mark_iterator_smob):
+       * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
+       * guile/scm-objfile.c (ofscm_mark_objfile_smob):
+       * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
+       (ppscm_mark_pretty_printer_worker_smob):
+       * guile/scm-symbol.c (syscm_mark_symbol_smob):
+       * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
+       * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
+       * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
+       mark functions.
+       * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
+       function.
+
+2014-05-26  Andy Wingo  <wingo@igalia.com>
+           Doug Evans  <xdje42@gmail.com>
+
+       * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
+       empty_base_class.  All uses updated.
+       (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
+       (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
+       Adapt all callers.
+       * guile/scm-gsmob.c (gdbscm_mark_gsmob)
+       (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
+       (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
+       (gdbscm_gsmob_has_property_p, add_property_name)
+       (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
+       * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
+       (gdb-object-has-property?, gdb-object-properties): Remove.
+       (gdb-object-kind): Renamed from gsmob-kind.
+
+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
 
 2014-05-21  Doug Evans  <xdje42@gmail.com>
 
-       * guile/scm-exception.c (gdbscm_invalid_object_error): Make result is void.
+       * 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.
This page took 0.026622 seconds and 4 git commands to generate.