diff options
Diffstat (limited to 'gdb/run-on-main-thread.c')
-rw-r--r-- | gdb/run-on-main-thread.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/run-on-main-thread.c b/gdb/run-on-main-thread.c index 50efe07..30b0928 100644 --- a/gdb/run-on-main-thread.c +++ b/gdb/run-on-main-thread.c @@ -1,5 +1,5 @@ /* Run a function on the main thread - Copyright (C) 2019-2024 Free Software Foundation, Inc. + Copyright (C) 2019-2025 Free Software Foundation, Inc. This file is part of GDB. @@ -130,9 +130,7 @@ is_main_thread () #endif } -void _initialize_run_on_main_thread (); -void -_initialize_run_on_main_thread () +INIT_GDB_FILE (run_on_main_thread) { #if CXX_STD_THREAD /* The variable main_thread_id should be initialized when entering main, or |