diff options
Diffstat (limited to 'gdbserver')
-rw-r--r-- | gdbserver/gdbreplay.cc | 2 | ||||
-rw-r--r-- | gdbserver/server.cc | 2 | ||||
-rw-r--r-- | gdbserver/utils.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/gdbserver/gdbreplay.cc b/gdbserver/gdbreplay.cc index 0219e86..c2359e4 100644 --- a/gdbserver/gdbreplay.cc +++ b/gdbserver/gdbreplay.cc @@ -421,7 +421,7 @@ gdbreplay_usage (FILE *stream) /* Main function. This is called by the real "main" function, wrapped in a TRY_CATCH that handles any uncaught exceptions. */ -static void ATTRIBUTE_NORETURN +[[noreturn]] static void captured_main (int argc, char *argv[]) { FILE *fp; diff --git a/gdbserver/server.cc b/gdbserver/server.cc index 30d0517..87b2a26 100644 --- a/gdbserver/server.cc +++ b/gdbserver/server.cc @@ -4038,7 +4038,7 @@ test_memory_tagging_functions (void) /* Main function. This is called by the real "main" function, wrapped in a TRY_CATCH that handles any uncaught exceptions. */ -static void ATTRIBUTE_NORETURN +[[noreturn]] static void captured_main (int argc, char *argv[]) { int bad_attach; diff --git a/gdbserver/utils.cc b/gdbserver/utils.cc index 3023007..57fceb1 100644 --- a/gdbserver/utils.cc +++ b/gdbserver/utils.cc @@ -31,7 +31,7 @@ the filesystem of small embedded targets with core files. If in development mode however, abort, producing core files to help with debugging GDBserver. */ -static void ATTRIBUTE_NORETURN +[[noreturn]] static void abort_or_exit () { #ifdef DEVELOPMENT |