X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2FChangeLog;h=31a9a2687d17e4ea0c86a60faf672da9b9860ee6;hb=f7b7ed97a23e2bf4a2ec27bef0fe0af55a080a94;hp=ce21e258730fe3d98f82598bd181522dca82a063;hpb=0c478e2d060bebea341696806fed6f67122efab6;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ce21e25873..31a9a2687d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,356 @@ +2017-10-12 Tom Tromey + + * s390-linux-tdep.c (s390_store, s390_load) + (s390_check_for_saved, s390_analyze_prologue): Update. + * rx-tdep.c (check_for_saved, rx_analyze_prologue): Update. + * rl78-tdep.c (rl78_analyze_prologue, check_for_saved): Update. + * prologue-value.h (class pv_area): Move from prologue-value.c. + Change names of members. Add constructor, destructor, member + functions. + (make_pv_area, free_pv_area, make_cleanup_free_pv_area) + (pv_area_store, pv_area_fetch, pv_area_store_would_trash) + (pv_area_fetch, pv_area_scan): Don't declare. + * prologue-value.c (struct pv_area::area_entry): Now member of + pv_area. + (struct pv_area): Move to prologue-value.h. + (pv_area::pv_area): Rename from make_pv_area. + (pv_area::~pv_area): Rename from free_pv_area. + (do_free_pv_area_cleanup, make_cleanup_free_pv_area): Remove. + (clear_entries, find_entry, overlaps, store_would_trash, store) + (fetch, find_reg, scan): Now member of pv_area. + Remove "area" argument. Update. + * msp430-tdep.c (check_for_saved, msp430_analyze_prologue): + Update. + * mn10300-tdep.c (push_reg, check_for_saved) + (mn10300_analyze_prologue): Update. + * mep-tdep.c (is_arg_spill, check_for_saved) + (mep_analyze_prologue): Update. + * m32c-tdep.c (m32c_pv_push, m32c_srcdest_fetch) + (m32c_srcdest_store, m32c_pv_enter, m32c_is_arg_spill) + (m32c_is_struct_return, m32c_analyze_prologue): Update. + * arm-tdep.c (thumb_analyze_prologue, arm_analyze_prologue): + Update. + * arc-tdep.c (arc_is_in_prologue, arc_analyze_prologue): Update. + * aarch64-tdep.c (aarch64_analyze_prologue): Update. + +2017-10-12 Simon Marchi + + * linux-nat.h (linux_nat_set_delete_thread): New declaration. + * linux-nat.c (linux_nat_delete_thread): New variable. + (lwp_free): Invoke linux_nat_delete_thread if set. + (linux_nat_set_delete_thread): New function. + * aarch64-linux-nat.c (_initialize_aarch64_linux_nat): Assign + thread delete callback. + * arm-linux-nat.c (arm_linux_delete_thread): New function. + (_initialize_arm_linux_nat): Assign thread delete callback. + * s390-linux-nat.c (s390_delete_thread): New function. + (_initialize_s390_nat): Assign thread delete callback. + * x86-linux-nat.c (x86_linux_add_target): Likewise. + * nat/aarch64-linux.c (aarch64_linux_delete_thread): New + function. + * nat/aarch64-linux.h (aarch64_linux_delete_thread): New + declaration. + * nat/x86-linux.c (x86_linux_delete_thread): New function. + * nat/x86-linux.h (x86_linux_delete_thread): New declaration. + +2017-10-09 Tom Tromey + + * tui/tui-win.c (tui_set_win_height, parse_scrolling_args): Use + std::string. + * tui/tui-layout.c (enum tui_status): Use std::string. + +2017-10-11 Tom Tromey + + * gdbthread.h (thread_command): Constify. + * inferior.h (detach_command): Constify. + * top.h (set_history, show_history): Constify. + * arm-tdep.c (set_arm_command, show_arm_command): Constify. + * serial.c (serial_set_cmd, serial_show_cmd): Constify. + * bsd-kvm.c (bsd_kvm_cmd): Constify. + * printcmd.c (set_command): Constify. + (non_const_set_command): New function. + * dcache.c (set_dcache_command, show_dcache_command): Constify. + * breakpoint.c (enable_command, disable_command, delete_command) + (catch_command, tcatch_command, set_breakpoint_cmd) + (show_breakpoint_cmd): Constify. + * macrocmd.c (macro_command): Constify. + * infcmd.c (unset_command, kill_command, detach_command) + (info_proc_cmd): Constify. + * i386-tdep.c (set_mpx_cmd, show_mpx_cmd): Constify. + * auto-load.c (show_auto_load_cmd, set_auto_load_cmd) + (info_auto_load_cmd): Constify. + * target-descriptions.c (set_tdesc_cmd, show_tdesc_cmd) + (unset_tdesc_cmd): Constify. + * ada-lang.c (set_ada_command, show_ada_command) + (maint_set_ada_cmd, maint_show_ada_cmd): Constify. + * guile/guile.c (set_guile_command, show_guile_command) + (info_guile_command): Constify. + * tui/tui-win.c (tui_command, set_tui_cmd, show_tui_cmd): + Constify. + * skip.c (skip_command): Constify. + * compile/compile.c (_initialize_compile): Constify. + * dwarf2read.c (set_dwarf_cmd, show_dwarf_cmd): Constify. + * btrace.c (maint_btrace_cmd, maint_btrace_set_cmd) + (maint_btrace_show_cmd, maint_btrace_pt_set_cmd) + (maint_btrace_pt_show_cmd): Constify. + * remote.c (set_remote_cmd, show_remote_cmd, remote_command): + Constify. + * python/python.c (user_show_python, user_set_python): Constify. + * mips-tdep.c (set_mips_command, show_mips_command) + (set_mipsfpu_command): Constify. + * record-btrace.c (cmd_record_btrace_start) + (cmd_set_record_btrace, cmd_show_record_btrace) + (cmd_set_record_btrace_bts, cmd_show_record_btrace_bts) + (cmd_set_record_btrace_pt, cmd_show_record_btrace_pt): Constify. + * rs6000-tdep.c (set_powerpc_command, show_powerpc_command): + Constify. + * symfile.c (overlay_command): Constify. + * spu-tdep.c (set_spu_command, show_spu_command): Constify. + * cli/cli-logging.c (set_logging_command, show_logging_command): + Constify. + * cli/cli-dump.c (dump_command, append_command) + (srec_dump_command, ihex_dump_command, verilog_dump_command) + (tekhex_dump_command, binary_dump_command) + (binary_append_command): Constify. + * cli/cli-decode.c (struct cmd_list_element): Change type of + "fun". + * cli/cli-cmds.c (info_command, show_command, set_debug) + (show_debug): Constify. + (show_command): Add non-const overload. + * top.c (set_history, show_history): Constify. + * sh-tdep.c (set_sh_command, show_sh_command): Constify. + * command.h (add_prefix_cmd): Accept a cmd_const_cfunc_ftype. + * target.c (target_command): Constify. + * sparc64-tdep.c (info_adi_command): Constify. + * record-full.c (cmd_record_full_start): Constify. + (set_record_full_command): Constify. Fix typo. + (show_record_full_command): Constify. + * thread.c (thread_command, thread_apply_command): Constify. + * memattr.c (dummy_cmd): Constify. + * value.c (function_command): Constify. + * frame.c (set_backtrace_cmd, show_backtrace_cmd): Constify. + * probe.c (info_probes_command): Constify. + * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Constify. + * gnu-nat.c (set_task_cmd, show_task_cmd, set_thread_cmd) + (show_thread_cmd, set_thread_default_cmd) + (show_thread_default_cmd): Constify. + (check_empty): Constify. + * tracepoint.c (tfind_command): Constify. + * cp-support.c (maint_cplus_command): Constify. + * windows-tdep.c (info_w32_command): Constify. + * record.c (cmd_record_start, set_record_command) + (show_record_command, info_record_command, cmd_record_goto): + Constify. + * ravenscar-thread.c (set_ravenscar_command) + (show_ravenscar_command): Constify. + * utils.c (set_internal_problem_cmd, show_internal_problem_cmd): + Constify. + (add_internal_problem_command): Remove casts. + * arc-tdep.c (maintenance_print_arc_command): Constify. + * valprint.c (set_print, show_print, set_print_raw) + (show_print_raw): Constify. + * maint.c (maintenance_command, maintenance_info_command) + (maintenance_print_command, maintenance_set_cmd) + (maintenance_show_cmd, set_per_command_cmd) + (show_per_command_cmd, maintenance_check_command): Constify. + * language.c (set_check, show_check): Constify. + * typeprint.c (show_print_type, set_print_type): Constify. + * go32-nat.c (go32_info_dos_command): Constify. + +2017-10-11 Tom Tromey + + * breakpoint.c (prepare_re_set_context): Remove. + (breakpoint_re_set_one): Update. Don't use cleanups. + (breakpoint_re_set): Use scoped_restore, std::string, and + scoped_restore_current_language. + +2017-10-11 Tom Tromey + + * breakpoint.c (commands_command_1): Use std::string. + (cleanup_executing_breakpoints): Remove. + (bpstat_do_actions_1): Use scoped_restore. + (bpstat_check_watchpoint): Use std::string. + (decode_static_tracepoint_spec): Likewise. + (break_range_command): Likewise. + (watch_command_1): Likewise. + (compare_breakpoints): Change argument types. + (clear_command): Use std::vector. + (cleanup_executing_breakpoints): Remove. + (update_global_location_list): Use unique_xmalloc_ptr. + (strace_command): Remove unused declaration. + +2017-10-11 John Baldwin + + * Makefile.in (ALLDEPFILES): Add arm-fbsd-nat.c. + * NEWS: Mention new FreeBSD/arm native configuration. + * configure.host: Add arm*-*-freebsd*. + * configure.nat: Likewise. + * arm-fbsd-nat.c: New file. + +2017-10-11 John Baldwin + + * Makefile.in (ALL_TARGET_OBS): Add arm-fbsd-tdep.o. + (ALLDEPFILES): Add arm-fbsd-tdep.c. + * NEWS: Mention new FreeBSD/arm target. + * configure.tgt: Add arm*-*-freebsd*. + * arm-fbsd-tdep.c: New file. + * arm-fbsd-tdep.h: New file. + +2017-10-11 Maciej W. Rozycki + + * linux-tdep.c (linux_make_corefile_notes): Remove call to + `gdbarch_elfcore_write_linux_prpsinfo'. + * gdbarch.sh (elfcore_write_linux_prpsinfo): Remove architecture + method. + (elf_internal_linux_prpsinfo): Remove declaration. + * gdbarch.h: Regenerate. + * gdbarch.c: Regenerate. + +2017-10-11 Maciej W. Rozycki + + * ppc-linux-tdep.c (ppc_linux_init_abi): Remove call to + `set_gdbarch_elfcore_write_linux_prpsinfo'. + +2017-10-11 Pedro Alves + + * breakpoint.c (reattach_breakpoints): Delete. + * breakpoint.h (reattach_breakpoints): Delete. + +2017-10-11 Simon Marchi + + * symfile.c (registered_sym_fns): Make struct, not typedef. + (DEF_VEC_O (registered_sym_fns)): Remove. + (symtab_fns): Change type to std::vector. + (add_symtab_fns): Adjust. + (find_sym_fns): Adjust. + +2017-10-11 Anton Kolesov + + * arc-tdep.c (arc_gdbarch_init): Pass proper cpu value to disassembler. + * arc-tdep.h (arc_arch_is_em): New function. + (arc_arch_is_hs): Likewise. + +2017-10-11 Egeyar Bagcioglu + + * macrotab.h (macro_lookup_inclusion): Remove unnecessary + parentheses in the declaration. + (macro_lookup_inclusion): Likewise. + (macro_lookup_definition): Likewise. + * p-lang.h (pascal_builtin_types): Likewise. + * tui/tui-data.c (tui_win_list): Likewise. + * tui/tui-data.h (tui_win_list): Likewise. + * utils.h (make_cleanup_free_section_addr_info): Likewise. + +2017-10-11 Mark Rages + + * target-memory.c (block_boundaries): Fix for block address not + aligned on block size. + +2017-10-10 Pedro Alves + Tom Tromey + + * breakpoint.c (struct captured_breakpoint_query_args) + (do_captured_breakpoint_query, gdb_breakpoint_query): Delete. + (print_breakpoint): New. + * breakpoint.h (print_breakpoint): Declare. + * common/common-exceptions.h (enum return_reason): Remove + references to catch_exceptions. + * exceptions.c (catch_exceptions, catch_exceptions_with_msg): + Delete. + * exceptions.h (catch_exceptions_ftype, catch_exceptions) + (catch_exception_ftype, catch_exceptions_with_msg): Delete. + * gdb.h: Delete. + * gdbthread.h (thread_select): Declare. + * mi/mi-cmd-break.c: Don't include gdb.h. + (breakpoint_notify): Use print_breakpoint. + * mi/mi-cmd-catch.c: Don't include gdb.h. + * mi/mi-interp.c: Don't include gdb.h. + (mi_print_breakpoint_for_event): New. + (mi_breakpoint_created, mi_breakpoint_modified): Use + mi_print_breakpoint_for_event. + * mi/mi-main.c: Don't include gdb.h. + (mi_cmd_thread_select): Parse the global thread ID here. Use + thread_select instead of gdb_thread_select. + (mi_cmd_thread_list_ids): Output "thread-ids" tuple here instead + of using gdb_list_thread_ids. + * remote-fileio.c (do_remote_fileio_request): Change type. Reply + FILEIO_ENOSYS here. + (remote_fileio_request): Use TRY/CATCH instead of + catch_exceptions. + * symfile-mem.c (struct symbol_file_add_from_memory_args) + (symbol_file_add_from_memory_wrapper): Delete. + (add_vsyscall_page): Use TRY/CATCH instead of catch_exceptions. + * thread.c: Don't include gdb.h. + (do_captured_list_thread_ids, gdb_list_thread_ids): Delete. + (thread_alive): Use thread_select. + (do_captured_thread_select): Delete, parts salvaged as ... + (thread_select): ... this new function. + (gdb_thread_select): Delete. + +2017-10-10 Pedro Alves + Tom Tromey + + * breakpoint.c (breakpoint_cond_eval): Change return type to bool + and reverse logic. + (WP_DELETED, WP_VALUE_CHANGED, WP_VALUE_NOT_CHANGED, WP_IGNORE): + No longer macros. Instead ... + (enum wp_check_result): They're now values of this new + enumeration. + (watchpoint_check): Change return type to wp_check_result and + parameter type to bpstat. + (bpstat_check_watchpoint): Use TRY/CATCH instead of catch_errors. + (bpstat_check_breakpoint_conditions): Use TRY/CATCH instead of + catch_errors. Reverse logic of watchpoint_check call. + (breakpoint_re_set_one): Now returns void and takes a breakpoint + pointer as parameter. + (breakpoint_re_set): Use TRY/CATCH instead of catch_errors. + * common/common-exceptions.c (throw_exception_sjlj): Update + comments to avoid mentioning catch_errors. + * exceptions.c (catch_errors): Delete. + * exceptions.h: Update comments to avoid mentioning catch_errors. + (catch_errors_ftype, catch_errors): Delete. + * infrun.c (normal_stop): Use TRY/CATCH instead of catch_errors. + (hook_stop_stub): Delete. + (restore_selected_frame): Change return type to void, and + parameter type to const frame_id &. + (restore_infcall_control_state): Use TRY/CATCH instead of + catch_errors. + * main.c (captured_command_loop): Return void and remove + parameter. Remove references to catch_errors. + (captured_main): Use TRY/CATCH instead of catch_errors. + * objc-lang.c (objc_submethod_helper_data) + (find_objc_msgcall_submethod_helper): Delete. + (find_objc_msgcall_submethod): Use TRY/CATCH instead of + catch_errors. + * record-full.c (record_full_message): Return void. + (record_full_message_args, record_full_message_wrapper): Delete. + (record_full_message_wrapper_safe): Return bool and use TRY/CATCH + instead of catch_errors. + * solib-aix.c (solib_aix_open_symbol_file_object): Change + parameter type to int. + * solib-darwin.c (open_symbol_file_object): Ditto. + * solib-dsbt.c (open_symbol_file_object): Ditto. + * solib-frv.c (open_symbol_file_object): Ditto. + * solib-svr4.c (open_symbol_file_object): Ditto. + * solib-target.c (solib_target_open_symbol_file_object): Ditto. + * solib.c (update_solib_list): Use TRY/CATCH instead of + catch_errors. + * solist.h (struct target_so_ops) : + Change type. + * symmisc.c (struct print_symbol_args): Remove. + (dump_symtab_1): Use TRY/CATCH instead of catch_errors. + (print_symbol): Change type. + * windows-nat.c (handle_load_dll, handle_unload_dll): Return void + and remove parameters. + (catch_errors): New. + (get_windows_debug_event): Adjust. + +2017-10-09 Tom Tromey + + * mi/mi-main.c (free_splay_tree): Remove. + (list_available_thread_groups): Use splay_tree_up. + * common/gdb_splay_tree.h: New file. + 2017-10-09 Tom Tromey * mi/mi-main.c (do_nothing): Remove.