OSDN Git Service

* cli/cli-cmds.c (compare_strings): New function.
authortromey <tromey>
Mon, 18 Feb 2002 01:12:37 +0000 (01:12 +0000)
committertromey <tromey>
Mon, 18 Feb 2002 01:12:37 +0000 (01:12 +0000)
commit89bd619cc7a1bd4b0bdb5d7b63d7c1f720ca3494
treecd2fbe59c68801dddf6229aca4487fef1c2f19b9
parent15aefbda7b85cb5adc9c56137f507b3a71a08767
* cli/cli-cmds.c (compare_strings): New function.
(complete_command): Only print each unique item once.
* completer.h (complete_line): Declare.
* completer.c (complete_line): New function.
(line_completion_function): Use it.
gdb/ChangeLog
gdb/cli/cli-cmds.c
gdb/completer.c
gdb/completer.h