From: Mike Frysinger via Gdb-patches <gdb-patches@sourceware.org>
To: gdb-patches@sourceware.org
Subject: [PATCH 2/6] gdb: callback: use ATTRIBUTE_NORETURN
Date: Sat, 24 Apr 2021 14:41:40 -0400 [thread overview]
Message-ID: <20210424184144.23736-2-vapier@gentoo.org> (raw)
In-Reply-To: <20210424184144.23736-1-vapier@gentoo.org>
This define is handled by ansidecl.h, so no need to duplicate effort.
---
include/gdb/callback.h | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/include/gdb/callback.h b/include/gdb/callback.h
index af10486e43be..b981d94505d6 100644
--- a/include/gdb/callback.h
+++ b/include/gdb/callback.h
@@ -121,11 +121,7 @@ struct host_callback_struct
/* Print an error message and "exit".
In the case of gdb "exiting" means doing a longjmp back to the main
command loop. */
- void (*error) (host_callback *, const char *, ...)
-#ifdef __GNUC__
- __attribute__ ((__noreturn__))
-#endif
- ;
+ void (*error) (host_callback *, const char *, ...) ATTRIBUTE_NORETURN;
int last_errno; /* host format */
--
2.30.2
next prev parent reply other threads:[~2021-04-24 18:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-24 18:41 [PATCH 1/6] gdb: callback: always include necessary headers Mike Frysinger via Gdb-patches
2021-04-24 18:41 ` Mike Frysinger via Gdb-patches [this message]
2021-04-24 18:41 ` [PATCH 3/6] gdb: callback: inline PTR define Mike Frysinger via Gdb-patches
2021-04-24 18:41 ` [PATCH 4/6] sim: callback: inline wrap helper Mike Frysinger via Gdb-patches
2021-04-24 18:41 ` [PATCH 5/6] sim: callback: convert time interface to 64-bit Mike Frysinger via Gdb-patches
2021-04-24 21:11 ` Tom Tromey
2021-04-24 22:36 ` Mike Frysinger via Gdb-patches
2021-05-14 5:39 ` [PATCH 5/6 v2] " Mike Frysinger via Gdb-patches
2021-05-14 14:00 ` Tom Tromey
2021-04-24 18:41 ` [PATCH 6/6] sim: callback: convert FS interfaces " Mike Frysinger via Gdb-patches
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=20210424184144.23736-2-vapier@gentoo.org \
--to=gdb-patches@sourceware.org \
--cc=vapier@gentoo.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