diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2009-01-06 23:38:44 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2009-01-06 23:38:44 +0000 |
commit | 98d47b2d0d89372862df94dcc8c4a42e9b49d4a2 (patch) | |
tree | 6fbaaa49ca297e4ffe5efcec9be4b8ab1ef63c1e /include/gdb/callback.h | |
parent | 952801c27e33255f3a71d84d38281c1bb42600f2 (diff) | |
download | cygnal-98d47b2d0d89372862df94dcc8c4a42e9b49d4a2.tar.gz cygnal-98d47b2d0d89372862df94dcc8c4a42e9b49d4a2.tar.bz2 cygnal-98d47b2d0d89372862df94dcc8c4a42e9b49d4a2.zip |
* callback.h (struct host_callback_struct): Mark member error as
pointing to a noreturn function.
Diffstat (limited to 'include/gdb/callback.h')
-rw-r--r-- | include/gdb/callback.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/gdb/callback.h b/include/gdb/callback.h index 5ae1d00c3..5ac48cef6 100644 --- a/include/gdb/callback.h +++ b/include/gdb/callback.h @@ -124,7 +124,11 @@ 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) PARAMS ((host_callback *, const char *, ...)); + void (*error) PARAMS ((host_callback *, const char *, ...)) +#ifdef __GNUC__ + __attribute__ ((__noreturn__)) +#endif + ; int last_errno; /* host format */ |