diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2002-08-25 23:47:37 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2002-08-25 23:47:37 +0000 |
commit | 72daee80beadda8c99b66f2a385362b0b09d8bc3 (patch) | |
tree | 26e684542946e6f1b62ecb2ad1db4eba46fbf40c | |
parent | bc85dad1697a4e0ec3113a828c7933892f231816 (diff) | |
download | gdb-72daee80beadda8c99b66f2a385362b0b09d8bc3.zip gdb-72daee80beadda8c99b66f2a385362b0b09d8bc3.tar.gz gdb-72daee80beadda8c99b66f2a385362b0b09d8bc3.tar.bz2 |
2002-08-25 Elena Zannoni <ezannoni@redhat.com>
* cli/cli-cmds.c: Include readline/tilde.h.
* cli/cli-setshow.c: Ditto.
* defs.h: Don't declare tilde_expand anymore, since readline
exports it.
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/cli/cli-cmds.c | 1 | ||||
-rw-r--r-- | gdb/cli/cli-setshow.c | 1 | ||||
-rw-r--r-- | gdb/defs.h | 4 |
4 files changed, 9 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 25a0285..3cd9a9a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2002-08-25 Elena Zannoni <ezannoni@redhat.com> + + * cli/cli-cmds.c: Include readline/tilde.h. + * cli/cli-setshow.c: Ditto. + * defs.h: Don't declare tilde_expand anymore, since readline + exports it. + 2002-08-24 Mark Kettenis <kettenis@gnu.org> * valprint.c (print_longest) [CC_HAS_LONG_LONG && diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index 799e1f4..3d947ce 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -19,6 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include <readline/tilde.h> #include "defs.h" #include "completer.h" #include "target.h" /* For baud_rate, remote_debug and remote_timeout */ diff --git a/gdb/cli/cli-setshow.c b/gdb/cli/cli-setshow.c index 44b0b4e..efd334f 100644 --- a/gdb/cli/cli-setshow.c +++ b/gdb/cli/cli-setshow.c @@ -17,6 +17,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include <readline/tilde.h> #include "defs.h" #include "value.h" #include <ctype.h> @@ -614,10 +614,6 @@ enum lval_type struct frame_info; -/* From readline (but not in any readline .h files). */ - -extern char *tilde_expand (char *); - /* Control types for commands */ enum misc_command_type |