aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-02-14 03:39:42 +0000
committerYao Qi <yao@codesourcery.com>2013-02-14 03:39:42 +0000
commit64580925383e991409429881711c96b0b70b1c3e (patch)
tree55946618cf2c179fa58173854b8a734ef2b8ff6b
parente5d374b12033c8f5aa839bec65e11c1bc84f4aae (diff)
downloadgdb-64580925383e991409429881711c96b0b70b1c3e.zip
gdb-64580925383e991409429881711c96b0b70b1c3e.tar.gz
gdb-64580925383e991409429881711c96b0b70b1c3e.tar.bz2
gdb/
* cli/cli-decode.c (help_cmd): Remove the declaration of "cmdlist". (help_all): Likewise.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/cli/cli-decode.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 60b7588..d08ffd8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2013-02-14 Yao Qi <yao@codesourcery.com>
+
+ * cli/cli-decode.c (help_cmd): Remove the declaration of
+ "cmdlist".
+ (help_all): Likewise.
+
2013-02-13 Pedro Alves <palves@redhat.com>
* amd64-linux-nat.c (update_debug_registers_callback):
diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c
index 08558bb..49ccef3 100644
--- a/gdb/cli/cli-decode.c
+++ b/gdb/cli/cli-decode.c
@@ -917,7 +917,6 @@ void
help_cmd (char *command, struct ui_file *stream)
{
struct cmd_list_element *c;
- extern struct cmd_list_element *cmdlist;
if (!command)
{
@@ -1049,7 +1048,6 @@ static void
help_all (struct ui_file *stream)
{
struct cmd_list_element *c;
- extern struct cmd_list_element *cmdlist;
int seen_unclassified = 0;
for (c = cmdlist; c; c = c->next)