|
GDB (xrefs)
|
Namespaces | |
| array_view_tests | |
| function_view | |
| gdb_environ_tests | |
| lookup_name | |
| memrange_tests | |
| offset_type | |
| optional | |
| ptid | |
| rsp_low | |
| scoped_restore_tests | |
| xml_utils | |
Classes | |
| struct | selftest |
| struct | simple_selftest |
Typedefs | |
| typedef void | for_each_selftest_ftype(const std::string &name) |
| typedef std::string() | format_func(const char *fmt,...) ATTRIBUTE_PRINTF(1 |
| typedef std::string() static void | test_format_func(format_func *func) |
| typedef void() | string_appendf_func(std::string &str, const char *fmt,...) ATTRIBUTE_PRINTF(2 |
| typedef void() static void | test_appendf_func(string_appendf_func *func) |
Functions | |
| void | register_test (const std::string &name, selftest *test) |
| void | register_test (const std::string &name, self_test_function *function) |
| void | run_tests (const char *filter) |
| void | for_each_selftest (for_each_selftest_ftype func) |
| void | reset () |
| void | register_test_foreach_arch (const std::string &name, self_test_foreach_arch_function *function) |
| static void | string_printf_tests () |
| static std::string | ATTRIBUTE_PRINTF (1, 2) |
| static void | string_vprintf_tests () |
| static void | ATTRIBUTE_PRINTF (2, 3) |
| static void | string_appendf_tests () |
| static void | string_vappendf_tests () |
Variables | |
| static std::map< std::string, std::unique_ptr< selftest > > | tests |
| static std::vector< std::pair< const char *, const target_desc * > > | xml_tdesc |
| typedef void selftests::for_each_selftest_ftype(const std::string &name) |
Definition at line 58 of file selftest.h.
| typedef std::string() selftests::format_func(const char *fmt,...) ATTRIBUTE_PRINTF(1 |
Definition at line 28 of file common-utils-selftests.c.
| typedef void() selftests::string_appendf_func(std::string &str, const char *fmt,...) ATTRIBUTE_PRINTF(2 |
Definition at line 83 of file common-utils-selftests.c.
|
static |
Definition at line 87 of file common-utils-selftests.c.
|
static |
Definition at line 32 of file common-utils-selftests.c.
|
static |
Definition at line 63 of file common-utils-selftests.c.
References string, and string_vprintf().
|
static |
Definition at line 104 of file common-utils-selftests.c.
References string_vappendf().
| void selftests::for_each_selftest | ( | for_each_selftest_ftype | func | ) |
Definition at line 106 of file selftest.c.
Referenced by maintenance_info_selftests().
| void selftests::register_test | ( | const std::string & | name, |
| selftest * | test | ||
| ) |
Definition at line 52 of file selftest.c.
References gdb_assert, name, assign_1::test(), and tests.
Referenced by _initialize_aarch64_tdep(), _initialize_arm_tdep(), _initialize_array_view_selftests(), _initialize_common_utils_selftests(), _initialize_cp_support(), _initialize_dwarf2_read(), _initialize_dwarf2loc(), _initialize_environ_selftests(), _initialize_findvar(), _initialize_function_view_selftests(), _initialize_lookup_name_info_selftests(), _initialize_memrange_selftests(), _initialize_offset_type_selftests(), _initialize_producer(), _initialize_regcache(), _initialize_rsp_low_selftests(), _initialize_rust_exp(), _initialize_scoped_restore_selftests(), _initialize_symfile(), _initialize_utils(), _initialize_xml_utils(), and register_test().
| void selftests::register_test | ( | const std::string & | name, |
| self_test_function * | function | ||
| ) |
Definition at line 63 of file selftest.c.
References name, and register_test().
| void selftests::register_test_foreach_arch | ( | const std::string & | name, |
| self_test_foreach_arch_function * | function | ||
| ) |
| void selftests::reset | ( | ) |
Referenced by mi_cmd_env_dir(), mi_cmd_env_path(), run_tests(), and assign_7::test().
| void selftests::run_tests | ( | const char * | filter | ) |
Definition at line 71 of file selftest.c.
References _, CATCH, debug_printf(), END_CATCH, name, reset(), RETURN_MASK_ERROR, string, assign_1::test(), tests, and TRY.
Referenced by maintenance_selftest().
|
static |
Definition at line 115 of file common-utils-selftests.c.
References string_appendf().
Referenced by _initialize_common_utils_selftests().
|
static |
Definition at line 58 of file common-utils-selftests.c.
References string_printf().
Referenced by _initialize_common_utils_selftests().
|
static |
Definition at line 121 of file common-utils-selftests.c.
Referenced by _initialize_common_utils_selftests().
|
static |
Definition at line 75 of file common-utils-selftests.c.
Referenced by _initialize_common_utils_selftests().
|
static |
Definition at line 31 of file selftest.c.
Referenced by for_each_selftest(), register_test(), and run_tests().
|
static |
Definition at line 2198 of file target-descriptions.c.
Referenced by maintenance_check_xml_descriptions().
1.8.14