2019-06-13 Pedro Alves <palves@redhat.com>
+ * compile/compile.c (make_compile_options_def_group): Add braces
+ around array_view initializer.
+ * thread.c (make_thread_apply_all_options_def_group)
+ (make_thread_apply_all_options_def_group): Likewise.
+
+2019-06-13 Pedro Alves <palves@redhat.com>
+
* NEWS (New commands): Mention "maint test-options
require-delimiter", "maint test-options unknown-is-error", "maint
test-options unknown-is-operand" and "maint show
static gdb::option::option_def_group
make_compile_options_def_group (compile_options *opts)
{
- return {compile_command_option_defs, opts};
+ return {{compile_command_option_defs}, opts};
}
/* Handle the input from the 'compile file' command. The "compile
qcs_flags *flags)
{
return {{
- { ascending_option_def.def (), ascending},
- { thr_qcs_flags_option_defs, flags },
+ { {ascending_option_def.def ()}, ascending},
+ { {thr_qcs_flags_option_defs}, flags },
}};
}
static inline gdb::option::option_def_group
make_thread_apply_options_def_group (qcs_flags *flags)
{
- return {thr_qcs_flags_option_defs, flags};
+ return {{thr_qcs_flags_option_defs}, flags};
}
/* Apply a GDB command to a list of threads. List syntax is a whitespace