aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2024-07-16 14:03:27 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2024-07-16 14:03:27 -0400
commita7a430a68c2bb832170389fdb1e17e4986cadfec (patch)
treec416b879278fa68f78972dd143c6097a200d8073 /gdb
parentb6a5604da00b0438a0fb9b93e8713b14f323b6e4 (diff)
downloadgdb-a7a430a68c2bb832170389fdb1e17e4986cadfec.zip
gdb-a7a430a68c2bb832170389fdb1e17e4986cadfec.tar.gz
gdb-a7a430a68c2bb832170389fdb1e17e4986cadfec.tar.bz2
gdb: add ATTRIBUTE_NORETURN to remote_unpush_target
My IDE (well, clangd) suggested this. It doesn't hurt to have it. Change-Id: If6001983c17dbed3dceebac3078c8deb12c04d6b
Diffstat (limited to 'gdb')
-rw-r--r--gdb/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 188795d..8a693df 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -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);