]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb: add ATTRIBUTE_NORETURN to remote_unpush_target
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 16 Jul 2024 18:03:27 +0000 (14:03 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 16 Jul 2024 18:03:27 +0000 (14:03 -0400)
My IDE (well, clangd) suggested this.  It doesn't hurt to have it.

Change-Id: If6001983c17dbed3dceebac3078c8deb12c04d6b

gdb/remote.c

index 188795d19035789c4c2c0e43cb92a09886a8459d..8a693df48183111c1b5a64b0a9d5a4e71fcde10d 100644 (file)
@@ -6150,7 +6150,7 @@ remote_unpush_target (remote_target *target)
   fileio_handles_invalidate_target (target);
 }
 
-static void
+static void ATTRIBUTE_NORETURN
 remote_unpush_and_throw (remote_target *target)
 {
   remote_unpush_target (target);