diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2001-07-15 18:57:06 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2001-07-15 18:57:06 +0000 |
commit | 23140485f33c70237fe0705f74246e03a06e9ce0 (patch) | |
tree | c9b4c29960b9305db9f2fd3f8371535d8d37be38 /gdb/top.c | |
parent | a50a1418c6efa6f67169a6a62a16724da5028051 (diff) | |
download | gdb-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.c | 20 |
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 |