This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: complete command doesn't work for files...
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 1 Feb 2004 00:51:21 -0500
- Subject: Re: complete command doesn't work for files...
- References: <CAC0B9EB-EEE4-11D7-BEC8-00039379E320@apple.com> <20040119162247.GA9812@nevyn.them.org> <9924DAB4-4B96-11D8-A43A-000A277A8808@apple.com>
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) \