aboutsummaryrefslogtreecommitdiff
path: root/gdb/unittests
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/unittests')
-rw-r--r--gdb/unittests/array-view-selftests.c1
-rw-r--r--gdb/unittests/child-path-selftests.c1
-rw-r--r--gdb/unittests/cli-utils-selftests.c1
-rw-r--r--gdb/unittests/common-utils-selftests.c1
-rw-r--r--gdb/unittests/copy_bitwise-selftests.c1
-rw-r--r--gdb/unittests/environ-selftests.c1
-rw-r--r--gdb/unittests/filtered_iterator-selftests.c1
-rw-r--r--gdb/unittests/format_pieces-selftests.c1
-rw-r--r--gdb/unittests/function-view-selftests.c1
-rw-r--r--gdb/unittests/help-doc-selftests.c1
-rw-r--r--gdb/unittests/lookup_name_info-selftests.c1
-rw-r--r--gdb/unittests/main-thread-selftests.c1
-rw-r--r--gdb/unittests/memory-map-selftests.c1
-rw-r--r--gdb/unittests/memrange-selftests.c1
-rw-r--r--gdb/unittests/mkdir-recursive-selftests.c1
-rw-r--r--gdb/unittests/observable-selftests.c1
-rw-r--r--gdb/unittests/offset-type-selftests.c1
-rw-r--r--gdb/unittests/optional-selftests.c1
-rw-r--r--gdb/unittests/parse-connection-spec-selftests.c1
-rw-r--r--gdb/unittests/rsp-low-selftests.c1
-rw-r--r--gdb/unittests/scoped_fd-selftests.c1
-rw-r--r--gdb/unittests/scoped_mmap-selftests.c1
-rw-r--r--gdb/unittests/scoped_restore-selftests.c1
-rw-r--r--gdb/unittests/string_view-selftests.c1
-rw-r--r--gdb/unittests/style-selftests.c1
-rw-r--r--gdb/unittests/tracepoint-selftests.c1
-rw-r--r--gdb/unittests/tui-selftests.c1
-rw-r--r--gdb/unittests/unpack-selftests.c1
-rw-r--r--gdb/unittests/utils-selftests.c1
-rw-r--r--gdb/unittests/vec-utils-selftests.c1
-rw-r--r--gdb/unittests/xml-utils-selftests.c1
31 files changed, 31 insertions, 0 deletions
diff --git a/gdb/unittests/array-view-selftests.c b/gdb/unittests/array-view-selftests.c
index c1079bd..b4fc866 100644
--- a/gdb/unittests/array-view-selftests.c
+++ b/gdb/unittests/array-view-selftests.c
@@ -523,6 +523,7 @@ run_tests ()
} /* namespace array_view_tests */
} /* namespace selftests */
+void _initialize_array_view_selftests ();
void
_initialize_array_view_selftests ()
{
diff --git a/gdb/unittests/child-path-selftests.c b/gdb/unittests/child-path-selftests.c
index fdd692d..24b918a 100644
--- a/gdb/unittests/child-path-selftests.c
+++ b/gdb/unittests/child-path-selftests.c
@@ -59,6 +59,7 @@ test ()
}
}
+void _initialize_child_path_selftests ();
void
_initialize_child_path_selftests ()
{
diff --git a/gdb/unittests/cli-utils-selftests.c b/gdb/unittests/cli-utils-selftests.c
index bc308f6..09c8565 100644
--- a/gdb/unittests/cli-utils-selftests.c
+++ b/gdb/unittests/cli-utils-selftests.c
@@ -110,6 +110,7 @@ test_cli_utils ()
}
}
+void _initialize_cli_utils_selftests ();
void
_initialize_cli_utils_selftests ()
{
diff --git a/gdb/unittests/common-utils-selftests.c b/gdb/unittests/common-utils-selftests.c
index 8934a3d..e24c3fd 100644
--- a/gdb/unittests/common-utils-selftests.c
+++ b/gdb/unittests/common-utils-selftests.c
@@ -125,6 +125,7 @@ string_vappendf_tests ()
} /* namespace selftests */
+void _initialize_common_utils_selftests ();
void
_initialize_common_utils_selftests ()
{
diff --git a/gdb/unittests/copy_bitwise-selftests.c b/gdb/unittests/copy_bitwise-selftests.c
index 80e09e7..d9e9132 100644
--- a/gdb/unittests/copy_bitwise-selftests.c
+++ b/gdb/unittests/copy_bitwise-selftests.c
@@ -152,6 +152,7 @@ copy_bitwise_tests (void)
} /* namespace selftests */
+void _initialize_copy_bitwise_utils_selftests ();
void
_initialize_copy_bitwise_utils_selftests ()
{
diff --git a/gdb/unittests/environ-selftests.c b/gdb/unittests/environ-selftests.c
index 65a9c66..5531860 100644
--- a/gdb/unittests/environ-selftests.c
+++ b/gdb/unittests/environ-selftests.c
@@ -298,6 +298,7 @@ run_tests ()
} /* namespace gdb_environ */
} /* namespace selftests */
+void _initialize_environ_selftests ();
void
_initialize_environ_selftests ()
{
diff --git a/gdb/unittests/filtered_iterator-selftests.c b/gdb/unittests/filtered_iterator-selftests.c
index 604d3c5..14060e1 100644
--- a/gdb/unittests/filtered_iterator-selftests.c
+++ b/gdb/unittests/filtered_iterator-selftests.c
@@ -155,6 +155,7 @@ test_filtered_iterator_eq ()
} /* namespace selftests */
+void _initialize_filtered_iterator_selftests ();
void
_initialize_filtered_iterator_selftests ()
{
diff --git a/gdb/unittests/format_pieces-selftests.c b/gdb/unittests/format_pieces-selftests.c
index bc1bc15..80b408a 100644
--- a/gdb/unittests/format_pieces-selftests.c
+++ b/gdb/unittests/format_pieces-selftests.c
@@ -142,6 +142,7 @@ run_tests ()
} /* namespace format_pieces */
} /* namespace selftests */
+void _initialize_format_pieces_selftests ();
void
_initialize_format_pieces_selftests ()
{
diff --git a/gdb/unittests/function-view-selftests.c b/gdb/unittests/function-view-selftests.c
index fd0f812..610b53c 100644
--- a/gdb/unittests/function-view-selftests.c
+++ b/gdb/unittests/function-view-selftests.c
@@ -171,6 +171,7 @@ run_tests ()
} /* namespace function_view */
} /* namespace selftests */
+void _initialize_function_view_selftests ();
void
_initialize_function_view_selftests ()
{
diff --git a/gdb/unittests/help-doc-selftests.c b/gdb/unittests/help-doc-selftests.c
index 77b6d01..16ffc4f 100644
--- a/gdb/unittests/help-doc-selftests.c
+++ b/gdb/unittests/help-doc-selftests.c
@@ -98,6 +98,7 @@ help_doc_invariants_tests ()
} /* namespace help_doc_tests */
} /* namespace selftests */
+void _initialize_help_doc_selftests ();
void
_initialize_help_doc_selftests ()
{
diff --git a/gdb/unittests/lookup_name_info-selftests.c b/gdb/unittests/lookup_name_info-selftests.c
index d5f26a4..002fc69 100644
--- a/gdb/unittests/lookup_name_info-selftests.c
+++ b/gdb/unittests/lookup_name_info-selftests.c
@@ -103,6 +103,7 @@ run_tests ()
}} // namespace selftests::lookup_name
+void _initialize_lookup_name_info_selftests ();
void
_initialize_lookup_name_info_selftests ()
{
diff --git a/gdb/unittests/main-thread-selftests.c b/gdb/unittests/main-thread-selftests.c
index 7f50ab4..c51f34e 100644
--- a/gdb/unittests/main-thread-selftests.c
+++ b/gdb/unittests/main-thread-selftests.c
@@ -70,6 +70,7 @@ run_tests ()
}
}
+void _initialize_main_thread_selftests ();
void
_initialize_main_thread_selftests ()
{
diff --git a/gdb/unittests/memory-map-selftests.c b/gdb/unittests/memory-map-selftests.c
index 904a306..42b5db6 100644
--- a/gdb/unittests/memory-map-selftests.c
+++ b/gdb/unittests/memory-map-selftests.c
@@ -76,6 +76,7 @@ parse_memory_map_tests ()
#endif /* HAVE_LIBEXPAT */
+void _initialize_memory_map_selftests ();
void
_initialize_memory_map_selftests ()
{
diff --git a/gdb/unittests/memrange-selftests.c b/gdb/unittests/memrange-selftests.c
index e8b4dec..b040268 100644
--- a/gdb/unittests/memrange-selftests.c
+++ b/gdb/unittests/memrange-selftests.c
@@ -106,6 +106,7 @@ normalize_mem_ranges_tests ()
} /* namespace memrange_tests */
} /* namespace selftests */
+void _initialize_memrange_selftests ();
void
_initialize_memrange_selftests ()
{
diff --git a/gdb/unittests/mkdir-recursive-selftests.c b/gdb/unittests/mkdir-recursive-selftests.c
index a0e9341..8647515 100644
--- a/gdb/unittests/mkdir-recursive-selftests.c
+++ b/gdb/unittests/mkdir-recursive-selftests.c
@@ -81,6 +81,7 @@ test ()
}
}
+void _initialize_mkdir_recursive_selftests ();
void
_initialize_mkdir_recursive_selftests ()
{
diff --git a/gdb/unittests/observable-selftests.c b/gdb/unittests/observable-selftests.c
index 7e3235b..b14c3b7 100644
--- a/gdb/unittests/observable-selftests.c
+++ b/gdb/unittests/observable-selftests.c
@@ -127,6 +127,7 @@ run_tests ()
} /* namespace observers */
} /* namespace selftests */
+void _initialize_observer_selftest ();
void
_initialize_observer_selftest ()
{
diff --git a/gdb/unittests/offset-type-selftests.c b/gdb/unittests/offset-type-selftests.c
index 86dac3e..1e0428b 100644
--- a/gdb/unittests/offset-type-selftests.c
+++ b/gdb/unittests/offset-type-selftests.c
@@ -171,6 +171,7 @@ run_tests ()
} /* namespace offset_type */
} /* namespace selftests */
+void _initialize_offset_type_selftests ();
void
_initialize_offset_type_selftests ()
{
diff --git a/gdb/unittests/optional-selftests.c b/gdb/unittests/optional-selftests.c
index ddaaeef..c1b9e53 100644
--- a/gdb/unittests/optional-selftests.c
+++ b/gdb/unittests/optional-selftests.c
@@ -87,6 +87,7 @@ run_tests ()
} /* namespace optional */
} /* namespace selftests */
+void _initialize_optional_selftests ();
void
_initialize_optional_selftests ()
{
diff --git a/gdb/unittests/parse-connection-spec-selftests.c b/gdb/unittests/parse-connection-spec-selftests.c
index 3f71ec6..6c0df35 100644
--- a/gdb/unittests/parse-connection-spec-selftests.c
+++ b/gdb/unittests/parse-connection-spec-selftests.c
@@ -239,6 +239,7 @@ run_tests ()
} /* namespace parse_connection_spec_tests */
} /* namespace selftests */
+void _initialize_parse_connection_spec_selftests ();
void
_initialize_parse_connection_spec_selftests ()
{
diff --git a/gdb/unittests/rsp-low-selftests.c b/gdb/unittests/rsp-low-selftests.c
index 9e75c23..e848e58 100644
--- a/gdb/unittests/rsp-low-selftests.c
+++ b/gdb/unittests/rsp-low-selftests.c
@@ -61,6 +61,7 @@ static void test_hex2str ()
} /* namespace rsp_low */
} /* namespace selftests */
+void _initialize_rsp_low_selftests ();
void
_initialize_rsp_low_selftests ()
{
diff --git a/gdb/unittests/scoped_fd-selftests.c b/gdb/unittests/scoped_fd-selftests.c
index 73c1e2d..3f02476 100644
--- a/gdb/unittests/scoped_fd-selftests.c
+++ b/gdb/unittests/scoped_fd-selftests.c
@@ -93,6 +93,7 @@ run_tests ()
} /* namespace scoped_fd */
} /* namespace selftests */
+void _initialize_scoped_fd_selftests ();
void
_initialize_scoped_fd_selftests ()
{
diff --git a/gdb/unittests/scoped_mmap-selftests.c b/gdb/unittests/scoped_mmap-selftests.c
index fffad74..fa963d1 100644
--- a/gdb/unittests/scoped_mmap-selftests.c
+++ b/gdb/unittests/scoped_mmap-selftests.c
@@ -135,6 +135,7 @@ run_tests ()
#endif /* !defined(HAVE_SYS_MMAN_H) */
+void _initialize_scoped_mmap_selftests ();
void
_initialize_scoped_mmap_selftests ()
{
diff --git a/gdb/unittests/scoped_restore-selftests.c b/gdb/unittests/scoped_restore-selftests.c
index b921035..d989678 100644
--- a/gdb/unittests/scoped_restore-selftests.c
+++ b/gdb/unittests/scoped_restore-selftests.c
@@ -103,6 +103,7 @@ run_tests ()
} /* namespace scoped_restore_tests */
} /* namespace selftests */
+void _initialize_scoped_restore_selftests ();
void
_initialize_scoped_restore_selftests ()
{
diff --git a/gdb/unittests/string_view-selftests.c b/gdb/unittests/string_view-selftests.c
index 49fc95b..a52419b 100644
--- a/gdb/unittests/string_view-selftests.c
+++ b/gdb/unittests/string_view-selftests.c
@@ -172,6 +172,7 @@ run_tests ()
#endif /* __cplusplus < 201703L */
+void _initialize_string_view_selftests ();
void
_initialize_string_view_selftests ()
{
diff --git a/gdb/unittests/style-selftests.c b/gdb/unittests/style-selftests.c
index 2cf6cf6..eeab40f 100644
--- a/gdb/unittests/style-selftests.c
+++ b/gdb/unittests/style-selftests.c
@@ -101,6 +101,7 @@ run_tests ()
} /* namespace style */
} /* namespace selftests */
+void _initialize_style_selftest ();
void
_initialize_style_selftest ()
{
diff --git a/gdb/unittests/tracepoint-selftests.c b/gdb/unittests/tracepoint-selftests.c
index 62172b6..63a4784 100644
--- a/gdb/unittests/tracepoint-selftests.c
+++ b/gdb/unittests/tracepoint-selftests.c
@@ -61,6 +61,7 @@ test_parse_static_tracepoint_marker_definition ()
} /* namespace tracepoint_tests */
} /* namespace selftests */
+void _initialize_tracepoint_selftests ();
void
_initialize_tracepoint_selftests ()
{
diff --git a/gdb/unittests/tui-selftests.c b/gdb/unittests/tui-selftests.c
index b2dffaf..6144e23 100644
--- a/gdb/unittests/tui-selftests.c
+++ b/gdb/unittests/tui-selftests.c
@@ -46,6 +46,7 @@ run_tests ()
#endif /* TUI */
+void _initialize_tui_selftest ();
void
_initialize_tui_selftest ()
{
diff --git a/gdb/unittests/unpack-selftests.c b/gdb/unittests/unpack-selftests.c
index 503412e..b02a796 100644
--- a/gdb/unittests/unpack-selftests.c
+++ b/gdb/unittests/unpack-selftests.c
@@ -53,6 +53,7 @@ unpack_field_as_long_tests (struct gdbarch *arch)
}
}
+void _initialize_unpack_selftests ();
void
_initialize_unpack_selftests ()
{
diff --git a/gdb/unittests/utils-selftests.c b/gdb/unittests/utils-selftests.c
index 2b59266..f6ea2b9 100644
--- a/gdb/unittests/utils-selftests.c
+++ b/gdb/unittests/utils-selftests.c
@@ -51,6 +51,7 @@ test_substitute_path_component ()
}
}
+void _initialize_utils_selftests ();
void
_initialize_utils_selftests ()
{
diff --git a/gdb/unittests/vec-utils-selftests.c b/gdb/unittests/vec-utils-selftests.c
index 027c121..38e817a 100644
--- a/gdb/unittests/vec-utils-selftests.c
+++ b/gdb/unittests/vec-utils-selftests.c
@@ -66,6 +66,7 @@ unordered_remove_tests ()
} /* namespace vector_utils_tests */
} /* amespace selftests */
+void _initialize_vec_utils_selftests ();
void
_initialize_vec_utils_selftests ()
{
diff --git a/gdb/unittests/xml-utils-selftests.c b/gdb/unittests/xml-utils-selftests.c
index 88e8dfa..421b28e 100644
--- a/gdb/unittests/xml-utils-selftests.c
+++ b/gdb/unittests/xml-utils-selftests.c
@@ -48,6 +48,7 @@ static void test_xml_escape_text_append ()
}
}
+void _initialize_xml_utils ();
void
_initialize_xml_utils ()
{