aboutsummaryrefslogtreecommitdiff
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
commitd75b5104df76c05fc85594425d35c30959eec84d (patch)
tree702465627c1a5e28b250c9ddea323db8872140e0 /gdb/top.c
parented8fee27bc6b8daee958eff4ccb0d63d8984d41d (diff)
downloadbinutils-d75b5104df76c05fc85594425d35c30959eec84d.zip
binutils-d75b5104df76c05fc85594425d35c30959eec84d.tar.gz
binutils-d75b5104df76c05fc85594425d35c30959eec84d.tar.bz2
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 2398f23..3ebff33 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