aboutsummaryrefslogtreecommitdiff
path: root/gdb/unittests/function-view-selftests.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/unittests/function-view-selftests.c')
-rw-r--r--gdb/unittests/function-view-selftests.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/unittests/function-view-selftests.c b/gdb/unittests/function-view-selftests.c
index 310f2ad..a899299 100644
--- a/gdb/unittests/function-view-selftests.c
+++ b/gdb/unittests/function-view-selftests.c
@@ -174,5 +174,6 @@ run_tests ()
void
_initialize_function_view_selftests ()
{
- register_self_test (selftests::function_view::run_tests);
+ selftests::register_test ("function_view",
+ selftests::function_view::run_tests);
}