summaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2001-07-15 18:57:06 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2001-07-15 18:57:06 +0000
commit23140485f33c70237fe0705f74246e03a06e9ce0 (patch)
treec9b4c29960b9305db9f2fd3f8371535d8d37be38 /gdb/top.c
parenta50a1418c6efa6f67169a6a62a16724da5028051 (diff)
downloadgdb-23140485f33c70237fe0705f74246e03a06e9ce0.tar.gz
2001-07-15 Elena Zannoni <ezannoni@redhat.com>
* top.c (readline_line_completion_function, noop_completer): Move from here... * completer.c (readline_line_completion_function, noop_completer): ...to here. * gdbcmd.h (readline_line_completion_function, noop_completer): Move declarations from here... * completer.h (readline_line_completion_function, noop_completer): ...to here. * corefile.c: Include completer.h. * source.c: Ditto. * symfile.c: Ditto. * Makefile.in: Update dependencies.
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/gdb/top.c b/gdb/top.c
index 2398f23a08a..3ebff3373a6 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -95,8 +95,6 @@ static void init_signals (void);
static void stop_sig (int);
#endif
-static char *readline_line_completion_function (char *, int);
-
static void init_main (void);
static void float_handler (int);
@@ -1035,24 +1033,6 @@ static int write_history_p;
static int history_size;
static char *history_filename;
-/* Functions that are used as part of the fancy command line editing. */
-
-/* This can be used for functions which don't want to complete on symbols
- but don't want to complete on anything else either. */
-/* ARGSUSED */
-char **
-noop_completer (char *text, char *prefix)
-{
- return NULL;
-}
-
-/* Line completion interface function for readline. */
-
-static char *
-readline_line_completion_function (char *text, int matches)
-{
- return line_completion_function (text, matches, rl_line_buffer, rl_point);
-}
#ifdef STOP_SIGNAL
static void