]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/ChangeLog
Fix gdb 8.1 Solaris compilation
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
index ab982ab5874f636ba20bf83f56b5ad6e684346ed..02229bc7586098d098cd46de8f1f5f7ef8ff7477 100644 (file)
@@ -1,3 +1,237 @@
+2017-09-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * configure.nat <i386sol2,i386>: Add fork-inferior.o to NATDEPFILES.
+       <sol2,sparc>: Likewise.
+       <sol2-64,i386>: Likewise.
+
+       * warning.m4 (AM_GDB_WARNINGS): Disable -Wunknown-pragmas,
+       -Wdeprecated-declarations on *-*-solaris*.
+       * configure: Regenerate.
+
+       * procfs.c: Include "nat/inferior.h".
+       (procfs_info_proc): Fix typo.
+
+2017-09-21  Kevin Buettner  <kevinb@redhat.com>
+
+       * remote.c (vector): Include.
+       (struct private_thread_info): Add field, thread_handle.
+       (free_private_thread_info): Deallocate storage associated with
+       thread handle.
+       (get_private_info_thread): Initialize `thread_handle' field.
+       (struct thread_item): Add field, thread_handle.
+       (clear_threads_listing_context): Deallocate storage associated
+       with thread handle.
+       (start_thread): Add support for "handle" attribute.
+       (thread_attributes): Add "handle".
+       (remote_get_threads_with_qthreadinfo): Initialize thread_handle
+       field.
+       (remote_update_thread_list): Update thread_handle.
+       (remote_thread_handle_to_thread_info): New function.
+       (init_remote_ops): Initialize to_thread_handle_to_thread_info.
+
+2017-09-21  Kevin Buettner  <kevinb@redhat.com>
+
+       * python/py-inferior.c (gdbpy_thread_from_thread_handle): New
+       function.
+       (inferior_object_methods): Add gdbpy_thread_from_thread_handle.
+       * python/python-internal.h (thread_object_type): Declare.
+
+2017-09-21  Kevin Buettner  <kevinb@redhat.com>
+
+       * target.h (struct target_ops): Add to_thread_handle_to_thread_info.
+       (target_thread_handle_to_thread_info): Declare.
+       * target.c (target_thread_handle_to_thread_info): New function.
+       * target-delegates.c: Regenerate.
+       * gdbthread.h (find_thread_by_handle): Declare.
+       * thread.c (find_thread_by_handle): New function.
+       * linux-thread-db.c (thread_db_thread_handle_to_thread_info): New
+       function.
+       (init_thread_db_ops): Register thread_db_thread_handle_to_thread_info.
+
+2017-09-21  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * nat/linux-waitpid.c (linux_debug): Add ATTRIBUTE_PRINTF.
+
+2017-09-21  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * microblaze-tdep.c (microblaze_debug): Add ATTRIBUTE_PRINTF.
+
+2017-09-21  Yao Qi  <yao.qi@linaro.org>
+
+       * configure.tgt (aarch64*-*-freebsd*): Add fbsd-tdep.o solib-svr4.o
+       to gdb_target_obs.
+
+2017-09-20  Tom Tromey  <tom@tromey.com>
+
+       * breakpoint.c (struct counted_command_line): Remove.
+       (breakpoint_commands): Update.
+       (alloc_counted_command_line, incref_counted_command_line)
+       (decref_counted_command_line, do_cleanup_counted_command_line)
+       (make_cleanup_decref_counted_command_line): Remove.
+       (breakpoint_set_commands, commands_command_1, ~bpstats, bpstats)
+       (bpstat_clear_actions, bpstat_do_actions_1, watchpoint_check)
+       (bpstat_stop_status, print_one_breakpoint_location, ~breakpoint)
+       (save_breakpoints): Update.
+       * breakpoint.h (counted_command_line): Now a typedef to
+       shared_ptr.
+       (struct breakpoint) <commands>: Now a counted_command_line.
+       (struct bpstats) <command>: Likewise.
+
+2017-09-20  Tom Tromey  <tom@tromey.com>
+
+       * breakpoint.c (struct commands_info, do_map_commands_command):
+       Remove.
+       (commands_command_1): Update.
+       (iterate_over_related_breakpoints): Take a function_view.
+       (do_delete_breakpoint, do_map_delete_breakpoint): Remove.
+       (delete_command): Update.
+       (map_breakpoint_numbers): Take a function_view.
+       (do_disable_breakpoint, do_map_delete_breakpoint): Remove.
+       (disable_command): Update.
+       (do_enable_breakpoint, do_map_enable_breakpoint): Remove.
+       (enable_command): Update.
+       (struct disp_data, do_enable_breakpoint_disp)
+       (do_map_enable_once_breakpoint, do_map_enable_count_breakpoint)
+       (do_map_enable_delete_breakpoint): Remove.
+       (enable_once_command, enable_count_command, enable_delete_command)
+       (delete_trace_variable_command): Update.
+
+2017-09-20  Tom Tromey  <tom@tromey.com>
+
+       * breakpoint.c (~bpstats): Rename from bpstat_free.  Update.
+       (bpstat_clear): Use delete.
+       (bpstats): New constructors.
+       (bpstat_copy, bpstat_stop_status): Use new.
+       (dprintf_after_condition_true): Update.
+       * breakpoint.h (bpstats::bpstats): Add constructors.
+       (bpstats::~bpstats): Add destructor.
+
+2017-09-20  Pedro Alves  <palves@redhat.com>
+
+       * eval.c (make_params): Delete, refactored as ...
+       (class fake_method): ... this new type's ctor.
+       (fake_method::~fake_method): New.
+       (evaluate_subexp_standard): Use 'fake_method'.
+
+2017-09-20  Tom Tromey  <tom@tromey.com>
+
+       * windows-nat.c (get_windows_debug_event, windows_wait)
+       (do_initial_windows_stuff, windows_attach): Update.
+       * utils.c (vwarning, internal_vproblem): Update.
+       (ui_unregister_input_event_handler_cleanup)
+       (prepare_to_handle_input): Remove.
+       (class scoped_input_handler): New.
+       (defaulted_query, prompt_for_continue): Update.
+       * tui/tui-hooks.c (tui_refresh_frame_and_register_information):
+       Update.
+       * top.c (undo_terminal_modifications_before_exit): Update.
+       * target/target.h (target_terminal_init, target_terminal_inferior)
+       (target_terminal_ours): Don't declare.
+       (class target_terminal): New.
+       * target.h (target_terminal_is_inferior, target_terminal_is_ours)
+       (target_terminal_ours_for_output)
+       (make_cleanup_restore_target_terminal): Don't declare.
+       (target_terminal_info): Remove.
+       * target.c (enum terminal_state, terminal_state): Remove.
+       (target_terminal::terminal_state): Define.
+       (target_terminal::init): Rename from target_terminal_init.
+       (target_terminal::inferior): Rename from
+       target_terminal_inferior.
+       (target_terminal::ours): Rename from target_terminal_ours.
+       (target_terminal::ours_for_output): Rename from
+       target_terminal_ours_for_output.
+       (target_terminal::info): New method.
+       (cleanup_restore_target_terminal)
+       (make_cleanup_restore_target_terminal): Remove.
+       * solib.c (handle_solib_event): Update.
+       * remote.c (remote_serial_quit_handler): Update.
+       (remote_terminal_inferior, remote_wait_as): Update.
+       * record-full.c (record_full_wait_1): Update.
+       * nto-procfs.c (procfs_create_inferior): Update.
+       * nat/fork-inferior.c (startup_inferior): Update.
+       * mi/mi-interp.c (mi_new_thread, mi_thread_exit)
+       (mi_record_changed, mi_inferior_added, mi_inferior_appeared)
+       (mi_inferior_exit, mi_inferior_removed, mi_traceframe_changed)
+       (mi_tsv_created, mi_tsv_deleted, mi_tsv_modified)
+       (mi_breakpoint_created, mi_breakpoint_deleted)
+       (mi_breakpoint_modified, mi_on_resume, mi_solib_loaded)
+       (mi_solib_unloaded, mi_command_param_changed, mi_memory_changed)
+       (mi_user_selected_context_changed, report_initial_inferior):
+       Update.
+       * linux-nat.c (linux_nat_attach, linux_nat_terminal_ours)
+       (linux_nat_terminal_inferior): Update.
+       * infrun.c (follow_fork_inferior)
+       (handle_vfork_child_exec_or_exit, do_target_resume)
+       (check_curr_ui_sync_execution_done, handle_inferior_event_1)
+       (handle_signal_stop, maybe_remove_breakpoints, normal_stop):
+       Update.
+       * inflow.c (child_terminal_init, info_terminal_command): Update.
+       * infcmd.c (post_create_inferior, continue_1, prepare_one_step)
+       (attach_command): Update.
+       * infcall.c (call_thread_fsm_should_stop): Update.
+       * gnu-nat.c (gnu_attach): Update.
+       * extension.c (struct active_ext_lang_state)
+       (restore_active_ext_lang): Update.
+       * exceptions.c (print_flush): Update.
+       * event-top.c (async_enable_stdin, default_quit_handler): Update.
+       (struct quit_handler_cleanup_data, restore_quit_handler)
+       (restore_quit_handler_dtor, make_cleanup_override_quit_handler):
+       Remove.
+       * cp-support.c (gdb_demangle): Update.
+       * breakpoint.c (update_inserted_breakpoint_locations)
+       (insert_breakpoint_locations, handle_jit_event)
+       (disable_breakpoints_in_unloaded_shlib): Update.
+       * annotate.c (annotate_breakpoints_invalid)
+       (annotate_frames_invalid): Update.
+
+2017-09-20  Tom Tromey  <tom@tromey.com>
+
+       * main.c (catch_command_errors): Rename from
+       catch_command_errors_const.
+       (captured_main_1): Update.
+
+2017-09-20  Pedro Alves  <palves@redhat.com>
+
+       * cli/cli-cmds.c (list_command): Use print_sal_location.
+       (print_sal_location): New function.
+       (ambiguous_line_spec): Use print_sal_location.
+       * linespec.c (symbol_to_sal): Record the symbol in the sal.
+       * symtab.c (find_function_start_sal): Likewise.
+       * symtab.h (symtab_and_line::symbol): New field.
+
+2017-09-20  Pedro Alves  <palves@redhat.com>
+
+       * linespec.c (minsym_found): Handle non-text minsyms.
+       (symbol_to_sal): Record a sal.pc for non-block, non-label symbols.
+
+2017-09-20  Walfred Tedeschi  <walfred.tedeschi@intel.com>
+
+       * features/Makefile (i386-avx-mpx-avx512-pku.dat): Add missing
+       backslash.
+
+2017-09-20  Walfred Tedeschi  <walfred.tedeschi@intel.com>
+
+       * gdb.arch/i386-avx512.c (move_zmm_data_to_reg): Use
+       vmovups instead vmovaps.
+       (move_zmm_data_to_memory): Use vmovups instead vmovaps.
+
+2017-09-19  John Baldwin  <jhb@FreeBSD.org>
+
+       * NEWS (Changes since GDB 8.0): Add starti.
+       * infcmd.c (enum run_break): New.
+       (run_command_1): Queue pending event for RUN_STOP_AT_FIRST_INSN
+       case.
+       (run_command): Use enum run_how.
+       (start_command): Likewise.
+       (starti_command): New function.
+       (RUN_ARGS_HELP): New macro.
+       (_initialize_infcmd): Use RUN_ARGS_HELP for run and start
+       commands.  Add starti command.
+
+2017-09-19  Yao Qi  <yao.qi@linaro.org>
+
+       * Makefile.in (monitor.o): Remove the rule.
+
 2017-09-19  Yao Qi  <yao.qi@linaro.org>
 
        * annotate.h (struct annotate_arg_emitter): Use