binutils-gdb/gdb/unittests
Dave Murphy 3dcfdc5865 Fix compile error with clang 3.8
When compiling with clang 3.8 (default clang version on Debian
Stretch, the current stable), we get errors like this:

  CXX    dtrace-probe.o
../../binutils-gdb/gdb/dtrace-probe.c:103:31: error: default initialization of an object of const type 'const dtrace_static_probe_ops' without a user-provided default constructor
const dtrace_static_probe_ops dtrace_static_probe_ops;
                              ^

Silence them by value-initializing those objects.  It's not necessary
with other compilers (later clang versions, gcc), but it shouldn't
hurt either.
2018-12-21 11:45:16 -05:00
..
basic_string_view Simple unused variable removals 2018-07-22 13:20:01 -06:00
optional
array-view-selftests.c invoke_xmethod & array_view 2018-11-21 12:06:20 +00:00
cli-utils-selftests.c Add a self-test for cli-utils.c 2018-07-12 23:10:56 +02:00
common-utils-selftests.c
copy_bitwise-selftests.c Move copy_bitwise unittests to own unittest file 2018-11-15 10:53:57 -05:00
environ-selftests.c Move gdb/common/diagnostics.h to include/diagnostics.h 2018-06-01 09:40:30 -07:00
format_pieces-selftests.c format_pieces-selftests.c: Silence ARI warnings 2018-05-18 15:47:56 -04:00
function-view-selftests.c
lookup_name_info-selftests.c
memory-map-selftests.c
memrange-selftests.c
mkdir-recursive-selftests.c Import mkdtemp gnulib module, fix mingw build 2018-11-01 15:41:43 -04:00
observable-selftests.c Fix compile error with clang 3.8 2018-12-21 11:45:16 -05:00
offset-type-selftests.c
optional-selftests.c
parse-connection-spec-selftests.c Implement IPv6 support for GDB/gdbserver 2018-07-11 19:41:31 -04:00
ptid-selftests.c
rsp-low-selftests.c Get rid of VEC(static_tracepoint_marker_p) 2018-03-22 00:27:19 -04:00
scoped_fd-selftests.c Do not reopen temporary files 2018-10-27 11:58:41 -06:00
scoped_mmap-selftests.c Use mkostemp, not mkstemp 2018-10-27 11:58:41 -06:00
scoped_restore-selftests.c
string_view-selftests.c Define GNULIB_NAMESPACE in unittests/string_view-selftests.c 2018-05-08 16:45:02 -04:00
tracepoint-selftests.c Get rid of VEC(static_tracepoint_marker_p) 2018-03-22 00:27:19 -04:00
unpack-selftests.c Sign-extend non-bit-fields in unpack_bits_as_long 2018-02-26 09:21:08 -07:00
utils-selftests.c Add selftest for substitute_path_component 2018-03-15 22:04:42 -04:00
xml-utils-selftests.c Add xml_escape_text_append and use it 2018-03-08 18:04:46 -05:00