diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/command.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f8f8416..e8a38be 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Mon Nov 20 14:29:39 2000 Andrew Cagney <cagney@b1.cygnus.com> + + * command.h (error_no_arg): Add noreturn attribute to declaration. + Fri Nov 17 16:07:23 2000 Andrew Cagney <cagney@b1.cygnus.com> * utils.c (xvasprintf, xasprintf): New functions. diff --git a/gdb/command.h b/gdb/command.h index ab678a2..2f2f6b8 100644 --- a/gdb/command.h +++ b/gdb/command.h @@ -347,7 +347,7 @@ extern void do_setshow_command (char *, int, struct cmd_list_element *); extern void cmd_show_list (struct cmd_list_element *, int, char *); -extern void error_no_arg (char *); +extern NORETURN void error_no_arg (char *) ATTR_NORETURN; extern void dont_repeat (void); |