Re: complete command doesn't work for files...

Daniel Jacobowitz
2004-02-01T05:51:23Z

On Tue, Jan 20, 2004 at 02:18:39PM -0800, Jim Ingham wrote:
> >2004-01-19 Daniel Jacobowitz <drow@mvista.com>
> >
> > * cli/cli-cmds.c: Include readline.h.
> > (complete_command): Pass the start of the last word to
> > complete_line.
> >
> >2004-01-19 Daniel Jacobowitz <drow@mvista.com>
> >
> > * gdb.base/completion.exp: Kill a stray backslash.
> >
> >2004-01-19 Jim Ingham <jingham@apple.com>
> >
> > * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
> > agrees with the result from sending a tab.

Checked in. And this, too.

--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer

2004-02-01 Daniel Jacobowitz <drow@mvista.com>

* Makefile.in (cli-cmds.o): Add $(readline_h).

Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.483
diff -u -p -r1.483 Makefile.in
--- Makefile.in 29 Jan 2004 21:54:22 -0000 1.483
+++ Makefile.in 1 Feb 2004 05:50:23 -0000
@@ -2543,7 +2543,7 @@ cli-cmds.o: $(srcdir)/cli/cli-cmds.c $(d
$(linespec_h) $(expression_h) $(frame_h) $(value_h) $(language_h) \
$(filenames_h) $(objfiles_h) $(source_h) $(disasm_h) $(ui_out_h) \
$(top_h) $(cli_decode_h) $(cli_script_h) $(cli_setshow_h) \
- $(cli_cmds_h)
+ $(cli_cmds_h) $(readline_h)
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-cmds.c
cli-decode.o: $(srcdir)/cli/cli-decode.c $(defs_h) $(symtab_h) \
$(gdb_regex_h) $(gdb_string_h) $(ui_out_h) $(cli_cmds_h) \