mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 15:18:37 +08:00
sim: callback: use ATTRIBUTE_NORETURN
This define is handled by ansidecl.h, so no need to duplicate effort.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2021-05-14 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
|
* callback.h (error): Replace __attribute__ with ATTRIBUTE_NORETURN.
|
||||||
|
|
||||||
2021-05-14 Mike Frysinger <vapier@gentoo.org>
|
2021-05-14 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
* callback.h: Delete va_start define check.
|
* callback.h: Delete va_start define check.
|
||||||
|
@ -121,11 +121,7 @@ struct host_callback_struct
|
|||||||
/* Print an error message and "exit".
|
/* Print an error message and "exit".
|
||||||
In the case of gdb "exiting" means doing a longjmp back to the main
|
In the case of gdb "exiting" means doing a longjmp back to the main
|
||||||
command loop. */
|
command loop. */
|
||||||
void (*error) (host_callback *, const char *, ...)
|
void (*error) (host_callback *, const char *, ...) ATTRIBUTE_NORETURN;
|
||||||
#ifdef __GNUC__
|
|
||||||
__attribute__ ((__noreturn__))
|
|
||||||
#endif
|
|
||||||
;
|
|
||||||
|
|
||||||
int last_errno; /* host format */
|
int last_errno; /* host format */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user