This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/12908] New: Method complete of gdb.Command is nevercalled
- From: "krzykwas at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 17 Jun 2011 14:13:50 +0000
- Subject: [Bug python/12908] New: Method complete of gdb.Command is nevercalled
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=12908
Summary: Method complete of gdb.Command is never called
Product: gdb
Version: archer
Status: NEW
Severity: normal
Priority: P2
Component: python
AssignedTo: unassigned@sourceware.org
ReportedBy: krzykwas@gmail.com
Created attachment 5801
--> http://sourceware.org/bugzilla/attachment.cgi?id=5801
Implementation of channel-run command.
I want to customize completion of my own python-implemented gdb command. For
that I have followed the documentation and implemented a method âcompleteâ.
Upon being executed, that method should print âtestâ to stdout, however this
message never appears, so âcompleteâ is never called. I have attached the class
implementing the problematic command. Full code of my project is available in a
fossil repository here:
http://chiselapp.com/user/krzykwas/repository/nredebug1/home
To reproduce the failure:
1. run gdb
2. source /path/to/ChannelRun.py
3. enter âchannel-runâ and press <TAB>
Expected behaviour: message âtestâ appears.
Observed bahaviour: nothing happens.
--
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.