cleanup fixes for inf-ptrace.c
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 1c21cd46689dc44448c1a9cdac830aba8b974de6..c3303ea78dde28f2dfc30628baa488208d0720f3 100644 (file)
@@ -1,3 +1,188 @@
+2013-05-30  Tom Tromey  <tromey@redhat.com>
+
+       * inf-ptrace.c (inf_ptrace_create_inferior): Unconditionally
+       call discard_cleanups.
+       (inf_ptrace_attach): Likewise.
+
+2013-05-30  Tom Tromey  <tromey@redhat.com>
+
+       * remote-mips.c (mips_exit_debug): Call do_cleanups on all
+       return paths.
+       (mips_initialize): Likewise.
+       (common_open): Call do_cleanups.
+
+2013-05-30  Tom Tromey  <tromey@redhat.com>
+
+       * utils.c (internal_vproblem): Call do_cleanups.
+
+2013-05-30  Tom Tromey  <tromey@redhat.com>
+
+       * linespec.c (find_linespec_symbols): Don't reassign to 'cleanup'.
+
+2013-05-30  Tom Tromey  <tromey@redhat.com>
+
+       * cli/cli-script.c (setup_user_args): Don't return after error.
+
+2013-05-30  Tom Tromey  <tromey@redhat.com>
+
+       * somread.c (som_symtab_read): Call do_cleanups.
+
+2013-05-30  Tom Tromey  <tromey@redhat.com>
+
+       * printcmd.c (print_command_1): Unconditionally call do_cleanups.
+
+2013-05-30  Tom Tromey  <tromey@redhat.com>
+
+       * cli/cli-cmds.c (cd_command, alias_command): Call do_cleanups.
+       * cli/cli-dump.c (restore_binary_file): Call do_cleanups.
+       * interps.c (interpreter_exec_cmd): Call do_cleanups.
+       * source.c (show_substitute_path_command): Call do_cleanups.
+       (unset_substitute_path_command, set_substitute_path_command):
+       Likewise.
+       * symfile.c (load_command): Call do_cleanups.
+
+2013-05-30  Tom Tromey  <tromey@redhat.com>
+
+       * contrib/cleanup_check.py: New file.
+       * contrib/gcc-with-excheck: Add option parsing.
+
+2013-05-30  Joel Brobecker  <brobecker@adacore.com>
+
+       * windows-nat.c (windows_delete_thread): Add missing space
+       in cast expression.
+
+2013-05-30  Hafiz Abid Qadeer  <abidh@codesourcery.com>
+
+       * inferior.c (top level): Include tilde.h.
+       (add_inferior_command): Call tilde_expand on the value of 'exec'
+       argument.
+
+2013-05-30  Pedro Alves  <pedro@codesourcery.com>
+           Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (encode_actions_1): Remove parameter 't'.
+       Caller update.
+       (encode_actions): Likewise.
+       * remote.c (remote_download_tracepoint): Caller update.
+       * tracepoint.h (encode_actions): Update declaration.
+
+2013-05-30  Pedro Alves  <palves@redhat.com>
+
+       * python/python-internal.h (gdb_Py_DECREF): Cast OP to PyObject
+       pointer.
+
+2013-05-30  Yao Qi  <yao@codesourcery.com>
+
+       * remote.c (remote_check_symbols): Remove unused parameter
+       'objfile'.
+       Declaration update.
+       (remote_start_remote, remote_new_objfile): Caller update.
+
+2013-05-30  Yao Qi  <yao@codesourcery.com>
+
+       * mi/mi-cmds.c (mi_cmds): Define MI command
+       '-exec-arguments' by macro DEF_MI_CMD_CLI_1 instead of
+       DEF_MI_CMD_CLI.
+
+2013-05-29  Pedro Alves  <palves@redhat.com>
+
+       * remote.c (remote_insert_breakpoint, remote_remove_breakpoint)
+       (remote_insert_watchpoint, remote_remove_watchpoint)
+       (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint)
+       (remote_verify_memory, compare_sections_command)
+       (remote_search_memory): Set the general process/thread on the
+       remote side.
+
+2013-05-29  Pedro Alves  <palves@redhat.com>
+
+       * aarch64-tdep.c: Don't include "features/aarch64-without-fpu.c".
+       (_initialize_aarch64_tdep): Don't call
+       initialize_tdesc_aarch64_without_fpu.
+       * features/Makefile (WHICH): Remove reference to
+       aarch64-without-fpu.
+       * features/aarch64-without-fpu.c: Delete file.
+       * regformats/aarch64-without-fpu.dat: Delete file.
+
+2013-05-28  Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (stringify_collection_list): Remove parameter
+       'string'.
+       (encode_actions): Caller update.  Remove local variables.
+
+2013-05-24  Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (TFILE_PID): Remove.
+       (tfile_open): Don't add thread and inferior.
+       (tfile_close): Don't set 'inferior_ptid'.  Don't call
+       exit_inferior_silent.
+       (tfile_thread_alive): Remove.
+       (init_tfile_ops): Don't set field 'to_thread_alive' of
+       tfile_ops.
+
+2013-05-23  Doug Evans  <dje@google.com>
+
+       * contrib/cc-with-tweaks.sh (-p): Handle no dwo files.
+
+2013-05-23  Pedro Alves  <palves@redhat.com>
+
+       * common/filestuff.c [USE_WIN32API]: Define HAVE_SOCKETS.
+       [HAVE_SYS_SOCKET_H]: Define HAVE_SOCKETS.
+       (socket_mark_cloexec, gdb_socketpair_cloexec, gdb_socket_cloexec):
+       Only define if HAVE_SOCKETS is defined.
+       * configure.ac: Check for sys/socket.h.
+       * config.in, configure: Regenerate.
+
+2013-05-23  Pedro Alves  <palves@redhat.com>
+
+       * dwarf2read.c (create_dwp_hash_table, create_dwo_in_dwp)
+       (open_and_init_dwp_file): Use %s/pulongest instead of %u for
+       printing uint32_t variables.
+
+2013-05-23  Pedro Alves  <palves@redhat.com>
+
+       * NEWS: Mention GDBserver range stepping support.
+
+2013-05-23  Yao Qi  <yao@codesourcery.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * gdbthread.h (struct thread_control_state) <may_range_step>: New
+       field.
+       * infcmd.c (step_once, until_next_command): Enable range stepping.
+       * infrun.c (displaced_step_prepare): Disable range stepping.
+       (resume): Disable range stepping if stepping over a breakpoint or
+       we have software watchpoints.  If range stepping is enabled,
+       assert the thread is in the stepping range.
+       (clear_proceed_status_thread): Clear may_range_step.
+       (handle_inferior_event): Disable range stepping as soon as we know
+       the thread that hit the event.  Re-enable it whenever we're going
+       to step with a step range.
+       * remote.c (struct vCont_action_support) <r>: New field.
+       (use_range_stepping): New global.
+       (remote_vcont_probe): Handle 'r' action.
+       (append_resumption): Append an 'r' action if the thread may range
+       step.
+       (show_range_stepping): New function.
+       (set_range_stepping): New function.
+       (_initialize_remote): Call add_setshow_boolean_cmd to register the
+       'set range-stepping' and 'show range-stepping' commands.
+       * NEWS: Mention range stepping, the new vCont;r action, and the
+       new "set/show range-stepping" commands.
+
+2013-05-23  Yao Qi  <yao@codesourcery.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * remote.c (struct vCont_action_support): New struct.
+       (struct remote_state) <support_vCont_t>: Remove field.
+       <vCont_actions_support>: New field.
+       (remote_vcont_probe, remote_stop_ns): Update.
+
+2013-05-23  Yao Qi  <yao@codesourcery.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * gdbthread.h (pc_in_thread_step_range): New declaration.
+       * thread.c (pc_in_thread_step_range): New function.
+       * infrun.c (handle_inferior_event): Use it.
+
 2013-05-23  Joel Brobecker  <brobecker@adacore.com>
 
        * mi/mi-cmd-break.c (mi_argv_to_format): Use xsnprintf instead
This page took 0.025903 seconds and 4 git commands to generate.