This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/12908] Method complete of gdb.Command is never called
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 17 Jun 2011 15:42:12 +0000
- Subject: [Bug python/12908] Method complete of gdb.Command is never called
- Auto-submitted: auto-generated
- References: <bug-12908-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12908
Tom Tromey <tromey at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |tromey at redhat dot com
Resolution| |INVALID
--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2011-06-17 15:41:43 UTC ---
The problem is in your class's __init__ method.
It is passing "False" as the "completer" argument.
When I change it to this it works:
super(ChannelRun, self).__init__("channel-run", gdb.COMMAND_SUPPORT, prefix =
False)
... but really you don't need that last argument at all.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.