Re: [Cgdb-users] TAB completion
Brought to you by:
bobbybrasko,
crouchingturbo
From: Bob R. <bo...@br...> - 2003-11-17 06:49:06
|
> > I have fixed the bug in cvs. However, there is no test case yet. I will > > look into adding the testcase when I get a little more time, probably > > this week. > > > > If you really like the tab completion feature, check out the latest cvs. >=20 > Thank you, but TAB completion still does not work for me with CVS > version. Below are the commands I used to install cgdb. The way you are installing it seems fine. I don't know why CVS isn't working for you. The reason tab completion was broken was just a simple error. I rewrote the interface to the annotate two tgdb code and I called the function a2_command_callback instead of a2_completion_callback. You should check to see if you have this patch in your CVS checkout. This should make tab completion work once again. You want to make sure that a2_completion_callback is there and not a2_command_callback. $ cvs diff -wu -r 1.4 -r 1.5 tgdb_client_interface.c=20 Index: tgdb_client_interface.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/cgdb/cgdb/tgdb/tgdb-base/src/tgdb_client_interface.c,v retrieving revision 1.4 retrieving revision 1.5 diff -w -u -r1.4 -r1.5 --- tgdb_client_interface.c 24 Oct 2003 01:10:40 -0000 1.4 +++ tgdb_client_interface.c 16 Nov 2003 14:34:41 -0000 1.5 @@ -130,7 +130,7 @@ /* tgdb_client_change_debugger_prompt */ a2_change_prompt, /* tgdb_client_completion_callback */ - a2_command_callback, + a2_completion_callback, /* tgdb_client_return_command*/ a2_return_client_command, /* tgdb_client_modify_breakpoint */ Doing a checkout of CVS should have given you this change. If it didn't please let us know. Maybe there is something wrong with our CVS setup. Thanks, Bob Rossi |