Remove unnecessary cast in aix-thread.c:ptrace32.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 10840a5b17316db9e37f46356ab867e0b7ad696a..52454aeb6778fc8fce3208d52e23aa26fb26ec38 100644 (file)
@@ -1,3 +1,116 @@
+2013-10-04  Joel Brobecker  <brobecker@adacore.com>
+
+       * aix-thread.c (ptrace32): Remove cast to addr_ptr.
+
+2013-10-04  Joel Brobecker  <brobecker@adacore.com>
+
+       * mi/mi-main.c (run_one_inferior): Add function description.
+       Make ARG a pointer to an integer whose value determines whether
+       we should "run" or "start" the program.
+       (mi_cmd_exec_run): Add handling of the "--start" option.
+       Reject all other command-line options.
+       * NEWS: Add entry for "-exec-run"'s new "--start" option.
+
+2013-10-04  Yao Qi  <yao@codesourcery.com>
+
+       * remote-notif.h (REMOTE_NOTIF_ID): New enum.
+       (struct notif_client) <pending_event>: Moved
+       to struct remote_notif_state.
+       <id>: New field.
+       (struct remote_notif_state) <pending_event>: New field.
+       (notif_event_xfree): Declare.
+       * remote-notif.c (handle_notification): Adjust.
+       (notif_event_xfree): New function.
+       (do_notif_event_xfree): Call notif_event_xfree.
+       (remote_notif_state_xfree): Call notif_event_xfree to free
+       each element in field pending_event.
+       * remote.c (discard_pending_stop_replies): Remove declaration.
+       (discard_pending_stop_replies_in_queue): Declare.
+       (remote_close): Call discard_pending_stop_replies_in_queue
+       instead of discard_pending_stop_replies.
+       (remote_start_remote): Adjust.
+       (stop_reply_xfree): Call notif_event_xfree.
+       (notif_client_stop): Adjust initialization.
+       (remote_notif_remove_all): Rename it to ...
+       (remove_stop_reply_for_inferior): ... this.  Update comments.
+       Don't check INF is NULL.
+       (discard_pending_stop_replies): Return early if notif_state is
+       NULL.  Adjust.  Don't check INF is NULL.
+       (remote_notif_get_pending_events): Adjust.
+       (discard_pending_stop_replies_in_queue): New function.
+       (remote_wait_ns): Likewise.
+
+2013-10-04  Yao Qi  <yao@codesourcery.com>
+
+       * remote-notif.c (DECLARE_QUEUE_P): Remove.
+       (notif_queue): Remove.
+       (remote_notif_process): Add one parameter 'notif_queue'.
+       Update comments.  Callers update.
+       (remote_async_get_pending_events_token): Remove.
+       (remote_notif_register_async_event_handler): Remove.
+       (remote_notif_unregister_async_event_handler): Remove.
+       (handle_notification): Add parameter 'notif_queue'.  Update
+       comments.  Callers update.
+       (notif_xfree): Remove.
+       (remote_notif_state_allocate): New function.
+       (remote_notif_state_xfree): New function.
+       (_initialize_notif): Remove code to allocate queue.
+       * remote-notif.h (DECLARE_QUEUE_P): Moved from remote-notif.c.
+       (struct remote_notif_state): New.
+       (handle_notification): Update declaration.
+       (remote_notif_process): Likewise.
+       (remote_notif_register_async_event_handler): Remove.
+       (remote_notif_unregister_async_event_handler): Remove.
+       (remote_notif_state_allocate): Declare.
+       (remote_notif_state_xfree): Declare.
+       * remote.c (struct remote_state) <notif_state>: New field.
+       (remote_close): Don't call
+       remote_notif_unregister_async_event_handler.  Call
+       remote_notif_state_xfree.
+       (remote_open_1): Don't call
+       remote_notif_register_async_event_handler.  Call
+       remote_notif_state_allocate.
+
+2013-10-04  Yao Qi  <yao@codesourcery.com>
+
+       * varobj.c (create_child_with_value): Remove 'const' from the
+       type of parameter 'name'.
+       (varobj_add_child): Likewise.
+       (install_dynamic_child): Remove 'const' from the type of
+       parameter 'name'.
+       (varobj_add_child): Likewise.
+       (create_child_with_value): Likewise.  Update comments.  Don't
+       duplicate 'name'.
+       (update_dynamic_varobj_children): Duplicate 'name'
+       and pass it to install_dynamic_child.
+
+2013-10-03  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * python/py-value.c (convert_value_from_python): Move PyInt_Check
+       conversion logic to occur after PyLong_Check.  Comment on order
+       change significance.
+       * python/py-arch.c (archpy_disassemble): Comment on order of
+       conversion for integers and longs.
+
+2013-10-03  Pedro Alves  <palves@redhat.com>
+
+       * common/linux-ptrace.c (linux_check_ptrace_features): Factor out
+       the PTRACE_O_TRACESYSGOOD and PTRACE_O_TRACEFORK to separate
+       functions.  Always test for PTRACE_O_TRACESYSGOOD even if
+       PTRACE_O_TRACEFORK is not supported.
+       (linux_test_for_tracesysgood): New function.
+       (linux_test_for_tracefork): New function, factored out from
+       linux_check_ptrace_features, and also don't kill child_pid here.
+
+2013-10-03  Tristan Gingold  <gingold@adacore.com>
+
+       * i386-darwin-nat.c (i386_darwin_dr_set): Fix argument type.
+       Remove verbose error reporting.  Use detected state to
+       thread_set_state call.
+       (i386_darwin_dr_get): Fix return type.  Remove verbose error
+       report.
+       Remove trailing spaces.
+
 2013-10-02  Pedro Alves  <palves@redhat.com>
 
        * cp-valprint.c (cp_print_value_fields): Adjust calls to
This page took 0.02765 seconds and 4 git commands to generate.