X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=include%2Fgdb%2Fcallback.h;h=38a148bcb52cb24275830b32d658fc21b1d08c15;hb=b4b5365ec3be9bb95a1f9771982195e42b46c1f3;hp=5ae1d00c30aaccb838a47849a2df25eee3196769;hpb=92560ac1980965cfe50d79f68246f0b4b339099f;p=pf3gnuchains%2Fpf3gnuchains4x.git diff --git a/include/gdb/callback.h b/include/gdb/callback.h index 5ae1d00c30..38a148bcb5 100644 --- a/include/gdb/callback.h +++ b/include/gdb/callback.h @@ -1,5 +1,5 @@ /* Remote target system call callback support. - Copyright 1997, 2007, 2008 Free Software Foundation, Inc. + Copyright 1997, 2007, 2008, 2009 Free Software Foundation, Inc. Contributed by Cygnus Solutions. This file is part of GDB. @@ -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 */