2001-04-03 David Mosberger <davidm@hpl.hp.com>
[deliverable/binutils-gdb.git] / gdb / top.c
index cb1b0edb0d0efba06546c1327953fe52eb079560..8cb66536f447b8f6b9fc42178ac39e8d79c74d82 100644 (file)
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -1,5 +1,6 @@
 /* Top level stuff for GDB, the GNU debugger.
-   Copyright 1986-2000 Free Software Foundation, Inc.
+   Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
+   1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -23,7 +24,7 @@
 #include "call-cmds.h"
 #include "symtab.h"
 #include "inferior.h"
-#include "signals.h"
+#include <signal.h>
 #include "target.h"
 #include "breakpoint.h"
 #include "gdbtypes.h"
@@ -2080,11 +2081,12 @@ ie. the number of previous commands to keep a record of.", &sethistlist);
   add_show_from_set (c, &showhistlist);
   c->function.sfunc = set_history_size_command;
 
-  add_show_from_set
-    (add_set_cmd ("filename", no_class, var_filename, (char *) &history_filename,
-                 "Set the filename in which to record the command history\n\
- (the list of previous commands of which a record is kept).", &sethistlist),
-     &showhistlist);
+  c = add_set_cmd ("filename", no_class, var_filename,
+                  (char *) &history_filename,
+                  "Set the filename in which to record the command history\n\
+ (the list of previous commands of which a record is kept).", &sethistlist);
+  c->completer = filename_completer;
+  add_show_from_set (c, &showhistlist);
 
   add_show_from_set
     (add_set_cmd ("confirm", class_support, var_boolean,
This page took 0.024689 seconds and 4 git commands to generate.