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 | 3114b7c719e74e961766a41b335f50dac14d9e79 (patch) | |
tree | 7c43991f350af105a2af6b4e6a920c62d6451f3e /mixutils | |
parent | b5e6f0dc1f93f672ba29a364b4d9244d8639d482 (diff) | |
download | mdk-3114b7c719e74e961766a41b335f50dac14d9e79.tar.gz mdk-3114b7c719e74e961766a41b335f50dac14d9e79.tar.bz2 |
mem and register conditional breakpoints
Diffstat (limited to 'mixutils')
-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; |