Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Subject: [pushed] [gdbsupport] Remove duplicate [[noreturn]] on throw_forced_quit
Date: Fri, 20 Nov 2026 11:10:20 +0100	[thread overview]
Message-ID: <20261120101020.893360-1-tdevries@suse.de> (raw)

The declaration for throw_forced_quit contains a duplicate [[noreturn]]:
...
[[noreturn]] [[noreturn]] extern void throw_forced_quit (const char *fmt, ...)
...

Remove it.
---
 gdbsupport/common-exceptions.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdbsupport/common-exceptions.h b/gdbsupport/common-exceptions.h
index 058260b5f27..442ead090f9 100644
--- a/gdbsupport/common-exceptions.h
+++ b/gdbsupport/common-exceptions.h
@@ -372,7 +372,7 @@ struct gdb_quit_bad_alloc
   ATTRIBUTE_PRINTF (2, 3);
 [[noreturn]] extern void throw_quit (const char *fmt, ...)
   ATTRIBUTE_PRINTF (1, 2);
-[[noreturn]] [[noreturn]] extern void throw_forced_quit (const char *fmt, ...)
+[[noreturn]] extern void throw_forced_quit (const char *fmt, ...)
   ATTRIBUTE_PRINTF (1, 2);
 
 #endif /* GDBSUPPORT_COMMON_EXCEPTIONS_H */

base-commit: 1f8cf64b0e4a356be3b105b5ade22c5b17a846cb
-- 
2.51.0


                 reply	other threads:[~2026-11-20 10:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261120101020.893360-1-tdevries@suse.de \
    --to=tdevries@suse.de \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox