diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2001-07-21 21:14:05 +0000 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2001-07-21 21:14:05 +0000 |
commit | a566628d7992b62819f9cfff13baea83f4b1ab2e (patch) | |
tree | 6670145f59a663947073dabf33bb3d7970d8421e /mixutils/mixvm_command.c | |
parent | 1e01128fa17c6ee41fe5c5c9891dfe4b3f0bbd6c (diff) | |
download | mdk-a566628d7992b62819f9cfff13baea83f4b1ab2e.tar.gz mdk-a566628d7992b62819f9cfff13baea83f4b1ab2e.tar.bz2 |
mem and register conditional breakpoints
Diffstat (limited to 'mixutils/mixvm_command.c')
-rw-r--r-- | mixutils/mixvm_command.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mixutils/mixvm_command.c b/mixutils/mixvm_command.c index b8bef53..d13e5ac 100644 --- a/mixutils/mixvm_command.c +++ b/mixutils/mixvm_command.c @@ -76,7 +76,7 @@ static const char *mix_commands_[ALL_COMMANDS_NO_] = {NULL}; #ifdef HAVE_LIBREADLINE /* readline functions */ static char * -mixvm_cmd_generator_ (char *text, int state); +mixvm_cmd_generator_ (const char *text, int state); /* Attempt to complete on the contents of TEXT. START and END bound the @@ -95,7 +95,7 @@ mixvm_cmd_completion_ (char *text, int start, int end) to complete. Otherwise it is the name of a file in the current directory. */ if (start == 0) - matches = completion_matches (text, mixvm_cmd_generator_); + matches = rl_completion_matches (text, mixvm_cmd_generator_); return (matches); } @@ -104,7 +104,7 @@ mixvm_cmd_completion_ (char *text, int start, int end) to start from scratch; without any state (i.e. STATE == 0), then we start at the top of the list. */ static char * -mixvm_cmd_generator_ (char *text, int state) +mixvm_cmd_generator_ (const char *text, int state) { static int list_index, len; const char *name; |