+2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * common/x86-xstate.h (I387_FCTRL_INIT_VAL): New constant.
+ (I387_MXCSR_INIT_VAL): New constant.
+ * amd64-tdep.c (amd64_supply_xsave): Only read state from xsave
+ buffer if it was supplied by the inferior.
+ * i387-tdep.c (i387_supply_fsave): Use I387_MXCSR_INIT_VAL.
+ (i387_xsave_get_clear_bv): New function.
+ (i387_supply_xsave): Only read x87 control registers from the
+ xsave buffer if the feature is enabled, and the state will have
+ been written, otherwise, provide a suitable default.
+ (i387_collect_xsave): Pre-clear all registers in xsave buffer,
+ including x87 control registers. Update control registers if they
+ have changed from the default value, and mark features as enabled
+ as required.
+ * i387-tdep.h (i387_xsave_get_clear_bv): Declare.
+
+2018-05-08 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * spu-tdep.c (info_spu_event_command): Fix output formatting.
+
+2018-05-07 Tom Tromey <tom@tromey.com>
+
+ * configure: Rebuild.
+ * warning.m4 (AM_GDB_WARNINGS): Add -Wduplicated-cond.
+
+2018-05-07 Tom Tromey <tom@tromey.com>
+
+ PR tdep/20362:
+ * arm-tdep.c (arm_record_vfp_data_proc_insn): Properly mask off D
+ bit. Use correct value for VDIV.
+
+2018-05-04 Tom Tromey <tom@tromey.com>
+
+ * configure: Rebuild.
+ * warning.m4 (AM_GDB_WARNINGS): Add -Wimplicit-fallthrough.
+
+2018-05-04 Tom Tromey <tom@tromey.com>
+
+ * linux-record.c (record_linux_system_call) <case
+ RECORD_SYS_RECVFROM>: Add "break".
+
+2018-05-04 Tom Tromey <tom@tromey.com>
+
+ * mi/mi-main.c (mi_cmd_trace_frame_collected) <REGISTERS_FORMAT>:
+ Add missing "break".
+ * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals) <NO_FRAME_FILTERS>:
+ Add missing "break".
+
+2018-05-04 Tom Tromey <tom@tromey.com>
+
+ * rs6000-tdep.c (ppc_process_record_op4)
+ (ppc_process_record_op63): Add fall-through comment.
+
+2018-05-04 Tom Tromey <tom@tromey.com>
+
+ * i386-tdep.c (i386_process_record): Add fall-through comment.
+
+2018-05-04 Tom Tromey <tom@tromey.com>
+
+ * stabsread.c (define_symbol) <case 'p'>: Add fall-through
+ comment.
+
+2018-05-04 Tom Tromey <tom@tromey.com>
+
+ * riscv-tdep.c (riscv_isa_xlen): Add fall-through comment.
+ * utils.c (can_dump_core) <LIMIT_CUR>: Add fall-through comment.
+ * eval.c (fetch_subexp_value) <MEMORY_ERROR>: Add fall-through
+ comment.
+ * d-valprint.c (d_val_print) <TYPE_CODE_STRUCT>: Add fall-through
+ comment.
+ * coffread.c (coff_symtab_read) <C_LABEL>: Add fall-through
+ comment.
+
+2018-05-04 Tom Tromey <tom@tromey.com>
+
+ * dwarf2loc.c (unimplemented): Add ATTRIBUTE_NORETURN.
+
+2018-05-04 Tom Tromey <tom@tromey.com>
+
+ * s390-tdep.c (s390_process_record): Fix fall-through comments.
+ * xcoffread.c (scan_xcoff_symtab): Move comment later.
+ * symfile.c (section_is_mapped): Fix fall-through comment.
+ * stabsread.c (define_symbol, read_member_functions): Fix
+ fall-through comment.
+ * s390-linux-tdep.c (s390_process_record): Fix fall-through
+ comment.
+ * remote.c (remote_wait_as): Fix fall-through comment.
+ * p-exp.y (yylex): Fix fall-through comment.
+ * nat/x86-dregs.c (x86_length_and_rw_bits): Fix fall-through
+ comment.
+ * msp430-tdep.c (msp430_gdbarch_init): Fix fall-through comment.
+ * mdebugread.c (parse_partial_symbols): Fix fall-through comment.
+ * jv-exp.y (yylex): Fix fall-through comment.
+ * go-exp.y (lex_one_token): Fix fall-through comment.
+ * gdbtypes.c (get_discrete_bounds, rank_one_type): Fix
+ fall-through comment.
+ * f-exp.y (yylex): Fix fall-through comment.
+ * dwarf2read.c (process_die): Fix fall-through comments.
+ * dbxread.c (process_one_symbol): Fix fall-through comment.
+ * d-exp.y (lex_one_token): Fix fall-through comment.
+ * cp-name-parser.y (yylex): Fix fall-through comment.
+ * coffread.c (coff_symtab_read): Fix fall-through comment.
+ * c-exp.y (lex_one_token): Fix fall-through comment.
+ * arm-tdep.c (arm_decode_miscellaneous): Fix fall-through
+ comment.
+ * arch/arm.c (arm_instruction_changes_pc): Fix fall-through
+ comment.
+
+2018-05-04 Tom Tromey <tom@tromey.com>
+
+ PR python/22730:
+ * NEWS: Mention gdb.execute change.
+ * gdbcmd.h (execute_control_command): Don't declare.
+ * python/python.c (execute_gdb_command): Use read_command_lines_1,
+ execute_control_commands, execute_control_commands_to_string.
+ * cli/cli-script.h (execute_control_commands)
+ (execute_control_commands_to_string): Declare.
+ (execute_control_command): Add from_tty parameter.
+ * cli/cli-script.c (execute_control_commands)
+ (execute_control_commands_to_string): New functions.
+ (execute_user_command): Use execute_control_commands.
+ (execute_control_command_1): Add "from_tty" parameter. Update.
+ (execute_control_command): Likewise.
+
+2018-05-04 Tom Tromey <tom@tromey.com>
+
+ PR python/22731:
+ * NEWS: Mention that breakpoint commands are writable.
+ * python/py-breakpoint.c (bppy_set_commands): New function.
+ (breakpoint_object_getset) <"commands">: Use it.
+
+2018-05-04 Tom Tromey <tom@tromey.com>
+
+ * tracepoint.c (actions_command): Update.
+ * mi/mi-cmd-break.c (mi_command_line_array)
+ (mi_command_line_array_cnt, mi_command_line_array_ptr)
+ (mi_read_next_line): Remove.
+ (mi_cmd_break_commands): Update.
+ * cli/cli-script.h (read_command_lines, read_command_lines_1): Use
+ function_view.
+ * cli/cli-script.c (get_command_line): Update.
+ (process_next_line): Use function_view. Constify.
+ (recurse_read_control_structure, read_command_lines)
+ (read_command_lines_1): Change argument types to function_view.
+ (do_define_command, document_command): Update.
+ * breakpoint.h (check_tracepoint_command): Don't declare.
+ * breakpoint.c (check_tracepoint_command): Remove.
+ (commands_command_1, create_tracepoint_from_upload): Update.
+
+2018-05-04 Tom Tromey <tom@tromey.com>
+
+ PR gdb/11750:
+ * cli/cli-script.h (enum command_control_type) <define_control>:
+ New constant.
+ * cli/cli-script.c (multi_line_command_p): Handle define_control.
+ (build_command_line, execute_control_command_1)
+ (process_next_line): Likewise.
+ (do_define_command): New function, extracted from define_command.
+ (define_command): Use it.
+
+2018-05-04 Tom Tromey <tom@tromey.com>
+
+ * tracepoint.c (actions_command): Update.
+ * cli/cli-script.h (read_command_lines): Update.
+ * cli/cli-script.c (read_command_lines): Constify prompt_arg.
+ (MAX_TMPBUF): Remove define.
+ (define_command): Use string_printf.
+ (document_command): Likewise.
+ * breakpoint.c (commands_command_1): Update.
+
+2018-05-04 Tom Tromey <tom@tromey.com>
+
+ * top.c (execute_command): Update.
+ * cli/cli-script.h (print_command_lines): Now varargs.
+ * cli/cli-script.c (print_command_lines): Now varargs.
+ (execute_control_command_1) <case while_control, case if_control>:
+ Update.
+
+2018-05-04 Tom Tromey <tom@tromey.com>
+
+ * tracepoint.c (all_tracepoint_actions): Rename from
+ all_tracepoint_actions_and_cleanup. Change return type.
+ (actions_command, encode_actions_1, encode_actions)
+ (trace_dump_actions, tdump_command): Update.
+ * remote.c (remote_download_command_source): Update.
+ * python/python.c (gdbpy_eval_from_control_command)
+ (python_command, python_interactive_command): Update.
+ * mi/mi-cmd-break.c (mi_cmd_break_commands): Update.
+ * guile/guile.c (guile_command)
+ (gdbscm_eval_from_control_command, guile_command): Update.
+ * compile/compile.c (compile_code_command)
+ (compile_print_command, compile_to_object): Update.
+ * cli/cli-script.h (struct command_lines_deleter): New.
+ (counted_command_line): New typedef.
+ (struct command_line): Add constructor, destructor.
+ <body_list>: Remove.
+ <body_list_0, body_list_1>: New members.
+ (command_line_up): Remove typedef.
+ (read_command_lines, read_command_lines_1, get_command_line):
+ Update.
+ (copy_command_lines): Don't declare.
+ * cli/cli-script.c (build_command_line): Use "new".
+ (get_command_line): Return counted_command_line.
+ (print_command_lines, execute_user_command)
+ (execute_control_command_1, while_command, if_command): Update.
+ (realloc_body_list): Remove.
+ (process_next_line, recurse_read_control_structure): Update.
+ (read_command_lines, read_command_lines_1): Return counted_command_line.
+ (free_command_lines): Use "delete".
+ (copy_command_lines): Remove.
+ (define_command, document_command, show_user_1): Update.
+ * cli/cli-decode.h (struct cmd_list_element) <user_commands>: Now
+ a counted_command_line.
+ * breakpoint.h (counted_command_line): Remove typedef.
+ (breakpoint_set_commands): Update.
+ * breakpoint.c (check_no_tracepoint_commands)
+ (validate_commands_for_breakpoint): Update.
+ (breakpoint_set_commands): Change commands to be a
+ counted_command_line.
+ (commands_command_1, update_dprintf_command_list)
+ (create_tracepoint_from_upload): Update.
+
+2018-05-04 Tom Tromey <tom@tromey.com>
+
+ * cli/cli-decode.h (cmd_list_element): New constructor.
+ (~cmd_list_element): New destructor.
+ (struct cmd_list_element): Add initializers.
+ * cli/cli-decode.c (do_add_cmd): Use "new".
+ (delete_cmd): Use "delete".
+
2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
Pedro Alves <palves@redhat.com>