aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-11-20 03:37:09 +0000
committerAndrew Cagney <cagney@redhat.com>2000-11-20 03:37:09 +0000
commitc3eb0c00b3c68f068dd608aa5b819bb570b522d9 (patch)
treece25833aa160ee32e6514745c391438d2794d2ef /gdb
parent76995688e80b6e1b23a39c86325c09de446bc392 (diff)
downloadgdb-c3eb0c00b3c68f068dd608aa5b819bb570b522d9.zip
gdb-c3eb0c00b3c68f068dd608aa5b819bb570b522d9.tar.gz
gdb-c3eb0c00b3c68f068dd608aa5b819bb570b522d9.tar.bz2
Mark error_no_arg() as no-return.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/command.h2
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);