X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=108528d7bbdb5f3c94229f326e3a27ee93adf38a;hb=4295e285efa8193504ee08b9f633d9f8680bf181;hp=f70a2bfc62df5ef78eadca7c17da1c6fd2c2e33a;hpb=764c99c18adcdf658b390f25940aed7713a6a769;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f70a2bfc62..108528d7bb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,815 @@ +2016-09-06 Pedro Alves + + * top.c (wait_sync_command_done): Don't assume current_ui doesn't + change across events. Restore the current UI before returning. + (gdb_readline_wrapper): Restore the current UI before returning. + +2016-09-06 Pedro Alves + + * event-top.c (restore_ui_cleanup): Now static. + (make_cleanup_restore_current_ui): New function. + (switch_thru_all_uis_init): Use it. + * infcall.c (call_thread_fsm_should_stop): Use it. + * infrun.c (fetch_inferior_event): Use it. + * top.c (new_ui_command): Use it. + * top.h (restore_ui_cleanup): Delete declaration. + (make_cleanup_restore_current_ui): New declaration. + +2016-09-05 Ulrich Weigand + + * i386-tdep.c (i386_floatformat_for_type): New function. + (i386_gdbarch_init): Install it. + * ppc-linux-tdep.c (ppc_floatformat_for_type): New function. + (ppc_linux_init_abi): Install it. + +2016-09-05 Ulrich Weigand + + * gdbarch.sh (floatformat_for_type): New gdbarch callback. + * gdbarch.h, gdbarch.c: Re-generate. + * arch-utils.h (default_floatformat_for_type): New prototype. + * arch-utils.c (default_floatformat_for_type): New function. + + * doublest.c (floatformat_from_length): Remove. + (floatformat_from_type): Assume TYPE_FLOATFORMAT is non-NULL. + * gdbtypes.c (verify_floatformat): Require non-NULL format. + + * dwarf2read.c (dwarf2_init_float_type): New function. + (read_base_type): Use it. + * stabsread.c (dbx_init_float_type): New function. + (read_sun_floating_type): Use it. + (read_range_type): Likewise. + +2016-09-05 Ulrich Weigand + + * ada-lang.c (ada_language_arch_info): Use gdbarch-provided + platform ABI floating-point formats for built-in types. + * d-lang.c (build_d_types): Likewise. + * f-lang.c (build_fortran_types): Likewise. + * m2-lang.c (build_m2_types): Likewise. + * mdebugread.c (basic_type): Likewise. + + * go-lang.c (build_go_types): Use IEEE floating-point formats + for language built-in types as mandanted by the language. + * jv-lang.c (build_java_types): Likewise. + * rust-lang.c (rust_language_arch_info): Likewise. + * stabsread.c (rs6000_builtin_type): Likewise. + +2016-09-05 Ulrich Weigand + + * gdbtypes.c (init_type): Remove "char" special case. + (arch_integer_type): Likewise. + (gdbtypes_post_init): Set TYPE_NOSIGN for "char" type. + (objfile_type): Likewise. + * mdebugread.c (basic_type): Likewise. + * stabsread.c (rs6000_builtin_type): Likewise. + +2016-09-05 Ulrich Weigand + + * gdbtypes.h (enum type_flag_value): Remove. + Remove references to TYPE_FLAG_... in comments throughout. + * gdbtypes.c (recursive_dump_type): Do not print TYPE_FLAG_... + flags, print the corresponding TYPE_... access macro names. + Remove references to TYPE_FLAG_... in comments throughout. + * infcall.c: Remove references to TYPE_FLAG_... in comments. + * valprint.c: Likewise. + * gdb-gdb.py (class TypeFlag): No longer consider TYPE_FLAG_... + values, only TYPE_INSTANCE_FLAG_... values. + (class TypeFlagsPrinter): Likewise. + +2016-09-05 Ulrich Weigand + + * gdbtypes.h (init_type): Remove FLAGS argument. Move OBJFILE + argument to first position. + (init_integer_type): New prototype. + (init_character_type): Likewise. + (init_boolean_type): Likewise. + (init_float_type): Likewise. + (init_decfloat_type): Likewise. + (init_complex_type): Likewise. + (init_pointer_type): Likewise. + * gdbtypes.c (verify_floatflormat): New function. + (init_type): Remove FLAGS argument and processing. Move OBJFILE + argument to first position. + (init_integer_type): New function. + (init_character_type): Likewise. + (init_boolean_type): Likewise. + (init_float_type): Likewise. + (init_decfloat_type): Likewise. + (init_complex_type): Likewise. + (init_pointer_type): Likewise. + (arch_float_type): Use verify_floatflormat. + (objfile_type): Use init_..._type helpers instead of calling + init_type directly. + * dwarf2read.c (fixup_go_packaging): Update to changed init_type + prototype. + (read_namespace_type): Likewise. + (read_module_type): Likewise. + (read_typedef): Likewise. + (read_unspecified_type): Likewise. + (build_error_marker_type): Likewise. + (read_base_type): Use init_..._type helpers. + * mdebugread.c (basic_type): Use init_..._type helpers. + (parse_type): Update to changed init_type prototype. + (cross_ref): Likewise. + * stabsread.c (rs6000_builtin_type): Use init_..._type helpers. + (read_sun_builtin_type): Likewise. + (read_sun_floating_type): Likewise. + (read_range_type): Likewise. Also update to changed init_type + prototype. + +2016-09-05 Ulrich Weigand + + * gdbtypes.h (arch_decfloat_type): New prototype. + (arch_pointer_type): Likewise. + * gdbtypes.c (arch_decfloat_type): New function. + (arch_pointer_type): Likewise. + (gdbtypes_post_init): Use arch_decfloat_type. + * avr-tdep.c (avr_gdbarch_init): Use arch_pointer_type. + * ft32-tdep.c (ft32_gdbarch_init): Likewise. + * m32c-tdep.c (make_types): Likewise. + * rl78-tdep.c (rl78_gdbarch_init): Likewise. + +2016-09-05 Ulrich Weigand + + * gdbtypes.c (set_type_code): New function. + (init_type, arch_type): Use it. + +2016-09-05 Ulrich Weigand + + * ada-lang.c (ada_language_arch_info): Use gdbarch_long_double_bit + instead of gdbarch_double_bit for "long_long_float". + +2016-09-05 Pedro Alves + + * NEWS: Mention that a C++ compiler is now required. + * Makefile.in (COMPILER, COMPILER_CFLAGS): Remove. + (COMPILE.pre, CC_LD): Use CXX directly. + (INTERNAL_CFLAGS_BASE): Use CXXFLAGS directly. + * acinclude.m4: Don't include build-with-cxx.m4. + * build-with-cxx.m4: Delete file. + * configure.ac: Remove GDB_AC_BUILD_WITH_CXX call. + * warning.m4: Assume $enable_build_with_cxx is yes. + * configure: Regenerate. + +2016-09-05 Pedro Alves + + PR backtrace/19927 + * frame.c (get_frame_id): Compute the frame id if not computed + yet. + (unwind_to_current_frame): Delete. + (get_current_frame): Use get_prev_frame_always_1 to get the + current frame and assert that that always succeeds. + (get_prev_frame_if_no_cycle): Skip cycle detection if returning + the current frame. + +2016-09-02 Tom Tromey + + PR gdb/11616: + * dwarf2read.c (decode_locdesc): Handle DW_OP_form_tls_address. + * dwarf2loc.c (dwarf2_compile_expr_to_ax): Handle + DW_OP_form_tls_address. + (locexpr_describe_location_piece): Likewise. + * dwarf2expr.h (struct dwarf_expr_context_funcs): Update comment. + * dwarf2expr.c (execute_stack_op): Handle DW_OP_form_tls_address. + (ctx_no_get_tls_address): Mention DW_OP_form_tls_address. + * compile/compile-loc2c.c (struct insn_info): Update comment. + (compute_stack_depth_worker): Handle DW_OP_form_tls_address. + +2016-09-01 Sergio Durigan Junior + + * target.c (target_wait): Mention that the function's prototype + can be found at target/target.h. + * target.h (target_wait): Move prototype from here... + * target/target.h (target_wait): ... to here. + +2016-09-01 Sergio Durigan Junior + + * fork-child.c (startup_inferior): Replace calls to target_resume + by target_continue{,_no_signal}, depending on the case. + * linux-nat.c (cleanup_target_stop): Call + target_continue_no_signal instead of target_resume. + * procfs.c (procfs_wait): Likewise. + * target.c (target_continue): New function. + * target/target.h (target_continue): New prototype. + +2016-08-31 Yao Qi + + * record-full.c (record_full_insert_breakpoint): Fix typo. + +2016-08-30 Andreas Arnez + + * thread.c (tp_array_compar): Insert missing parentheses. + +2016-08-25 Andreas Arnez + + * xtensa-tdep.h (XTENSA_GDBARCH_TDEP_INSTANTIATE): Replace + designated initializer list by plain initializer list, for C++ + compliance. + +2016-08-25 Adhemerval Zanella + + * aarch64-linux-nat.c (ps_get_thread_area): Remove const from + struct ps_prochandle. + * amd64-linux-nat.c (ps_get_thread_area): Likewise. + * arm-linux-nat.c (ps_get_thread_area): Likewise. + * gdb_proc_service.h (ps_get_thread_area): Likewise. + * i386-linux-nat.c (ps_get_thread_area): Likewise. + * m68klinux-nat.c (ps_get_thread_area): Likewise. + * mips-linux-nat.c (ps_get_thread_area): Likewise. + * nat/aarch64-linux.c (aarch64_ps_get_thread_area): Likewise. + * nat/aarch64-linux.h (aarch64_ps_get_thread_area): Likewise. + * xtensa-linux-nat.c (ps_get_thread_area): Likewise. + +2016-08-24 Simon Marchi + + * infcmd.c (set_inferior_io_terminal): Set inferior terminal to + NULL if terminal_name is an empty string. + (_initialize_infcmd): Make the argument of "set inferior-tty" + optional, mention it in the help doc. + +2016-08-24 Carl Love + + * rs6000-tdep.c (rs6000_gdbarch_init): Remove call + set_gdbarch_deprecated_fp_regnum() architecture + initialization function. + +2016-08-23 Simon Marchi + + * stack.c (parse_frame_specification): Fix typo in comment. + +2016-08-23 Pedro Alves + + PR gdb/20494 + * inflow.c (our_terminal_info, initial_gdb_ttystate): Update + comments. + (enum gdb_has_a_terminal_flag_enum, gdb_has_a_terminal_flag): + Delete. + (set_initial_gdb_ttystate): Record our_terminal_info here too, + instead of ... + (gdb_has_a_terminal): ... here. Reimplement in terms of + initial_gdb_ttystate. Make static. + * terminal.h (gdb_has_a_terminal): Delete declaration. + (set_initial_gdb_ttystate): Add comment. + * top.c (show_interactive_mode): Use input_interactive_p instead + of gdb_has_a_terminal. + +2016-08-22 Pedro Alves + + PR gdb/20505 + * linux-tdep.c (linux_vsyscall_range_raw): For core inferiors, + find the vDSO's start address with AT_SYSINFO_EHDR too, and + determine the vDSO's size by finding the PT_LOAD segment that + matches AT_SYSINFO_EHDR. + +2016-08-19 Yao Qi + + * aarch64-tdep.c (aarch64_analyze_prologue): Handle register + based STP instruction. + +2016-08-19 Yao Qi + + * completer.c (linespec_location_completer): Make file_to_match + null-terminated. + +2016-08-19 Pedro Alves + + * amd64-tdep.c (amd64_relocate_instruction) : Handle return + addresses over 0x7fffffff. + +2016-08-18 Carl Love + + * MAINTANERS Write After Approval): Add "Carl Love". + +2016-08-18 Edjunior Barbosa Machado + + * rs6000-tdep.c (ppc_process_record_op31): Handle HTM instructions. + +2016-08-17 Simon Marchi + + * inferior.c (remove_inferior_command): Fix error message. + +2016-08-17 Simon Marchi + + * inferior.c (exit_inferior_1): Remove comment. + +2016-08-15 Matthew Wahab + + PR gdb/20457 + * gdb_proc_service.h: Add an include of gregset.h + [!HAVE_PROC_SERVICE_H]: Remove the include of gregset.h. + +2016-08-15 Yao Qi + + * location.c (explicit_location_lex_one): Compare the return + value of strncmp with zero. Don't check (*inp)[9]. Increment + *inp by 8. + +2016-08-11 Pedro Alves + + PR gdb/20413 + * nat/linux-ptrace.c: Include instead of + "gregset.h". + +2016-08-10 Pedro Alves + + PR gdb/19187 + * record-full.c (record_full_remove_breakpoint): Don't remove the + breakpoint from the record_full_breakpoints VEC if we're detaching + the breakpoint from a fork child. + +2016-08-10 Pedro Alves + + PR gdb/19187 + * break-catch-sig.c (signal_catchpoint_remove_location): Adjust + interface. + * break-catch-syscall.c (remove_catch_syscall): + * breakpoint.c (enum remove_bp_reason): Moved to breakpoint.h. + (remove_breakpoint_1): Pass 'reason' down. + (remove_catch_fork, remove_catch_vfork, remove_catch_solib) + (remove_catch_exec, remove_watchpoint, remove_masked_watchpoint) + (base_breakpoint_remove_location, bkpt_remove_location) + (bkpt_probe_remove_location, bkpt_probe_remove_location): Adjust + interface. + * breakpoint.h (enum remove_bp_reason): Moved here from + breakpoint.c. + (struct breakpoint_ops) : Add 'reason' parameter. + * corelow.c (core_remove_breakpoint): New function. + (init_core_ops): Install it as to_remove_breakpoint method. + * exec.c (exec_remove_breakpoint): New function. + (init_exec_ops): Install it as to_remove_breakpoint method. + * mem-break.c (memory_remove_breakpoint): Adjust interface. + * record-btrace.c (record_btrace_remove_breakpoint): Adjust + interface. + * record-full.c (record_full_remove_breakpoint) + (record_full_core_remove_breakpoint): Adjust interface. + * remote.c (remote_remove_breakpoint): Adjust interface. + * target-debug.h (target_debug_print_enum_remove_bp_reason): New + macro. + * target-delegates.c: Regenerate. + * target.c (target_remove_breakpoint): Add 'reason' parameter. + * target.h (struct target_ops) : Add + 'reason' parameter. + (target_remove_breakpoint, memory_remove_breakpoint): Add 'reason' + parameter. + +2016-08-10 Pedro Alves + + PR gdb/19187 + * breakpoint.c (insertion_state_t): Delete. + (enum remove_bp_reason): New. + (detach_breakpoints, remove_breakpoint_1, remove_breakpoint): + Adjust to use enum remove_bp_reason instead of insertion_state_t. + +2016-08-10 Pedro Alves + + PR gdb/19187 + * breakpoint.c (remove_breakpoint): Remove 'is' parameter and + always pass mark_uninserted to remove_breakpoint_1. + (insert_breakpoint_locations, remove_breakpoints) + (remove_breakpoints_pid, update_global_location_list): Update + callers. + +2016-08-10 Руслан Ижбулатов + Pedro Alves + + * windows-nat.c (MS_VC_EXCEPTION): New define. + (handle_exception_result): New enum. + (windows_delete_thread): Free the thread's name. + (handle_exception): Handle MS_VC_EXCEPTION. + (get_windows_debug_event): Handle HANDLE_EXCEPTION_IGNORED. + (windows_thread_name): New function. + (windows_target): Install it as to_thread_name method. + * NEWS: Mention the thread naming support on MS-Windows. + +2016-08-10 Pedro Alves + + * common/signals-state-save-restore.c + (save_original_signals_state, restore_original_signals_state): + Wrap perror_with_name arguments with '()'. + +2016-08-09 Pedro Alves + + PR gdb/20418 + * event-top.c (ui_register_input_event_handler) + (ui_unregister_input_event_handler): New functions. + (async_enable_stdin): Register input in the event loop. + (async_disable_stdin): Unregister input from the event loop. + (gdb_setup_readline): Register input in the event loop. + * infrun.c (check_curr_ui_sync_execution_done): Register input in + the event loop. + * target.c (target_terminal_inferior): Don't unregister input from + the event loop. + (target_terminal_ours): Don't register input in the event loop. + * target.h (target_terminal_inferior) + (target_terminal_ours_for_output, target_terminal_ours): Update + comments. + * top.h (ui_register_input_event_handler) + (ui_unregister_input_event_handler): New declarations. + * utils.c (ui_unregister_input_event_handler_cleanup) + (prepare_to_handle_input): New functions. + (defaulted_query, prompt_for_continue): Use + prepare_to_handle_input. + +2016-08-09 Pedro Alves + + PR mi/20431 + * mi/mi-main.c (mi_execute_command): Enable input and set prompt + state to PROMPT_NEEDED. + +2016-08-09 Pedro Alves + + PR gdb/18653 + * Makefile.in (SFILES): Add + common/signals-state-save-restore.c. + (HFILES_NO_SRCDIR): Add common/signals-state-save-restore.h. + (COMMON_OBS): Add signals-state-save-restore.o. + (signals-state-save-restore.o): New rule. + * configure: Regenerate. + * fork-child.c: Include "signals-state-save-restore.h". + (fork_inferior): Call restore_original_signals_state. + * main.c: Include "signals-state-save-restore.h". + (captured_main): Call save_original_signals_state. + * common/common.m4: Add sigaction to AC_CHECK_FUNCS checks. + * common/signals-state-save-restore.c: New file. + * common/signals-state-save-restore.h: New file. + +2016-08-09 Pedro Alves + + * value.c (unpack_value_bitfield): Skip unpacking if the parent + has no contents buffer to begin with. + +2016-08-08 Pedro Alves + + * features/i386/amd64-avx-mpx-linux.c: Regenerate. + * features/i386/amd64-avx-mpx.c: Regenerate. + * features/i386/i386-avx-mpx-linux.c: Regenerate. + * features/i386/i386-avx-mpx.c: Regenerate. + +2016-08-05 Simon Marchi + + * event-top.h (cli_command_loop): Remove. + +2016-08-05 Pedro Alves + + PR remote/20398 + * remote-fileio.c (remote_fileio_quit_handler): Check the quit + flag before calling quit. + +2016-08-05 Pedro Alves + + * NEWS: Mention that GDB and GDBserver build with a C++ compiler + by default. + +2016-08-05 Pedro Alves + + * build-with-cxx.m4: Change help string to be in terms of + --disable-build-with-cxx. + * configure: Regenerate. + +2016-08-04 Yao Qi + + * aarch64-linux-nat.c (tdesc_arm_with_vfpv3): Remove the + declaration. + (aarch64_linux_read_description): Remove code on getting + auxv and select target description on it. Select target + description by the result of NT_ARM_VFP ptrace request. + +2016-08-03 Tom Tromey + + PR python/18565: + * python/py-frame.c (frapy_function): Use find_frame_funname. + +2016-08-03 Tom Tromey + + * stack.c (find_frame_funname): Avoid any possible leak in case + cp_remove_params can throw. + +2016-08-03 Tom Tromey + + * NEWS: Mention new Python breakpoint events. + +2016-08-02 Tom Tromey + + * MAINTAINERS (Core): Add self as Rust maintainer. + +2016-08-01 Joel Brobecker + + * NEWS: Create a new section for the next release branch. + Rename the section of the current branch, now that it has + been cut. + +2016-08-01 Joel Brobecker + + GDB 7.12 branch created (41bfcd638a4e0e48b96ce4de2845372dea481322): + * version.in: Bump version to 7.12.50.DATE-git. + +2016-07-27 Alan Modra + + * amd64-darwin-tdep.c: Don't include libbfd.h. + * i386-darwin-tdep.c: Likewise. + * rs6000-nat.c: Likewise. + * rs6000-tdep.c: Likewise. + +2016-07-26 Tom Tromey + + * symtab.c (register_symbol_computed_impl): Update. + PR python/20190: + * value.h (symbol_read_needs): Declare. + (symbol_read_needs_frame): Add comment. + * symtab.h (struct symbol_computed_ops) : Update + comment. + : Rename. Change return type. + * findvar.c (symbol_read_needs): New function. + (symbol_read_needs_frame): Rewrite. + (default_read_var_value): Use symbol_read_needs. + * dwarf2loc.c (struct symbol_needs_baton): Rename. + : Renamed from needs_frame. Changed type. + (needs_frame_read_addr_from_reg, symbol_needs_get_reg_value) + (symbol_needs_read_mem, symbol_needs_frame_base) + (symbol_needs_frame_cfa, symbol_needs_tls_address) + (symbol_needs_dwarf_call): Rename. + (needs_dwarf_reg_entry_value): Update. + (symbol_needs_ctx_funcs, dwarf2_loc_desc_get_symbol_read_needs): + Rename and update. + (locexpr_get_symbol_read_needs, loclist_symbol_needs): Likewise. + (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Update. + * defs.h (enum symbol_needs_kind): New. + +2016-07-26 Pedro Alves + + * nat/linux-ptrace.c: Include "gregset.h". + (linux_ptrace_test_ret_to_nx): Use PTRACE_GETREGS instead of + PTRACE_PEEKUSER. + +2016-07-26 Pedro Alves + + * amd64-linux-nat.c (amd64_linux_siginfo_fixup): Rename 'native' + parameter to 'ptrace'. + * nat/amd64-linux-siginfo.c (GDB_SI_SIZE): New define. + (nat_uptr_t): New an unsigned long. + (nat_clock_t): Remove attribute __aligned__. + (struct nat_timeval): Delete. + (nat_siginfo_t): Remove attribute __aligned__. + (ptrace_siginfo_t): Define. + (compat_siginfo_from_siginfo, siginfo_from_compat_siginfo) + (compat_x32_siginfo_from_siginfo) + (siginfo_from_compat_x32_siginfo): Make 'from' parameter const. + Convert through a ptrace_siginfo_t instead of a nat_siginfo_t. + Remove casts. + (amd64_linux_siginfo_fixup_common): Rename 'native' parameter to + 'ptrace'. Remove static assertions. + (top level): New static assertions. + +2016-07-25 Simon Marchi + + * top.h (make_delete_ui_cleanup): New declaration. + * top.c (delete_ui_cleanup): New function. + (make_delete_ui_cleanup): New function. + (new_ui_command): Create restore_ui cleanup earlier, create a + delete_ui cleanup and discard it on success. + +2016-07-25 Pedro Alves + Jan Kratochvil + + * nat/linux-procfs.c (parse_proc_status_state): Handle lowercase + 't'. + +2016-07-25 Pedro Alves + + * nat/linux-procfs.c (enum proc_state): New enum. + (parse_proc_status_state): New function. + (linux_proc_pid_get_state): Replace output string buffer parameter + with an output proc_state parameter. Use parse_proc_status_state. + (linux_proc_pid_is_gone): Adjust to use proc_state values. + (linux_proc_pid_has_state): Change type of 'state' parameter; now + an enum proc_state. Adjust to linux_proc_pid_get_state interface + change. + (linux_proc_pid_is_stopped) + (linux_proc_pid_is_trace_stopped_nowarn) + (linux_proc_pid_is_zombie_maybe_warn): Adjust to + linux_proc_pid_get_state interface change. + +2016-07-25 Tim Wiederhake + + * MAINTAINERS (Write After Approval): Add Tim Wiederhake + +2016-07-25 Tim Wiederhake + + * NEWS: Resume btrace on reconnect. + * record-btrace.c: Added record-btrace.h include. + (record_btrace_open): Split into this and ... + (record_btrace_push_target): ... this. + (record_btrace_disconnect): New function. + (init_record_btrace_ops): Use record_btrace_disconnect. + * record-btrace.h: New file. + * remote.c: Added record-btrace.h include. + (remote_start_remote): Check recording status. + (remote_btrace_maybe_reopen): New function. + +2016-07-23 Gabriel Krisman Bertazi + + * xml-syscall.c (get_syscalls_by_group): New. + (get_syscall_group_names): New. + (struct syscall_group_desc): New structure to store group data. + (struct syscalls_info): Include field to store the group list. + (sysinfo_free_syscall_group_desc): New. + (free_syscalls_info): Free group list. + (syscall_group_create_syscall_group_desc): New. + (syscall_group_add_syscall): New. + (syscall_create_syscall_desc): Add syscall to its groups. + (syscall_start_syscall): Load group attribute. + (syscall_group_get_group_by_name): New. + (xml_list_syscalls_by_group): New. + (xml_list_of_groups): New. + * xml-syscall.h (get_syscalls_by_group): Export function + to retrieve a list of syscalls filtered by the group name. + (get_syscall_group_names): Export function to retrieve the list + of syscall groups. + * break-catch-syscall.c (catch_syscall_split_args): Verify if + argument is a syscall group and expand it to a list of syscalls + when creating catchpoints. + (catch_syscall_completer): Add word completion for system call + groups. + * configure.ac: Include dependency for xsltproc when building + in maintainer-mode. + * break-catch-syscall.c (_initialize_breakpoint): Update catch + syscall command documentation. + * NEWS: Include section about catching groups of syscalls. + * configure: Regenerate. + * data-directory/Makefile.in: Generate syscall xml when building + in maintainer mode. + * syscalls/gdb-syscalls.dtd: Include group attribute to the + syscall element. + * syscalls/apply-defaults.xsl: New. + * syscalls/linux-defaults.xml.in: New. + * syscalls/aarch64-linux.xml: Rename to aarch64-linux.xml.in. + * syscalls/amd64-linux.xml: Rename to amd64-linux.xml.in. + * syscalls/arm-linux.xml: Rename to arm-linux.xml.in. + * syscalls/bfin-linux.xml: Rename to bfin-linux.xml.in. + * syscalls/i386-linux.xml: Rename to i386-linux.xml.in. + * syscalls/mips-n32-linux.xml: Rename to mips-n32-linux.xml.in. + * syscalls/mips-n64-linux.xml: Rename to mips-n64-linux.xml.in. + * syscalls/mips-o32-linux.xml: Rename to mips-o32-linux.xml.in. + * syscalls/ppc-linux.xml: Rename to ppc-linux.xml.in. + * syscalls/ppc64-linux.xml: Rename to ppc64-linux.xml.in. + * syscalls/s390-linux.xml: Rename to s390-linux.xml.in. + * syscalls/s390x-linux.xml: Rename to s390x-linux.xml.in. + * syscalls/sparc-linux.xml: Rename to sparc-linux.xml.in. + * syscalls/sparc64-linux.xml: Rename to sparc64-linux.xml.in. + * syscalls/aarch64-linux.xml: Regenerate. + * syscalls/amd64-linux.xml: Regenerate. + * syscalls/arm-linux.xml: Regenerate. + * syscalls/i386-linux.xml: Regenerate. + * syscalls/mips-n32-linux.xml: Regenerate. + * syscalls/mips-n64-linux.xml: Regenerate. + * syscalls/mips-o32-linux.xml: Regenerate. + * syscalls/ppc-linux.xml: Regenerate. + * syscalls/ppc64-linux.xml: Regenerate. + * syscalls/s390-linux.xml: Regenerate. + * syscalls/s390x-linux.xml: Regenerate. + * syscalls/sparc-linux.xml: Regenerate. + * syscalls/sparc64-linux.xml: Regenerate. + +2016-07-23 Andrew Pinski + + * nat/aarch64-linux-hw-point.c + (aarch64_linux_get_debug_reg_capacity): Handle + ARMv8.1 and ARMv8.2 debug versions. + * nat/aarch64-linux-hw-point.h + (AARCH64_DEBUG_ARCH_V8_1): New define. + (AARCH64_DEBUG_ARCH_V8_2): New define. + +2016-06-30 Руслан Ижбулатов + + PR gdb/14529 + * windows-nat.c (signal_event_command): New command 'signal-event' + for W32 JIT debug support. + * NEWS: Add an entry about the new 'signal-event' command. + +2016-07-22 Tom Tromey + + PR rust/20162: + * dwarf2read.c (scan_partial_symbols) : + Call scan_partial_symbols for children when reading a Rust CU. + (dwarf2_physname): Ignore invalid DW_AT_linkage_name generated by + rustc. + (process_structure_scope) : Call + read_func_scope for Rust. + +2016-07-22 Yao Qi + + * ctf.c (ctf_traceframe_info): Call bt_ctf_get_uint64 rather than + bt_ctf_get_int64. + +2016-07-21 Tom Tromey + + * rust-lang.c (rust_tuple_struct_type_p): Return false for empty + structs. + * rust-exp.y (struct_expr_list): Allow empty elements. + +2016-07-21 Tom Tromey + + * configure: Rebuild. + * warning.m4 (AM_GDB_WARNINGS) : Add + -Wunused-but-set-parameter, -Wunused-but-set-variable. + +2016-07-21 Pedro Alves + + * go32-nat.c (go32_create_inferior): Add cast. + * ser-go32.c (dos_noop): Delete. + (dos_flush_output, dos_setparity, dos_drain_output): New + functions. + (dos_write): Add cast. + (dos_ops): Use dos_flush_output, dos_setparity and + dos_drain_output. + * top.c (do_chdir_cleanup): Add cast. + +2016-07-21 Pedro Alves + + * windows-nat.c (handle_exception): Remove "th". + +2016-07-21 Pedro Alves + + * varobj.c (varobj_value_get_print_value): Move "gdbarch" to block + scope that uses it. + +2016-07-20 John Baldwin + + * fbsd-nat.c (fbsd_enable_proc_events): Enable "PTRACE_VFORK" + events. + (fbsd_pending_vfork_done): Only define if "PTRACE_VFORK" is not + defined. + (fbsd_add_vfork_done): Likewise. + (fbsd_is_vfork_done_pending): Likewise. + (fbsd_next_vfork_done): Likewise. + (fbsd_resume): Only ignore pending vfork done events if + "PTRACE_VFORK" is not defined. + (fbsd_wait): Only look for pending vfork done events if + "PTRACE_VFORK" is not defined. + [PTRACE_VFORK]: Handle "PL_FLAG_VFORKED" and "PL_FLAG_VFORK_DONE" + events. + (fbsd_follow_fork): Only fake a vfork done event if "PTRACE_VFORK" + is not defined. + +2016-07-20 John Baldwin + + * fbsd-nat.c (fbsd_wait): Use "fbsd_enable_proc_events" on + new child processes. + +2016-07-20 John Baldwin + + * fbsd-nat.c (fbsd_enable_lwp_events): Remove function. + (fbsd_enable_proc_events): New function. + (fbsd_enable_follow_fork): Remove function. + (fbsd_post_startup_inferior): Use "fbsd_enable_proc_events". + (fbsd_post_attach): Likewise. + +2016-07-15 John Baldwin + + * common/signals.c (gdb_signal_from_host): Handle SIGLIBRT. + (do_gdb_signal_to_host): Likewise. + * infrun.c (_initialize_infrun): Pass GDB_SIGNAL_LIBRT through to + programs. + * proc-events.c (signal_table): Add entry for SIGLIBRT. + +2016-07-14 Tom Tromey + + * python/py-breakpoint.c (gdbpy_breakpoint_deleted): Add missing + newline. + +2016-07-14 Tom Tromey + + * mips-tdep.c (micromips_scan_prologue): Remove "frame_addr". + (mips_o32_push_dummy_call): Remove "stack_used_p". + * aarch64-tdep.c (aarch64_record_data_proc_imm): Remove + "insn_bit28". + * rust-lang.c (rust_print_type): Remove "len". + * rust-exp.y (super_name): Remove "current_len". + * python/py-framefilter.c (py_print_type): Remove "type". + * mdebugread.c (parse_partial_symbols): Remove + "past_first_source_file". + : Remove "valu", "first_so_symnum", "prev_textlow_not_set". + * m2-valprint.c (m2_print_unbounded_array): Remove + "content_type". + (m2_val_print): Remove "i". + * linespec.c (unexpected_linespec_error): Remove "cleanup". + * f-valprint.c (f_val_print): Remove "i". + * elfread.c (elf_symtab_read): Remove "offset". + * dwarf2-frame.c (dwarf2_fetch_cfa_info): Remove "addr_size". + * jit.c (jit_dealloc_cache): Remove "i" and "frame_arch". + +2016-07-14 Tom Tromey + + * arch-utils.c (default_skip_permanent_breakpoint): Remove + "bp_insn". + * disasm.c (do_assembly_only): Remove "num_displayed". + * dwarf2read.c (read_abbrev_offset): Remove "length". + (dwarf_decode_macro_bytes) : Remove + "constant". + * m32c-tdep.c (make_regs): Remove "r2hl", "r3hl", and "intbhl". + * microblaze-tdep.c (microblaze_frame_cache): Remove "func". + * tracefile.c (trace_save): Remove "status". + 2016-07-14 Tom Tromey * symfile.c (simple_overlay_update_1): Remove initialization